AgentSkillsCN

research

适用于调研行业标准、对比不同方案,或总结最佳实践时使用。提供以本地优先策略为核心的“收集 → 分析 → 综合”工作流程。

SKILL.md
--- frontmatter
name: research
description: Load for investigating standards, comparing approaches, or gathering best practices. Provides GATHER → ANALYZE → SYNTHESIZE workflow with local-first strategy.

Research

Merged Skills

  • standards: Industry best practices, conventions
  • comparison: Evaluating alternatives, trade-offs

⚠️ Critical Gotchas

CategoryPatternSolution
External firstSearching web before localCheck docs/ + codebase FIRST (saves 80% tokens)
Time sinkResearch taking >5 min per topicTime box strictly, move on with best available
Lost findingsResearch not documentedCache findings in blueprint or knowledge
No sourcesRecommendations without citationsAlways document where standards came from
Over-researchResearching solved problemsCheck if pattern exists in codebase first

Rules

RulePattern
Local firstgrep docs/ + codebase before any external search
Time boxKeep research <5 min per topic
Cache findingsDocument in blueprint or update knowledge file
Cite sourcesNote where standards/patterns came from
SynthesizeReturn actionable recommendation, not just data

Avoid

❌ Bad✅ Good
Search web firstgrep local docs first
Open-ended researchTime-boxed to 5 min
Undocumented findingsCached in blueprint
Raw data dumpSynthesized recommendation
Re-researchingCheck knowledge cache first

Patterns

markdown
# Research Output Format

## Research: {Topic}

### Local Findings
- Pattern found in: `backend/app/services/example.py`
- Existing implementation: {description}

### Standards (if external needed)
- Source: {URL or reference}
- Key points: {summary}

### Recommendation
- **Action:** {what to do}
- **Rationale:** {why this approach}
- **Trade-offs:** {what we're giving up}
bash
# Local research commands
grep -r "pattern" docs/
grep -r "similar_feature" backend/ frontend/
cat docs/technical/relevant.md

Sources (Priority Order)

PrioritySourceWhen to Use
1Project docs/Always check first
2Codebase patternsExisting implementations
3project_knowledge.jsonCached gotchas, patterns
4External standardsOnly if local insufficient

Workflow

PhaseActionOutput
GATHERgrep local, then external if neededRaw findings
ANALYZECompare patterns, check standardsEvaluated options
SYNTHESIZEReturn recommendation + rationaleActionable advice

Commands

TaskCommand
Search docsgrep -r "topic" docs/
Find patternsgrep -r "pattern" backend/ frontend/
Check knowledgehead -100 project_knowledge.json
Search gotchasgrep "error_pattern" project_knowledge.json