with one click
search-first
研究优先于编码的工作流程。在编写自定义代码之前,搜索现有的工具、库和模式。调用研究员代理。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
研究优先于编码的工作流程。在编写自定义代码之前,搜索现有的工具、库和模式。调用研究员代理。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | search-first |
| description | 研究优先于编码的工作流程。在编写自定义代码之前,搜索现有的工具、库和模式。调用研究员代理。 |
| origin | ECC |
系统化“在实现之前先寻找现有解决方案”的工作流程。
在以下情况使用此技能:
┌─────────────────────────────────────────────┐
│ 1. 需求分析 │
│ 确定所需功能 │
│ 识别语言/框架限制 │
├─────────────────────────────────────────────┤
│ 2. 并行搜索(研究员代理) │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ npm / │ │ MCP / │ │ GitHub / │ │
│ │ PyPI │ │ 技能 │ │ 网络 │ │
│ └──────────┘ └──────────┘ └──────────┘ │
├─────────────────────────────────────────────┤
│ 3. 评估 │
│ 对候选方案进行评分(功能、维护、 │
│ 社区、文档、许可证、依赖) │
├─────────────────────────────────────────────┤
│ 4. 决策 │
│ ┌─────────┐ ┌──────────┐ ┌─────────┐ │
│ │ 采用 │ │ 扩展 │ │ 构建 │ │
│ │ 原样 │ │ /包装 │ │ 定制 │ │
│ └─────────┘ └──────────┘ └─────────┘ │
├─────────────────────────────────────────────┤
│ 5. 实施 │
│ 安装包 / 配置 MCP / │
│ 编写最小化自定义代码 │
└─────────────────────────────────────────────┘
| 信号 | 行动 |
|---|---|
| 完全匹配,维护良好,MIT/Apache 许可证 | 采纳 — 直接安装并使用 |
| 部分匹配,基础良好 | 扩展 — 安装 + 编写薄封装层 |
| 多个弱匹配 | 组合 — 组合 2-3 个小包 |
| 未找到合适的 | 构建 — 编写自定义代码,但需基于研究 |
在编写实用程序或添加功能之前,在脑中过一遍:
rg~/.claude/settings.json 并进行搜索~/.claude/skills/对于非平凡的功能,启动研究员代理:
任务(子代理类型="通用型",提示="
研究现有工具用于:[描述]
语言/框架:[语言]
约束:[任何]
搜索:npm/PyPI、MCP 服务器、Claude Code 技能、GitHub
返回:结构化对比与推荐
")
eslint, ruff, textlint, markdownlintprettier, black, gofmtjest, pytest, go testhusky, lint-staged, pre-commitunstructured, pdfplumber, mammothhttpx (Python), ky/got (Node)zod (TS), pydantic (Python)remark, unified, markdown-itsharp, imagemin规划器应在阶段 1(架构评审)之前调用研究员:
架构师应向研究员咨询:
结合进行渐进式发现:
需求:检查 Markdown 文件中的失效链接
搜索:npm "markdown dead link checker"
发现:textlint-rule-no-dead-link(评分:9/10)
行动:采纳 — npm install textlint-rule-no-dead-link
结果:无需自定义代码,经过实战检验的解决方案
需求:具备重试和超时处理能力的弹性 HTTP 客户端
搜索:npm "http client retry"、PyPI "httpx retry"
发现:got(Node)带重试插件、httpx(Python)带内置重试功能
行动:采用——直接使用 got/httpx 并配置重试
结果:零定制代码,生产验证的库
需求:根据模式验证项目配置文件
搜索:npm "config linter schema"、"json schema validator cli"
发现:ajv-cli(评分:8/10)
操作:采用 + 扩展 —— 安装 ajv-cli,编写项目特定的模式
结果:1 个包 + 1 个模式文件,无需自定义验证逻辑
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination.
基于本能的学习系统,通过钩子观察会话,创建带置信度评分的原子本能,并将其进化为技能/命令/代理。v2.1版本增加了项目范围的本能,以防止跨项目污染。
任意の自動コンパクションではなく、タスクフェーズを通じてコンテキストを保持するための論理的な間隔での手動コンパクションを提案します。
임의의 자동 컴팩션 대신 논리적 간격에서 수동 컨텍스트 압축을 제안하여 작업 단계를 통해 컨텍스트를 보존합니다.
建议在逻辑间隔处手动压缩上下文,以在任务阶段中保留上下文,而非任意的自动压缩。
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.