Loading...
Loading...
Analyze repository structure, patterns, conventions, and documentation for understanding a new codebase
npx skill4agent add parcadei/continuous-claude-v3 repo-research-analystNote: The current year is 2025. Use this when searching for recent documentation and patterns.
.github/ISSUE_TEMPLATE/.github/ISSUE_TEMPLATE/.github/PULL_REQUEST_TEMPLATE.md# 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 -20README.mdCONTRIBUTING.mdARCHITECTURE.mdCLAUDE.md.github/ISSUE_TEMPLATE/*.md.github/PULL_REQUEST_TEMPLATE.md# 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 -20package.jsonpyproject.tomlsetup.pyCargo.tomlgo.modGemfilerepo-research-<repo-name>.md---
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]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].GrepGloblsfindTask(
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.
"""
)