بنقرة واحدة
research
Deep codebase exploration. Triggers: research, explore, investigate, understand, deep dive, current state.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Deep codebase exploration. Triggers: research, explore, investigate, understand, deep dive, current state.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
This skill should be used when the user asks to "track issues", "create beads issue", "show blockers", "what's ready to work on", "beads routing", "prefix routing", "cross-rig beads", "BEADS_DIR", "two-level beads", "town vs rig beads", "slingable beads", or needs guidance on git-based issue tracking with the bd CLI.
Investigate suspected bugs with git archaeology and root cause analysis. Triggers: "bug", "broken", "doesn't work", "failing", "investigate bug".
Analyze code complexity and find refactor targets using radon/gocyclo. Triggers: "complexity", "analyze complexity", "find complex code", "refactor targets", "cyclomatic complexity", "code metrics".
Fully autonomous epic execution. Runs until ALL children are CLOSED. Level 1 uses /swarm (Task tool). Level 2 uses /spawn + Agent Mail for cross-session orchestration with Chiron help routing. NO human prompts, NO stopping.
This skill should be used when the user asks to "generate documentation", "validate docs", "check doc coverage", "find missing docs", "create code-map", "sync documentation", "update docs", or needs guidance on documentation generation and validation for any repository type. Triggers: doc, documentation, code-map, doc coverage, validate docs.
Extract decisions and learnings from Claude session transcripts. Triggers: "extract learnings", "process pending", SessionStart hook.
| name | research |
| description | Deep codebase exploration. Triggers: research, explore, investigate, understand, deep dive, current state. |
Quick Ref: Deep codebase exploration with multi-angle analysis. Output:
.agents/research/*.md
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
Given /research <topic>:
mkdir -p .agents/research
First, search and inject existing knowledge (if ao available):
# Search knowledge base for relevant learnings, patterns, and prior research
ao search "<topic>" 2>/dev/null || echo "ao not available, skipping knowledge search"
# Inject relevant context into this session
ao inject "<topic>" 2>/dev/null || echo "ao not available, skipping knowledge injection"
Review ao search results: If ao returns relevant learnings or patterns, incorporate them into your research strategy. Look for:
Search local research artifacts:
ls -la .agents/research/ 2>/dev/null | grep -i "<topic>" || echo "No prior research found"
Also use Grep to search .agents/ for related content. Check TEMPERED learnings:
ls -la .agents/learnings/ .agents/patterns/ 2>/dev/null | head -10
YOU MUST USE THE TASK TOOL NOW. Call it with these exact parameters:
Tool: Task
Parameters:
subagent_type: "Explore"
description: "Research: <topic>"
prompt: |
Thoroughly investigate: <topic>
Search strategy:
1. Glob for relevant files (*.md, *.py, *.ts, *.go, etc.)
2. Grep for keywords related to <topic>
3. Read key files and understand the architecture
4. Check docs/ and .agents/ for existing documentation
Return a detailed report with:
- Key files found (with paths)
- How the system works
- Important patterns or conventions
- Any issues or concerns
Cite specific file:line references for all claims.
For thorough research, perform quality validation:
Check: Did we look everywhere we should? Any unexplored areas?
Check: Do we UNDERSTAND the critical parts? HOW and WHY, not just WHAT?
Check: What DON'T we know that we SHOULD know?
Check: What assumptions are we building on? Are they verified?
After the Explore agent and validation swarm return, write findings to:
.agents/research/YYYY-MM-DD-<topic-slug>.md
Use this format:
# Research: <Topic>
**Date:** YYYY-MM-DD
**Scope:** <what was investigated>
## Summary
<2-3 sentence overview>
## Key Files
| File | Purpose |
|------|---------|
| path/to/file.py | Description |
## Findings
<detailed findings with file:line citations>
## Recommendations
<next steps or actions>
USE AskUserQuestion tool:
Tool: AskUserQuestion
Parameters:
questions:
- question: "Research complete. Approve to proceed to planning?"
header: "Gate 1"
options:
- label: "Approve"
description: "Research is sufficient, proceed to /plan"
- label: "Revise"
description: "Need deeper research on specific areas"
- label: "Abandon"
description: "Stop this line of investigation"
multiSelect: false
Wait for approval before reporting completion.
Tell the user:
/plan to create implementation planfile:line.agents/research/ artifactInclude in your Explore agent prompt: