skill-researcher

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Skill Researcher

Skill Researcher

Overview

概述

skill-researcher provides systematic research operations for gathering information from multiple sources. It enables comprehensive exploration of technologies, patterns, and best practices across Web search, MCP servers, GitHub repositories, and official documentation.
Purpose: Research and gather knowledge for informed skill development
Pattern: Task-based (5 independent research operations)
Key Benefit: Comprehensive, multi-source research that uncovers patterns, examples, and best practices
skill-researcher 提供系统化的研究操作,可从多源收集信息。它支持通过网页搜索、MCP服务器、GitHub仓库及官方文档,全面探索技术、模式与最佳实践。
用途:为技能开发调研并收集知识,助力明智决策
模式:任务驱动型(包含5项独立研究操作)
核心优势:多源综合研究,可发掘模式、示例与最佳实践

When to Use

适用场景

Use skill-researcher when:
  • Starting a new skill (research domain, patterns, examples)
  • Exploring unfamiliar technology or framework
  • Looking for real-world examples and patterns
  • Gathering requirements from multiple sources
  • Validating approaches against community practices
  • Discovering MCP servers for integration
  • Finding official documentation and specifications
在以下场景使用 skill-researcher:
  • 启动新技能开发(调研领域、模式、示例)
  • 探索陌生技术或框架
  • 寻找真实场景示例与模式
  • 从多源收集需求
  • 对照社区实践验证方案
  • 发掘可集成的MCP服务器
  • 查找官方文档与技术规范

Prerequisites

前置条件

Before conducting research:
  • Clear research goal: Know what you're trying to discover
  • Research questions: Specific questions to answer
  • Source selection: Which sources are most relevant
  • Synthesis plan: How findings will be combined
开展研究前需满足:
  • 明确的研究目标:清楚要探索的内容
  • 具体的研究问题:需解答的针对性问题
  • 数据源选择:确定最相关的信息来源
  • 成果整合计划:规划如何整合研究发现

Research Operations

研究操作

Operation 1: Web Search Research

操作1:网页搜索调研

Conduct targeted web searches to discover current best practices, recent developments, and community knowledge.
When to Use:
  • Researching current best practices (2024-2025)
  • Finding recent blog posts and tutorials
  • Discovering community discussions
  • Locating official announcements
  • Comparing different approaches
Prerequisites:
  • Clear search query (specific, targeted)
  • Knowledge of what you're looking for
  • Ability to evaluate source credibility
Steps:
  1. Formulate Search Query:
    • Use specific technical terms
    • Include year for recent results (2024, 2025)
    • Add qualifiers: "best practices", "tutorial", "guide", "documentation"
    • Combine terms strategically
    Example queries:
    "Claude Code skills" best practices 2025
    "MCP server" development guide
    "progressive disclosure" documentation pattern
  2. Execute Search:
    • Use WebSearch tool with formulated query
    • Review returned results for relevance
    • Note source credibility (official docs > blog posts > forums)
  3. Extract Key Information:
    • Identify patterns mentioned across multiple sources
    • Note specific techniques or approaches
    • Capture code examples
    • Record URLs for reference
  4. Evaluate Credibility:
    • Official documentation: Highest credibility
    • Established tech blogs: High credibility
    • GitHub repos with activity: Medium-high credibility
    • Forums/discussions: Medium credibility (verify)
    • Personal blogs: Lower credibility (verify against other sources)
  5. Document Findings:
    • Summarize key points
    • Note sources (URLs)
    • Highlight patterns across sources
    • Identify areas needing deeper research
Example:
markdown
Research Goal: Best practices for Claude Code skill organization

Search Query: "Claude Code skills" progressive disclosure 2025

Findings:
1. Progressive disclosure pattern (from official Anthropic docs):
   - SKILL.md: Main entry, <5000 words
   - references/: Detailed guides, on-demand
   - scripts/: Automation utilities

2. YAML frontmatter requirements (from skill-creator):
   - name: hyphen-case
   - description: with "Use when" triggers

3. Community patterns (from 40+ skills analyzed):
   - Workflow-based: 45% of skills
   - Task-based: 30% of skills
   - Reference: 15% of skills
   - Capabilities: 10% of skills

Sources:
- https://docs.claude.com/en/docs/claude-code/...
- https://github.com/anthropics/anthropic-skills/...
Expected Outcome:
  • Comprehensive findings document
  • Multiple credible sources cited
  • Patterns identified across sources
  • Specific examples captured
  • Areas for deeper research noted
Validation:
  • Search query was specific and targeted
  • Multiple sources consulted (minimum 3-5)
  • Source credibility evaluated
  • Key patterns identified and documented
  • URLs/references captured for verification
Common Issues:
  • Issue: Search too broad, overwhelming results
    • Solution: Add specific technical terms, year constraints
  • Issue: Conflicting information across sources
    • Solution: Prioritize official docs, look for consensus patterns
  • Issue: Outdated information
    • Solution: Filter by date, search for "2024" or "2025"
Tips for Effective Web Search:
  • Start broad, then narrow based on initial findings
  • Use quotes for exact phrases: "progressive disclosure"
  • Combine terms: "Claude Code" + "best practices"
  • Include current year for recent content
  • Check multiple page results, not just first one

开展定向网页搜索,发掘当前最佳实践、最新进展与社区知识。
适用场景
  • 调研当前最佳实践(2024-2025年)
  • 查找最新博客文章与教程
  • 发掘社区讨论内容
  • 定位官方公告
  • 对比不同技术方案
前置条件
  • 明确的搜索查询词(具体、定向)
  • 清楚自身查找目标
  • 具备评估信息源可信度的能力
步骤
  1. 制定搜索查询词
    • 使用具体技术术语
    • 加入年份限定获取最新结果(2024、2025)
    • 添加限定词:"best practices"、"tutorial"、"guide"、"documentation"
    • 策略性组合术语
    示例查询:
    "Claude Code skills" best practices 2025
    "MCP server" development guide
    "progressive disclosure" documentation pattern
  2. 执行搜索
    • 使用WebSearch工具执行查询
    • 筛选相关搜索结果
    • 标注信息源可信度(官方文档 > 博客文章 > 论坛)
  3. 提取关键信息
    • 识别多源提及的模式
    • 记录具体技术或方案
    • 捕获代码示例
    • 保存参考URL
  4. 评估可信度
    • 官方文档:可信度最高
    • 知名技术博客:可信度高
    • 活跃GitHub仓库:可信度中高
    • 论坛/讨论内容:可信度中等(需验证)
    • 个人博客:可信度较低(需交叉验证)
  5. 记录研究发现
    • 总结核心要点
    • 标注信息源(URL)
    • 突出多源共通模式
    • 标记需深入调研的领域
示例
markdown
研究目标:Claude Code技能组织的最佳实践

搜索查询:"Claude Code skills" progressive disclosure 2025

研究发现:
1. 渐进式披露模式(来自Anthropic官方文档):
   - SKILL.md:主入口文件,字数<5000
   - references/:详细指南,按需访问
   - scripts/:自动化工具

2. YAML前置元数据要求(来自skill-creator):
   - name:连字符命名格式
   - description:需包含"Use when"触发词

3. 社区模式(分析40+个技能得出):
   - 工作流驱动型:45%的技能采用
   - 任务驱动型:30%的技能采用
   - 参考型:15%的技能采用
   - 能力型:10%的技能采用

信息源:
- https://docs.claude.com/en/docs/claude-code/...
- https://github.com/anthropics/anthropic-skills/...
预期成果
  • 全面的研究发现文档
  • 引用多个可信信息源
  • 识别多源共通模式
  • 捕获具体示例
  • 标记需深入调研的领域
验证清单
  • 搜索查询词具体且定向
  • 咨询了多个信息源(至少3-5个)
  • 评估了信息源可信度
  • 识别并记录了核心模式
  • 保存了可验证的URL/参考资料
常见问题
  • 问题:搜索范围过宽,结果过多难以处理
    • 解决方案:添加具体技术术语、年份限定词
  • 问题:多源信息存在冲突
    • 解决方案:优先参考官方文档,寻找共识模式
  • 问题:信息过时
    • 解决方案:按日期筛选,搜索"2024"或"2025"相关内容
高效网页搜索技巧
  • 先宽泛搜索,再根据初始发现缩小范围
  • 使用引号匹配精确短语:"progressive disclosure"
  • 组合术语:"Claude Code" + "best practices"
  • 加入当前年份获取最新内容
  • 查看多页搜索结果,不局限于第一页

Operation 2: MCP Server Research

操作2:MCP服务器调研

Discover and research Model Context Protocol (MCP) servers for potential integration.
When to Use:
  • Building skills that need external tool access
  • Researching available MCP servers
  • Evaluating MCP server capabilities
  • Planning MCP server integration
  • Discovering domain-specific MCP tools
Prerequisites:
  • Understanding of MCP protocol basics
  • Knowledge of integration requirements
  • Capability requirements defined
Steps:
  1. Search for MCP Servers:
    • Web search: "MCP server" + domain/capability
    • GitHub search: "MCP server" or "Model Context Protocol"
    • Anthropic official MCP server list
    • Community MCP server directories
    Example searches:
    "MCP server" database access
    "Model Context Protocol" file system
    GitHub: topic:mcp-server
  2. Evaluate Server Capabilities:
    • Read server documentation
    • Review available tools/functions
    • Check supported platforms (Python, Node, etc.)
    • Verify installation requirements
    • Assess maturity (stars, commits, issues)
  3. Analyze Integration Requirements:
    • Installation process complexity
    • Configuration needs
    • Authentication requirements
    • API surface (what tools does it expose?)
    • Dependencies and prerequisites
  4. Test Availability (if applicable):
    • Check if server is installed in environment
    • Verify tools are accessible
    • Test basic operations
    • Note any limitations or quirks
  5. Document Capabilities:
    • Server name and purpose
    • Available tools with descriptions
    • Installation/setup steps
    • Configuration requirements
    • Use case examples
    • Limitations or constraints
Example:
markdown
Research Goal: Find MCP servers for file system operations

Servers Found:

1. **filesystem MCP Server** (Official Anthropic)
   - Tools: read_file, write_file, edit_file, list_directory, search_files
   - Platform: Python, Node
   - Installation: npm install @modelcontextprotocol/server-filesystem
   - Use Case: File operations in Claude Code skills
   - Maturity: Official, well-maintained
   - Limitations: Limited to local filesystem

2. **aws-s3 MCP Server** (Community)
   - Tools: s3_read, s3_write, s3_list, s3_delete
   - Platform: Python
   - Installation: pip install mcp-server-aws-s3
   - Use Case: Cloud storage integration
   - Maturity: 150 stars, active development
   - Limitations: Requires AWS credentials

Recommendation: Use official filesystem server for local operations,
consider aws-s3 for cloud storage needs.
Expected Outcome:
  • List of relevant MCP servers
  • Capability comparison
  • Integration requirements documented
  • Recommendation for usage
  • Installation/setup instructions
Validation:
  • Multiple MCP servers researched (3-5)
  • Capabilities documented for each
  • Installation requirements captured
  • Integration complexity assessed
  • Recommendations provided with rationale
Common Issues:
  • Issue: Server not in official list
    • Solution: Search GitHub, check community directories
  • Issue: Unclear capabilities
    • Solution: Read source code, check examples folder
  • Issue: Installation fails
    • Solution: Check prerequisites, consult documentation
Tips for MCP Research:
  • Start with official Anthropic MCP servers
  • Check GitHub topics: "mcp-server", "model-context-protocol"
  • Read server README thoroughly
  • Look for examples/ directory in repo
  • Check issue tracker for known problems

发现并调研Model Context Protocol(MCP)服务器,为潜在集成做准备。
适用场景
  • 开发需访问外部工具的技能
  • 调研可用MCP服务器
  • 评估MCP服务器能力
  • 规划MCP服务器集成方案
  • 发掘特定领域的MCP工具
前置条件
  • 了解MCP协议基础知识
  • 明确集成需求
  • 定义能力要求
步骤
  1. 查找MCP服务器
    • 网页搜索:"MCP server" + 领域/能力
    • GitHub搜索:"MCP server" 或 "Model Context Protocol"
    • Anthropic官方MCP服务器列表
    • 社区MCP服务器目录
    示例搜索:
    "MCP server" database access
    "Model Context Protocol" file system
    GitHub: topic:mcp-server
  2. 评估服务器能力
    • 阅读服务器文档
    • 查看可用工具/功能
    • 检查支持平台(Python、Node等)
    • 验证安装要求
    • 评估成熟度(星标数、提交记录、问题数量)
  3. 分析集成要求
    • 安装流程复杂度
    • 配置需求
    • 认证要求
    • API覆盖范围(暴露哪些工具?)
    • 依赖项与前置条件
  4. 测试可用性(若适用):
    • 检查服务器是否已安装在环境中
    • 验证工具是否可访问
    • 测试基础操作
    • 记录限制或特殊问题
  5. 记录服务器能力
    • 服务器名称与用途
    • 可用工具及描述
    • 安装/设置步骤
    • 配置要求
    • 使用场景示例
    • 限制与约束
示例
markdown
研究目标:查找用于文件系统操作的MCP服务器

找到的服务器:

1. **filesystem MCP Server**(Anthropic官方)
   - 工具:read_file、write_file、edit_file、list_directory、search_files
   - 平台:Python、Node
   - 安装:npm install @modelcontextprotocol/server-filesystem
   - 使用场景:Claude Code技能中的文件操作
   - 成熟度:官方维护,状态良好
   - 限制:仅支持本地文件系统

2. **aws-s3 MCP Server**(社区版)
   - 工具:s3_read、s3_write、s3_list、s3_delete
   - 平台:Python
   - 安装:pip install mcp-server-aws-s3
   - 使用场景:云存储集成
   - 成熟度:150星标,开发活跃
   - 限制:需要AWS凭证

推荐方案:本地操作使用官方filesystem服务器,云存储需求考虑aws-s3服务器。
预期成果
  • 相关MCP服务器列表
  • 能力对比分析
  • 集成要求文档
  • 使用建议
  • 安装/设置指南
验证清单
  • 调研了多个MCP服务器(3-5个)
  • 记录了每个服务器的能力
  • 捕获了安装要求
  • 评估了集成复杂度
  • 提供了带依据的使用建议
常见问题
  • 问题:服务器不在官方列表中
    • 解决方案:搜索GitHub,查看社区目录
  • 问题:能力描述不清晰
    • 解决方案:阅读源代码,查看示例文件夹
  • 问题:安装失败
    • 解决方案:检查前置条件,参考文档
MCP调研技巧
  • 先从Anthropic官方MCP服务器开始
  • 查看GitHub话题:"mcp-server"、"model-context-protocol"
  • 仔细阅读服务器README
  • 查找仓库中的examples/目录
  • 查看问题追踪器了解已知问题

Operation 3: GitHub Repository Research

操作3:GitHub仓库调研

Explore GitHub repositories to discover implementation patterns, code examples, and architectural approaches.
When to Use:
  • Looking for real-world implementation examples
  • Researching code patterns and structures
  • Finding proven architectural approaches
  • Discovering edge case handling
  • Learning from production codebases
Prerequisites:
  • GitHub access (for cloning, exploration)
  • Clear research objective (what patterns to find)
  • Ability to read and analyze code
  • Understanding of relevant technologies
Steps:
  1. Find Relevant Repositories:
    • Search GitHub by topic, language, keywords
    • Look for official repositories
    • Check stars, activity, recent commits
    • Review README for relevance
    Example searches:
    topic:claude-code language:markdown
    "Claude Code skill" in:readme
    anthropic/anthropic-skills
  2. Analyze Repository Structure:
    • Examine directory organization
    • Review file naming conventions
    • Note configuration patterns
    • Identify architectural decisions
  3. Extract Code Patterns:
    • Look for repeated patterns across files
    • Note error handling approaches
    • Examine state management
    • Study API usage patterns
    • Capture validation techniques
  4. Document Examples:
    • Copy relevant code snippets
    • Note file locations (repo:path:lines)
    • Explain pattern purpose
    • Document context of usage
  5. Synthesize Learnings:
    • Identify common patterns across repos
    • Note variations and reasons
    • Extract best practices
    • Document anti-patterns to avoid
Example:
markdown
Research Goal: How to structure Claude Code skills with workflows

Repository: anthropic/anthropic-skills (example-skills)

Findings:

1. **Workflow Structure Pattern** (deployment-guide/SKILL.md):
   ```markdown
   ## Deployment Workflow

   ### Step 1: Prepare Application
   [Instructions]

   ### Step 2: Configure Railway
   [Instructions]

   ### Step 3: Deploy
   [Instructions]
  • Pattern: Sequential steps with clear headers
  • Each step is self-contained
  • Prerequisites stated upfront
  1. Reference Organization (medirecords-integration/):
    medirecords-integration/
    ├── SKILL.md (overview + workflow)
    ├── references/
    │   ├── fhir-resources.md
    │   ├── api-endpoints.md
    │   └── error-handling.md
    • Pattern: Main file lean, details in references
    • Topic-based reference files
    • On-demand loading
  2. YAML Frontmatter Pattern (all skills):
    yaml
    ---
    name: skill-name
    description: [What it does]. Use when [triggers].
    ---
    • Consistent across all skills
    • Description includes triggers
    • Hyphen-case naming
Patterns Identified:
  • Sequential workflows use numbered steps
  • Reference files for detailed content
  • Examples in every major section
  • Validation checklists common
Sources:

**Expected Outcome**:
- Code patterns documented with examples
- File/directory structures captured
- Architectural approaches identified
- Best practices extracted
- Repository sources cited

**Validation**:
- [ ] Multiple repositories analyzed (3-5 minimum)
- [ ] Code snippets captured with location references
- [ ] Patterns identified across repositories
- [ ] Context of usage documented
- [ ] Best practices vs anti-patterns distinguished

**Common Issues**:
- **Issue**: Repository too large to analyze
  - **Solution**: Focus on specific directories relevant to research goal
- **Issue**: Code patterns unclear
  - **Solution**: Read tests, examples, documentation first
- **Issue**: Outdated repository
  - **Solution**: Check commit dates, look for active forks

**Tips for GitHub Research**:
- Use advanced search (stars:>100, language:python, etc.)
- Check examples/ or samples/ directories first
- Read CONTRIBUTING.md for patterns
- Look at tests/ for usage examples
- Check issues for edge cases and solutions

---
探索GitHub仓库,发掘实现模式、代码示例与架构方案。
适用场景
  • 寻找真实场景实现示例
  • 调研代码模式与结构
  • 查找经过验证的架构方案
  • 发掘边缘场景处理方式
  • 从生产代码库学习
前置条件
  • 可访问GitHub(用于克隆、探索)
  • 明确的研究目标(要查找的模式)
  • 具备代码阅读与分析能力
  • 了解相关技术
步骤
  1. 查找相关仓库
    • 按话题、语言、关键词搜索GitHub
    • 优先查看官方仓库
    • 关注星标数、活跃度、最近提交记录
    • 阅读README判断相关性
    示例搜索:
    topic:claude-code language:markdown
    "Claude Code skill" in:readme
    anthropic/anthropic-skills
  2. 分析仓库结构
    • 检查目录组织方式
    • 查看文件命名规范
    • 记录配置模式
    • 识别架构决策
  3. 提取代码模式
    • 查找文件间重复出现的模式
    • 记录错误处理方案
    • 分析状态管理方式
    • 研究API使用模式
    • 捕获验证技术
  4. 记录示例
    • 复制相关代码片段
    • 记录文件位置(repo:path:lines)
    • 解释模式用途
    • 记录使用上下文
  5. 整合学习成果
    • 识别多仓库共通模式
    • 记录差异及原因
    • 提取最佳实践
    • 记录需避免的反模式
示例
markdown
研究目标:如何组织带工作流的Claude Code技能

仓库:anthropic/anthropic-skills(example-skills)

研究发现:

1. **工作流结构模式**(deployment-guide/SKILL.md):
   ```markdown
   ## 部署工作流

   ### 步骤1:准备应用
   [操作说明]

   ### 步骤2:配置Railway
   [操作说明]

   ### 步骤3:部署
   [操作说明]
  • 模式:带清晰标题的顺序步骤
  • 每个步骤独立完整
  • 前置条件明确标注
  1. 参考文档组织(medirecords-integration/):
    medirecords-integration/
    ├── SKILL.md(概述 + 工作流)
    ├── references/
    │   ├── fhir-resources.md
    │   ├── api-endpoints.md
    │   └── error-handling.md
    • 模式:主文件精简,详细内容放在references/中
    • 按主题划分参考文件
    • 按需加载
  2. YAML前置元数据模式(所有技能):
    yaml
    ---
    name: skill-name
    description: [功能描述]. Use when [触发场景].
    ---
    • 所有技能保持一致
    • 描述包含触发场景
    • 连字符命名格式
识别的模式:
  • 顺序工作流采用编号步骤
  • 详细内容放在参考文件中
  • 每个主要部分都有示例
  • 常见验证检查清单
信息源:

**预期成果**:
- 带示例的代码模式文档
- 捕获的文件/目录结构
- 识别的架构方案
- 提取的最佳实践
- 引用的仓库信息源

**验证清单**:
- [ ] 分析了多个仓库(至少3-5个)
- [ ] 捕获了带位置参考的代码片段
- [ ] 识别了多仓库共通模式
- [ ] 记录了使用上下文
- [ ] 区分了最佳实践与反模式

**常见问题**:
- **问题**:仓库过大难以分析
  - **解决方案**:聚焦与研究目标相关的目录
- **问题**:代码模式不清晰
  - **解决方案**:先阅读测试、示例、文档
- **问题**:仓库内容过时
  - **解决方案**:检查提交日期,查找活跃分支

**GitHub调研技巧**:
- 使用高级搜索(stars:>100, language:python等)
- 优先查看examples/或samples/目录
- 阅读CONTRIBUTING.md了解模式
- 查看tests/目录获取使用示例
- 查看issues了解边缘场景与解决方案

---

Operation 4: Documentation Research

操作4:文档调研

Analyze official documentation to understand specifications, APIs, and recommended practices.
When to Use:
  • Learning official specifications
  • Understanding API surface
  • Finding authoritative guidance
  • Validating approaches against official recommendations
  • Discovering feature capabilities
Prerequisites:
  • Link to official documentation
  • Clear questions to answer
  • Ability to navigate documentation structure
  • Note-taking system
Steps:
  1. Locate Official Documentation:
    • Find primary documentation site
    • Identify relevant sections
    • Check for API reference, guides, tutorials
    • Note documentation version/date
    Example sources:
    https://docs.claude.com/en/docs/claude-code/
    https://modelcontextprotocol.io/
    https://docs.anthropic.com/
  2. Navigate Documentation Structure:
    • Start with overview/getting started
    • Read conceptual guides for understanding
    • Review API reference for specifics
    • Check examples/tutorials for patterns
    • Look for best practices section
  3. Extract Key Information:
    • Core concepts and definitions
    • API functions and parameters
    • Configuration options
    • Limitations and constraints
    • Best practices and recommendations
    • Common patterns shown in examples
  4. Capture Specifics:
    • Copy code examples exactly
    • Note parameter types and constraints
    • Document return values
    • Record error conditions
    • Capture configuration formats
  5. Create Reference Document:
    • Organize by topic/feature
    • Include code examples
    • Note page URLs for verification
    • Highlight important warnings/notes
    • Document version information
Example:
markdown
Research Goal: Claude Code skill structure requirements

Source: https://docs.claude.com/en/docs/claude-code/skills

Findings:

1. **Skill Structure Requirements**:
   - SKILL.md must have YAML frontmatter
   - Frontmatter fields: name, description
   - Progressive disclosure: SKILL.md < 15,000 words
   - Use references/ for detailed content
   - scripts/ for automation utilities

2. **YAML Frontmatter Specification**:
   ```yaml
   ---
   name: skill-name-in-hyphen-case
   description: Brief description. Use when [triggers].
   ---
  • name: Must match directory name
  • description: Should include discovery triggers
  1. Organizational Patterns:
    • Workflow-based: Sequential steps (→)
    • Task-based: Independent operations (no order)
    • Reference/Guidelines: Standards and patterns
    • Capabilities-based: Multiple features
  2. Best Practices (from docs):
    • Keep SKILL.md focused and scannable
    • Use examples liberally
    • Include validation criteria
    • Provide context for decisions
    • Test with real scenarios
  3. Limitations:
    • SKILL.md size: recommended < 5,000 words for performance
    • No dynamic content (static markdown)
    • File paths must be relative
Source URLs:

**Expected Outcome**:
- Comprehensive documentation summary
- Specific requirements captured
- Code examples copied accurately
- URLs referenced for verification
- Version/date noted

**Validation**:
- [ ] Official documentation identified and verified
- [ ] Key concepts extracted and defined
- [ ] Code examples captured accurately
- [ ] Specifications documented precisely
- [ ] Page URLs recorded for reference
- [ ] Version/date information noted

**Common Issues**:
- **Issue**: Documentation unclear or incomplete
  - **Solution**: Check examples, search for supplementary guides
- **Issue**: Multiple documentation versions
  - **Solution**: Use most recent, note version explicitly
- **Issue**: Conflicting information
  - **Solution**: Reference official docs over community content

**Tips for Documentation Research**:
- Start with "Getting Started" or "Quickstart"
- Read conceptual guides before API reference
- Check changelog/releases for recent changes
- Look for "Best Practices" or "Recommendations" sections
- Copy examples exactly (don't paraphrase)
- Note warnings and "gotchas" prominently

---
分析官方文档,了解技术规范、API与推荐实践。
适用场景
  • 学习官方技术规范
  • 了解API覆盖范围
  • 查找权威指导
  • 对照官方建议验证方案
  • 发掘功能能力
前置条件
  • 官方文档链接
  • 明确的待解答问题
  • 具备文档导航能力
  • 有笔记记录系统
步骤
  1. 定位官方文档
    • 找到主文档站点
    • 识别相关章节
    • 查找API参考、指南、教程
    • 记录文档版本/日期
    示例信息源:
    https://docs.claude.com/en/docs/claude-code/
    https://modelcontextprotocol.io/
    https://docs.anthropic.com/
  2. 导航文档结构
    • 从概述/快速开始入手
    • 阅读概念指南建立认知
    • 查看API参考获取细节
    • 检查示例/教程学习模式
    • 查找最佳实践章节
  3. 提取关键信息
    • 核心概念与定义
    • API函数与参数
    • 配置选项
    • 限制与约束
    • 最佳实践与建议
    • 示例中展示的常见模式
  4. 捕获细节
    • 精确复制代码示例
    • 记录参数类型与约束
    • 文档返回值
    • 记录错误场景
    • 捕获配置格式
  5. 创建参考文档
    • 按主题/功能组织
    • 包含代码示例
    • 记录页面URL用于验证
    • 突出重要警告/提示
    • 记录版本信息
示例
markdown
研究目标:Claude Code技能结构要求

信息源:https://docs.claude.com/en/docs/claude-code/skills

研究发现:

1. **技能结构要求**   - SKILL.md必须包含YAML前置元数据
   - 前置元数据字段:name、description
   - 渐进式披露:SKILL.md字数<15000
   - 使用references/存放详细内容
   - 使用scripts/存放自动化工具

2. **YAML前置元数据规范**   ```yaml
   ---
   name: skill-name-in-hyphen-case
   description: 简短描述。Use when [触发场景].
   ---
  • name:必须与目录名匹配
  • description:应包含发现触发词
  1. 组织模式
    • 工作流驱动型:顺序步骤(→)
    • 任务驱动型:独立操作(无顺序要求)
    • 参考/指南型:标准与模式
    • 能力驱动型:多功能集合
  2. 最佳实践(来自文档):
    • 保持SKILL.md聚焦且易扫描
    • 大量使用示例
    • 包含验证标准
    • 为决策提供上下文
    • 结合真实场景测试
  3. 限制
    • SKILL.md大小:建议<5000字以保证性能
    • 不支持动态内容(仅静态Markdown)
    • 文件路径必须为相对路径
信息源URL:

**预期成果**:
- 全面的文档摘要
- 捕获的具体要求
- 精确复制的代码示例
- 可验证的URL参考
- 记录的版本信息

**验证清单**:
- [ ] 识别并验证了官方文档
- [ ] 提取并定义了核心概念
- [ ] 精确捕获了代码示例
- [ ] 准确记录了技术规范
- [ ] 保存了页面URL用于参考
- [ ] 记录了版本/日期信息

**常见问题**:
- **问题**:文档描述模糊或不完整
  - **解决方案**:查看示例,查找补充指南
- **问题**:存在多个文档版本
  - **解决方案**:使用最新版本,明确标注版本
- **问题**:信息存在冲突
  - **解决方案**:优先参考官方文档,而非社区内容

**文档调研技巧**:
- 从"快速开始"或"入门"章节入手
- 先阅读概念指南再看API参考
- 查看变更日志/发布记录了解最新变化
- 查找"最佳实践"或"建议"章节
- 精确复制示例(不要意译)
- 突出记录警告与"注意事项"

---

Operation 5: Synthesize Research Findings

操作5:整合研究发现

Combine research from multiple sources into coherent, actionable insights.
When to Use:
  • After completing research across multiple sources
  • Before making architectural decisions
  • When creating skill plans or specifications
  • After gathering requirements
  • To identify patterns and best practices
Prerequisites:
  • Research completed from 2+ sources
  • Findings documented from each source
  • Research goal clearly defined
  • Note-taking system used
Steps:
  1. Organize Findings by Theme:
    • Group related findings together
    • Identify common topics across sources
    • Note unique findings from each source
    • Create topical categories
    Example themes:
    • Architecture/Structure
    • Best Practices
    • Common Patterns
    • Anti-Patterns
    • Requirements/Constraints
    • Examples
  2. Identify Patterns:
    • What appears across multiple sources?
    • What's consistent vs. what varies?
    • Which sources agree/disagree?
    • What's the consensus approach?
  3. Evaluate Credibility:
    • Official docs > established practices > individual opinions
    • Recent sources > older sources (for current practices)
    • Multiple confirmations > single source
    • Production examples > theoretical discussions
  4. Resolve Conflicts:
    • If sources disagree, prioritize official documentation
    • Consider context differences
    • Look for evolution over time
    • Note when multiple valid approaches exist
  5. Create Synthesis Document:
    Template:
    markdown
    # Research Synthesis: [Topic]
    
    ## Research Goal
    [What we set out to discover]
    
    ## Sources Consulted
    1. [Source 1]: [Type, date, credibility]
    2. [Source 2]: [Type, date, credibility]
    3. [Source 3]: [Type, date, credibility]
    
    ## Key Findings
    
    ### [Theme 1]
    **Pattern**: [What's consistent across sources]
    **Sources**: [Which sources confirm this]
    **Evidence**: [Specific examples or quotes]
    
    ### [Theme 2]
    [Same structure]
    
    ## Best Practices Identified
    1. [Practice 1] - from [sources]
    2. [Practice 2] - from [sources]
    
    ## Anti-Patterns to Avoid
    1. [Anti-pattern 1] - why to avoid
    2. [Anti-pattern 2] - why to avoid
    
    ## Conflicting Information
    [Any disagreements, with resolution]
    
    ## Recommendations
    1. [Actionable recommendation based on research]
    2. [Actionable recommendation based on research]
    
    ## Examples
    [Concrete code/structure examples from research]
    
    ## References
    - [URL 1]: [Description]
    - [URL 2]: [Description]
  6. Extract Actionable Insights:
    • What decisions can be made?
    • What approaches should be used?
    • What should be avoided?
    • What needs further research?
Example:
markdown
undefined
将多源研究结果整合成连贯、可执行的洞见。
适用场景
  • 完成多源研究后
  • 制定架构决策前
  • 创建技能计划或规范时
  • 收集需求后
  • 识别模式与最佳实践时
前置条件
  • 已完成2+个信息源的研究
  • 已记录每个信息源的研究发现
  • 研究目标明确
  • 使用了笔记记录系统
步骤
  1. 按主题组织发现
    • 将相关发现分组
    • 识别多源共通主题
    • 记录每个信息源的独特发现
    • 创建主题分类
    示例主题:
    • 架构/结构
    • 最佳实践
    • 常见模式
    • 反模式
    • 需求/约束
    • 示例
  2. 识别模式
    • 多源共通的内容是什么?
    • 哪些内容一致,哪些存在差异?
    • 哪些信息源达成共识/存在分歧?
    • 共识方案是什么?
  3. 评估可信度
    • 官方文档 > 成熟实践 > 个人观点
    • 最新信息源 > 旧信息源(针对当前实践)
    • 多源确认 > 单一信息源
    • 生产示例 > 理论讨论
  4. 解决冲突
    • 若信息源存在分歧,优先参考官方文档
    • 考虑上下文差异
    • 关注技术演进
    • 记录存在多种有效方案的情况
  5. 创建整合文档
    模板
    markdown
    # 研究整合:[主题]
    
    ## 研究目标
    [我们要探索的内容]
    
    ## 参考信息源
    1. [信息源1]:[类型、日期、可信度]
    2. [信息源2]:[类型、日期、可信度]
    3. [信息源3]:[类型、日期、可信度]
    
    ## 核心发现
    
    ### [主题1]
    **模式**:[多源共通内容]
    **信息源**:[确认该模式的信息源]
    **证据**:[具体示例或引用]
    
    ### [主题2]
    [相同结构]
    
    ## 识别的最佳实践
    1. [实践1] - 来自[信息源]
    2. [实践2] - 来自[信息源]
    
    ## 需避免的反模式
    1. [反模式1] - 避免原因
    2. [反模式2] - 避免原因
    
    ## 冲突信息
    [存在的分歧及解决方案]
    
    ## 建议
    1. [基于研究的可执行建议]
    2. [基于研究的可执行建议]
    
    ## 示例
    [来自整合文档的具体代码/结构示例]
    
    ## 参考资料
    - [URL 1]:[描述]
    - [URL 2]:[描述]
  6. 提取可执行洞见
    • 可做出哪些决策?
    • 应采用哪些方案?
    • 应避免哪些内容?
    • 哪些领域需进一步调研?
示例
markdown
undefined

Research Synthesis: Claude Code Skill Organization

研究整合:Claude Code技能组织

Research Goal

研究目标

Determine best practices for organizing Claude Code skills with comprehensive workflows.
确定带全面工作流的Claude Code技能的最佳组织实践。

Sources Consulted

参考信息源

  1. Official Claude Code documentation (2025, official, highest credibility)
  2. anthropic/anthropic-skills GitHub (2025, official examples, high credibility)
  3. Web search results: "Claude Code skills" best practices (2024-2025, mixed credibility)
  1. Claude Code官方文档(2025年,官方,可信度最高)
  2. anthropic/anthropic-skills GitHub仓库(2025年,官方示例,可信度高)
  3. 网页搜索结果:"Claude Code skills" best practices(2024-2025年,可信度混合)

Key Findings

核心发现

Progressive Disclosure Pattern

渐进式披露模式

Pattern: Three-tier architecture (SKILL.md → references/ → scripts/) Sources: Official docs, all official examples, community consensus Evidence:
  • Docs state: "SKILL.md recommended < 5,000 words"
  • All 7 official examples use this pattern
  • Community skills (40+ analyzed) overwhelmingly use this
模式:三层架构(SKILL.md → references/ → scripts/) 信息源:官方文档、所有官方示例、社区共识 证据
  • 文档指出:"SKILL.md建议<5000字"
  • 所有7个官方示例均采用此模式
  • 分析的40+个社区技能绝大多数采用此模式

Workflow Organization

工作流组织

Pattern: Sequential steps with clear numbering and transitions Sources: deployment-guide, medirecords-integration examples Evidence:
markdown
undefined
模式:带清晰编号与过渡的顺序步骤 信息源:deployment-guide、medirecords-integration示例 证据
markdown
undefined

Step 1: [Action]

步骤1:[操作]

[Content] Next: Proceed to Step 2
undefined
[内容] 下一步:进入步骤2
undefined

YAML Frontmatter

YAML前置元数据

Pattern: Minimal (name + description only) Sources: All official examples, documentation Evidence: Consistent across 100% of examples
模式:极简(仅name + description) 信息源:所有官方示例、文档 证据:100%的示例均保持一致

Best Practices Identified

识别的最佳实践

  1. Keep SKILL.md under 5,000 words (from official docs + all examples)
  2. Use numbered workflow steps with transitions (from 6/7 workflow examples)
  3. Include validation checklists (from 5/7 examples)
  4. Provide examples in every major section (from documentation + examples)
  5. Use hyphen-case for naming (from all official skills)
  1. 保持SKILL.md字数<5000(来自官方文档 + 所有示例)
  2. 采用带过渡的编号工作流步骤(来自6/7个工作流示例)
  3. 包含验证检查清单(来自5/7个示例)
  4. 每个主要部分都提供示例(来自文档 + 示例)
  5. 使用连字符命名格式(来自所有官方技能)

Anti-Patterns to Avoid

需避免的反模式

  1. Monolithic SKILL.md files (>10,000 words) - hurts performance
  2. Missing YAML frontmatter - skill won't be discovered
  3. No examples - users can't visualize usage
  4. Vague validation criteria - can't verify success
  1. 单体SKILL.md文件(>10000字)- 影响性能
  2. 缺少YAML前置元数据 - 技能无法被发现
  3. 无示例 - 用户无法直观理解用法
  4. 模糊的验证标准 - 无法验证成功与否

Recommendations

建议

  1. Use three-tier progressive disclosure for all skills
  2. Adopt numbered workflow steps with transitions
  3. Include validation checklist in each step/operation
  4. Provide 2-3 examples per major concept
  5. Keep SKILL.md focused (<3,000 words ideal, <5,000 max)
  1. 所有技能均采用三层渐进式披露架构
  2. 采用带过渡的编号工作流步骤
  3. 每个步骤/操作都包含验证检查清单
  4. 每个核心概念提供2-3个示例
  5. 保持SKILL.md聚焦(理想<3000字,最大<5000字)

Examples

示例

[From synthesis document, include actual code]
[来自整合文档,包含实际代码]

References

参考资料


**Expected Outcome**:
- Comprehensive synthesis document
- Clear patterns identified
- Actionable recommendations
- Conflicts resolved
- Sources cited

**Validation**:
- [ ] Findings from all sources incorporated
- [ ] Patterns identified across multiple sources
- [ ] Recommendations are actionable
- [ ] Conflicts identified and resolved
- [ ] Sources properly cited
- [ ] Document organized clearly

**Common Issues**:
- **Issue**: Too much information, overwhelmed
  - **Solution**: Focus on research goal, organize by theme
- **Issue**: Contradictory findings
  - **Solution**: Prioritize official sources, note context differences
- **Issue**: Can't find patterns
  - **Solution**: Look for what appears 2-3+ times across sources

**Tips for Synthesis**:
- Use consistent format for all research findings
- Group similar findings before synthesizing
- Prioritize quality over quantity (3 good sources > 10 weak)
- Make recommendations specific and actionable
- Note what you still don't know (further research needed)

---

**预期成果**:
- 全面的整合文档
- 清晰识别的模式
- 可执行的建议
- 已解决的冲突
- 已引用的信息源

**验证清单**:
- [ ] 整合了所有信息源的发现
- [ ] 识别了多源共通模式
- [ ] 建议具备可执行性
- [ ] 识别并解决了冲突
- [ ] 正确引用了信息源
- [ ] 文档组织清晰

**常见问题**:
- **问题**:信息过多,难以处理
  - **解决方案**:聚焦研究目标,按主题组织
- **问题**:发现存在矛盾
  - **解决方案**:优先参考官方信息源,记录上下文差异
- **问题**:无法识别模式
  - **解决方案**:查找在2-3+个信息源中出现的内容

**整合技巧**:
- 所有研究发现使用统一格式
- 先分组相似发现再进行整合
- 优先质量而非数量(3个优质信息源 > 10个低质量信息源)
- 建议要具体且可执行
- 记录仍不明确的内容(需进一步调研)

---

Best Practices

最佳实践

Research Process

研究流程

1. Define Clear Research Goals:
  • Specific questions to answer
  • Success criteria for research
  • Time constraints
  • Sources to prioritize
2. Multi-Source Validation:
  • Never rely on single source
  • Cross-reference findings (3-5 sources)
  • Prioritize official documentation
  • Check recent dates (2024-2025)
3. Document Thoroughly:
  • Capture URLs and dates
  • Quote precisely (don't paraphrase)
  • Note source credibility
  • Include context
4. Synthesize Systematically:
  • Organize by theme
  • Identify patterns
  • Resolve conflicts
  • Create actionable insights
5. Iterate and Refine:
  • Start broad, then narrow
  • Deep dive promising areas
  • Validate assumptions
  • Fill gaps as discovered
1. 定义清晰的研究目标
  • 具体的待解答问题
  • 研究成功标准
  • 时间限制
  • 优先参考的信息源
2. 多源验证
  • 绝不依赖单一信息源
  • 交叉验证发现(3-5个信息源)
  • 优先参考官方文档
  • 选择近期内容(2024-2025年)
3. 详细记录
  • 捕获URL与日期
  • 精确引用(不要意译)
  • 记录信息源可信度
  • 包含上下文
4. 系统化整合
  • 按主题组织
  • 识别模式
  • 解决冲突
  • 生成可执行洞见
5. 迭代与优化
  • 先宽泛搜索,再缩小范围
  • 深入探索有前景的领域
  • 验证假设
  • 填补发现的空白

Source Credibility Hierarchy

信息源可信度层级

  1. Official Documentation (Highest)
    • Anthropic official docs
    • Technology official docs
    • Specifications and RFCs
  2. Official Examples (Very High)
    • Anthropic example skills
    • Official GitHub repositories
    • Reference implementations
  3. Established Community (High)
    • Well-maintained open source projects (1000+ stars)
    • Recognized experts' content
    • Production codebases
  4. Community Content (Medium)
    • Blog posts from developers
    • GitHub repositories (100-1000 stars)
    • Technical forums (validated answers)
  5. Individual Opinions (Lower - verify)
    • Personal blogs
    • Unverified forum posts
    • Small repositories
  1. 官方文档(最高)
    • Anthropic官方文档
    • 技术官方文档
    • 规范与RFC
  2. 官方示例(极高)
    • Anthropic示例技能
    • 官方GitHub仓库
    • 参考实现
  3. 成熟社区内容(高)
    • 维护良好的开源项目(1000+星标)
    • 知名专家内容
    • 生产代码库
  4. 社区内容(中)
    • 开发者博客文章
    • GitHub仓库(100-1000星标)
    • 技术论坛(已验证的回答)
  5. 个人观点(较低 - 需验证)
    • 个人博客
    • 未验证的论坛帖子
    • 小型仓库

Common Mistakes

常见误区

Mistake 1: Single Source Research

误区1:单一信息源研究

Problem: Relying on one source, missing broader context
  • Only read one blog post
  • Trust first search result
  • Skip official documentation
Fix: Always consult 3-5 sources, prioritize official docs
问题:依赖单一信息源,缺少全局视角
  • 仅阅读一篇博客
  • 信任首个搜索结果
  • 跳过官方文档
解决方法:始终参考3-5个信息源,优先官方文档

Mistake 2: No Source Documentation

误区2:未记录信息源

Problem: Can't verify findings or provide references
  • No URLs captured
  • Can't remember where information came from
  • Unable to validate later
Fix: Document source URL, date, and credibility for every finding
问题:无法验证发现或提供参考
  • 未保存URL
  • 忘记信息来源
  • 后续无法验证
解决方法:为每个发现记录信息源URL、日期与可信度

Mistake 3: Accepting Outdated Information

误区3:使用过时信息

Problem: Using old practices that have evolved
  • 2020 blog post (pre-Claude Code)
  • Deprecated APIs
  • Old best practices
Fix: Filter by date, search for "2024" or "2025", check official docs
问题:使用已淘汰的旧实践
  • 2020年的博客文章(Claude Code出现前)
  • 已废弃的API
  • 旧的最佳实践
解决方法:按日期筛选,搜索"2024"或"2025"相关内容,参考官方文档

Mistake 4: Skipping Synthesis

误区4:跳过整合步骤

Problem: Have data but no insights
  • Raw notes without organization
  • Can't make decisions
  • No actionable recommendations
Fix: Always synthesize findings into themes and recommendations
问题:有数据但无洞见
  • 原始笔记未组织
  • 无法做出决策
  • 无可行建议
解决方法:始终将发现整合成主题与建议

Mistake 5: Ignoring Credibility

误区5:忽视可信度

Problem: Treating all sources equally
  • Personal blog = official docs
  • Unverified forum post = production code
  • Single example = standard pattern
Fix: Evaluate credibility, prioritize authoritative sources
问题:平等对待所有信息源
  • 个人博客 = 官方文档
  • 未验证的论坛帖子 = 生产代码
  • 单一示例 = 标准模式
解决方法:评估信息源可信度,优先参考权威来源

Integration with Other Skills

与其他技能的集成

With planning-architect

与planning-architect集成

Use skill-researcher before planning to gather requirements and patterns
  • Research informs planning decisions
  • Examples guide structure choices
  • Best practices shape approach
Flow: research → gather insights → plan skill → build
在规划前使用skill-researcher收集需求与模式
  • 研究成果为规划决策提供依据
  • 示例指导结构选择
  • 最佳实践塑造方案
流程:调研 → 收集洞见 → 规划技能 → 构建

With skill-builder-generic

与skill-builder-generic集成

Use skill-researcher to discover patterns for skill building
  • Research skill examples
  • Find organizational patterns
  • Discover best practices
Flow: research skills → identify patterns → apply to new skill
使用skill-researcher发掘技能构建模式
  • 调研技能示例
  • 查找组织模式
  • 发现最佳实践
流程:调研技能 → 识别模式 → 应用到新技能

With prompt-builder

与prompt-builder集成

Use skill-researcher to find prompt examples and patterns
  • Research effective prompts
  • Discover prompt engineering techniques
  • Find validation approaches
Flow: research prompts → apply principles → build better prompts
使用skill-researcher查找提示词示例与模式
  • 调研有效提示词
  • 发掘提示词工程技术
  • 查找验证方案
流程:调研提示词 → 应用原则 → 构建更优提示词

Quick Reference

快速参考

The 5 Research Operations

5项研究操作

  1. Web Search - Current practices, tutorials, discussions (WebSearch tool)
  2. MCP Servers - Discover and evaluate MCP servers for integration
  3. GitHub - Code patterns, structures, implementations
  4. Documentation - Official specs, APIs, authoritative guidance
  5. Synthesize - Combine findings into actionable insights
  1. 网页搜索 - 当前实践、教程、讨论(使用WebSearch工具)
  2. MCP服务器 - 发现并评估可集成的MCP服务器
  3. GitHub - 代码模式、结构、实现
  4. 文档 - 官方规范、API、权威指导
  5. 整合 - 将发现整合成可执行洞见

Research Quality Checklist

研究质量检查清单

  • Clear research goal defined
  • Multiple sources consulted (3-5+)
  • Source credibility evaluated
  • Findings documented with URLs and dates
  • Patterns identified across sources
  • Conflicts resolved
  • Synthesis document created
  • Recommendations are actionable
  • 已定义清晰的研究目标
  • 已咨询多个信息源(3-5+个)
  • 已评估信息源可信度
  • 已记录带URL与日期的发现
  • 已识别多源共通模式
  • 已解决冲突
  • 已创建整合文档
  • 建议具备可执行性

Source Selection Guide

信息源选择指南

For current best practices: Web search (2024-2025) For specifications: Official documentation For code patterns: GitHub repositories For integrations: MCP server research For validation: Multiple sources + synthesis

For detailed guides on each research type, see the references/ directory.
For research automation tools, use scripts/research-helper.py.
当前最佳实践:网页搜索(2024-2025年) 技术规范:官方文档 代码模式:GitHub仓库 集成方案:MCP服务器调研 验证:多源 + 整合

各研究类型的详细指南请查看references/目录。
如需研究自动化工具,请使用scripts/research-helper.py。