search-first

研究优先于编码的工作流程。在编写自定义代码之前,搜索现有的工具、库和模式。调用研究员代理。

Content Preview
---
name: search-first
description: 研究优先于编码的工作流程。在编写自定义代码之前,搜索现有的工具、库和模式。调用研究员代理。
origin: ECC
---

# /search-first — 编码前先研究

系统化“在实现之前先寻找现有解决方案”的工作流程。

## 触发时机

在以下情况使用此技能:

* 开始一项很可能已有解决方案的新功能
* 添加依赖项或集成
* 用户要求“添加 X 功能”而你准备开始编写代码
* 在创建新的实用程序、助手或抽象之前

## 工作流程

```
┌─────────────────────────────────────────────┐
│  1. NEED ANALYSIS                           │
│     Define what functionality is needed      │
│     Identify language/framework constraints  │
├────────────────────────────────────────
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/search-first.md \
  https://raw.githubusercontent.com/affaan-m/everything-claude-code/main/docs/zh-CN/skills/search-first/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/affaan-m/everything-claude-code

Then reference at docs/zh-CN/skills/search-first/SKILL.md

Related Skills