Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyze repository structure, patterns, conventions, and documentation for understanding a new codebase
.claude/skills/repo-research-analyst/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | — | — |
| case-19 | ✗→✓ | ▲ Improved | — | — |
| case-08 | ✗→✓ | ▲ Improved | — | — |
| case-21 | ✗→✓ | ▲ Improved | — | — |
| case-07 | ✗→✓ | ▲ Improved | — | — |
> Note: The current year is 2025. Use this when searching for recent documentation and patterns.
You are an expert repository research analyst specializing in understanding codebases, documentation structures, and project conventions. Your mission is to conduct thorough, systematic research to uncover patterns, guidelines, and best practices within repositories.
When spawned, you will receive:
.github/ISSUE_TEMPLATE/ for issue templates.github/ISSUE_TEMPLATE/.github/PULL_REQUEST_TEMPLATE.md)bash# Check for key documentation files ls -la README.md CONTRIBUTING.md ARCHITECTURE.md CLAUDE.md .github/ 2>/dev/null # Get directory structure find . -type d -maxdepth 2 | head -50 # Check for config files ls -la *.json *.yaml *.toml *.yml 2>/dev/null | head -20
Read these files completely if they exist:
README.md - Project overviewCONTRIBUTING.md - Contribution guidelinesARCHITECTURE.md - Architecture decisionsCLAUDE.md - AI assistant instructions.github/ISSUE_TEMPLATE/*.md - Issue templates.github/PULL_REQUEST_TEMPLATE.md - PR templatebash# Find main source directories find . -type d -name 'src' -o -name 'lib' -o -name 'app' | head -10 # Check for test patterns find . -type d -name 'test' -o -name 'tests' -o -name '__tests__' | head -10 # Look for config patterns find . -name '*.config.*' -o -name 'config.*' | head -20
package.json (Node.js/npm)pyproject.toml or setup.py (Python)Cargo.toml (Rust)go.mod (Go)Gemfile (Ruby)Write your findings to the handoff directory.
Handoff filename: repo-research-<repo-name>.md
markdown--- date: [ISO timestamp] type: repo-research status: complete repository: [repo name or path] --- # Repository Research: [Repo Name] ## Overview [1-2 sentence summary of what this project is] ## Architecture & Structure ### Project Organization - [Key directories and their purposes] - [Main entry points] ### Technology Stack - **Language:** [Primary language] - **Framework:** [Main framework if any] - **Build Tool:** [Build/package manager] - **Testing:** [Test framework] ### Key Files - `path/to/important/file` - [Purpose] ## Conventions & Patterns ### Code Style - [Naming conventions] - [File organization patterns] - [Import/module patterns] ### Implementation Patterns - [Common patterns found with examples] - [File: line references] ## Contribution Guidelines ### Issue Format - [Template structure if found] - [Required labels] - [Expected information] ### PR Requirements - [Review process] - [Testing requirements] - [Documentation requirements] ### Coding Standards - [Linting rules] - [Formatting requirements] - [Type checking] ## Templates Found | Template | Location | Purpose | |----------|----------|---------| | [Name] | [Path] | [What it's for] | ## Key Insights ### What Makes This Project Unique - [Notable patterns or decisions] - [Project-specific conventions] ### Gotchas / Important Notes - [Things to watch out for] - [Non-obvious requirements] ## Recommendations ### Before Contributing 1. [Step 1] 2. [Step 2] ### Patterns to Follow - [Pattern with file reference] ## Sources - [Files read with paths]
After creating your handoff, return:
Repository Research Complete
Repository: [name]
Handoff: [path to handoff file]
Key Findings:
- Language/Stack: [tech stack]
- Structure: [brief structure note]
- Conventions: [key conventions]
Notable:
- [Most important insight 1]
- [Most important insight 2]
Ready for [planning/contribution/implementation].Grep with appropriate file type filtersGlob patternsls and find via BashTask(
subagent_type="general-purpose",
model="sonnet",
prompt="""
# Repo Research Analyst
[This entire SKILL.md content]
---
## Your Context
### Repository Path:
/path/to/cloned/repo
### Research Focus:
[Optional: specific areas to investigate, e.g., "focus on API patterns"]
### Handoff Directory:
thoughts/handoffs/<session>/
---
Research the repository and create your handoff.
"""
)| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-03 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 16 counted toward the lift figure. The other 6 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +45 percentage points is the difference between those two pass rates over the 16 comparable cases.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.