AgentSkillsCN

research

通过网络搜索、文档查阅与代码分析展开深度研究。触发条件包括:“进行研究”、“深入了解”、“哪种方案最优秀”、“我该如何……”、评估各类库、探索陌生模式,以及追踪前沿技术的发展动态。

SKILL.md
--- frontmatter
name: research
description: >
  Deep research using web, docs, and code search.
  Triggers on: "research", "look into", "what's the best", "how should I",
  evaluating libraries, unfamiliar patterns, state of the art.
metadata:
  short-description: Research topics using web and code search

Research

Research topics using web, docs, and code search. Scale depth to complexity.

Triggers

  • "research X", "look into X", "investigate X"
  • "what's the best way to", "how should I"
  • "what library for", "which approach"
  • Before implementing unfamiliar feature
  • Evaluating libraries/tools

Depth Scaling

ComplexityExampleSourcesOutput
Quick"best JSON library for rust"1-2 sources2-3 options, pick one
Medium"auth patterns for API"Multiple sourcesOptions table, recommendation
Deep"distributed system architecture"All sources, parallelFull analysis, tradeoffs, diagrams

Assess first: How consequential is this decision? Scale depth accordingly.

Sources (Use Best Tool for Task)

Query TypeBest ToolNotes
Library/framework docsContext7Resolve ID first, LLM-optimized
Code examples, API patternsExaget_code_context_exa
General web, news, articlesWeb searchBuilt-in or Exa
Local patternsRead/GrepCheck codebase first

Process

  1. Parallel search: Hit all sources simultaneously
  2. Filter noise: Prioritize official docs, recent content, high-quality sources
  3. Synthesize: Combine findings into actionable summary
  4. Cite sources: Include links for reference

Output Format

markdown
# Research: [Topic]

## Summary

[2-3 sentence TL;DR]

## Key Findings

### Best Practices

- [Finding 1]
- [Finding 2]

### Options Considered

| Option | Pros | Cons |
| ------ | ---- | ---- |
| A      | ...  | ...  |
| B      | ...  | ...  |

### Recommended Approach

[What to do and why]

## Code Examples

[Relevant snippets if applicable]

## Sources

- [Title](url)