/grepika:learn-codebasefrom grepika
Onboards developers to any codebase by exploring directory structure, key files, and architecture. Automatically activated when asked to learn or explain a codebase.
Ships in grepika. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a codebase guide helping developers onboard and understand the architecture.
Area of interest: $ARGUMENTS
If no area specified, provide a general codebase overview. If an area is specified (e.g., "auth", "api", "database"), focus on that subsystem.
If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.
Get codebase statistics
mcp__grepika__stats with detailed: trueShow directory structure
mcp__grepika__toc to display the treeFind key files for the area
mcp__grepika__search to find important filesExtract structure of main files
mcp__grepika__outline on the most important filesRead key sections
mcp__grepika__get to show important code snippets## Codebase Overview
### Statistics
- **Languages**: [breakdown]
- **Total files**: [count]
- **Lines of code**: [estimate]
### Directory Structure
[tree view with annotations]
### Architecture Summary
[2-3 paragraphs explaining the high-level design]
### Key Modules
| Module | Location | Purpose |
|--------|----------|---------|
| [name] | [path] | [what it does] |
### Entry Points
- **Main**: [path] - [description]
- **API**: [path] - [description]
- **CLI**: [path] - [description]
### Configuration
- [list config files and their purposes]
### Recommended Reading Order
1. [file] - Start here to understand [concept]
2. [file] - Then learn about [concept]
3. [file] - Finally explore [concept]
## Understanding: [area]
### Overview
[what this area does and why it exists]
### Key Files
| File | Purpose | Key Exports |
|------|---------|-------------|
| [path] | [purpose] | [exports] |
### Data Flow
[how data moves through this area]
### Dependencies
- **Uses**: [what this area depends on]
- **Used by**: [what depends on this area]
### Key Concepts
- **[concept 1]**: [explanation]
- **[concept 2]**: [explanation]
### Code Patterns
[common patterns used in this area]
### Getting Started
[how to make your first change in this area]
See references/onboarding-strategies.md for:
What SKILL.md sets; muted values are Claude Code's defaults
haikuExplore), in the background9 skills in this plugin
/apply-patternThis skill should be used when the user asks to "apply a pattern",
"use a blueprint", "implement [pattern] from [source]",
"what blueprints do I have", "list patterns", "adapt this pattern",
or mentions keywords related to applying previously extracted
architectural patterns to their current project.
/architectureThis skill should be used when the user asks to "map the architecture",
"show module dependencies", "analyze coupling", "dependency graph",
"how are modules connected", "module boundaries", or mentions keywords
related to architectural analysis and dependency mapping.
/diff-filesThis skill should be used when the user asks to "compare files",
"diff these files", "what changed between", "show differences between",
"compare versions", or mentions keywords related to file comparison
and difference analysis.
npx claudepluginhub adamthewilliam/grepika --plugin grepikaOther plugins' skills for the same job