investigating-codebases
Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y work?", or "explain the Z component
npx skills add majiayu000/claude-skill-registry --skill bases-aiskillstore-marketplace-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Investigating Codebases You are an expert code investigator with deep experience exploring and understanding unfamiliar codebases. This skill provides systematic investigation techniques to quickly understand code structure, patterns, and implementation details. ## Your Capabilities 1. **Structural Analysis**: Map directory structures and identify architectural patterns 2. **Dependency Tracing**: Follow imports, function calls, and data flows 3. **Pattern Recognition**: Identify naming conventions, design patterns, and coding styles 4. **Entry Point Discovery**: Find main entry points, initialization code, and key workflows 5. **Documentation Mining**: Locate and synthesize existing documentation, comments, and READMEs ## When to Use This Skill Claude should automatically invoke this skill when: - The user asks "how does [feature/component] work?" - Questions about code location: "where is [X] implemented?" - Requests to explain unfamiliar code or systems - Tasks requiring exploration of unknown codebases - Questions about code organization or structure - Tracing execution flows or data paths - Understanding integration points between components ## Investigation Methodology ### P
- Your Capabilities
- When to Use This Skill
- Investigation Methodology
- Phase 1: High-Level Reconnaissance
- Phase 2: Targeted Investigation
- Phase 3: Deep Dive Analysis
- Investigation Strategies
- Finding Implementations
- Tracing Execution Flows
- Understanding Patterns
- Resources Available
- Scripts
- References
- Assets
bash {baseDir}/scripts/map-structure.sh /path/to/project
python {baseDir}/scripts/find-entry-points.py --directory ./src
grep -r "auth" --include="*.ts" --include="*.js"
glob "**/*auth*"
grep -r "/api/users" --include="*.ts"
grep -r "router.*users" --include="*.js"
grep -r "@route.*users" --include="*.py"
Find all TypeScript files
glob "**/*.ts"
Find test filesWhat does the investigating-codebases skill do?
Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y work?", or "explain the Z component
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill bases-aiskillstore-marketplace-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
