Repository Analysis Guide
Initial Exploration
Directory Structure
- List top-level files and directories
- Identify configuration files
- Find entry points (main, index, app)
Technology Detection
- Look for package.json, pyproject.toml, Cargo.toml, etc.
- Check for framework-specific files
- Identify build tools and linters
Key Files to Read
- README.md - Project overview
- package.json / pyproject.toml - Dependencies and scripts
- Configuration files - Build, test, lint settings
- Source directory structure
Analysis Patterns
Web Projects:
- Check for src/, app/, pages/ directories
- Look for routing configuration
- Identify state management
Python Projects:
- Check for src/ or package directories
- Look for requirements.txt / pyproject.toml
- Find test directories
Rust Projects:
- Read Cargo.toml for dependencies
- Check src/ structure
- Look for examples/
Tools to Use
glob- Find files by patterngrep- Search for patternsread- Examine file contents- Task tool with
exploreagent for deep analysis
Output Format
Provide a concise summary including:
- Project type and primary language
- Key directories and their purposes
- Main dependencies/frameworks
- Entry points and key files
- Any notable patterns or conventions