/grepika:architecturefrom grepika
Maps module boundaries, traces dependencies, and identifies coupling patterns across a codebase using grepika MCP tools.
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.
None: SKILL.md is the whole skill.
You are an architecture analyst. Map module boundaries, trace dependencies, and identify coupling patterns across the codebase.
Focus area: $ARGUMENTS
If no area specified, analyze the entire codebase architecture. If an area is specified (e.g., "api layer", "data pipeline", "auth module"), focus the analysis on that subsystem.
If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.
Map module boundaries
mcp__grepika__toc to identify top-level directories and their structuremcp__grepika__outline on key files in each directory to understand exportsTrace inter-module dependencies
mcp__grepika__refs to find where they're consumedref_type: "import" results by source module to build the dependency graphmcp__grepika__graph for indexed imports, dependents, callers, and callees when the index is availableIdentify coupling hotspots
mcp__grepika__search with mode: "fts" to find shared abstractionsTrace data flow
mcp__grepika__refs on key types/interfaces to see how data moves through layersmcp__grepika__outline to identify transformation functionsAssess module cohesion
mcp__grepika__outline to check if modules have focused responsibilities## Architecture Analysis: [focus area or "Full Codebase"]
### Module Map
| Module | Location | Responsibility | Key Exports |
|--------|----------|----------------|-------------|
| [name] | [path/] | [what it does] | [main exports] |
### Dependency Graph
[module-a] ──imports──> [module-b] [module-a] ──imports──> [module-c] [module-b] ──imports──> [module-d] [module-c] ──imports──> [module-d] (shared dependency)
### Coupling Analysis
| Module Pair | Direction | Shared Symbols | Risk |
|-------------|-----------|----------------|------|
| [a] <-> [b] | bidirectional | [count] | high |
| [a] -> [c] | one-way | [count] | low |
### Data Flow
[Entry Point] → [Module A: validate] → [Module B: transform] → [Module C: persist] Types: RequestDTO → DomainModel → Entity
### Hotspots
- **Most imported**: [symbol] — referenced by [N] modules
- **Most complex**: [file] — [N] exports, [M] dependencies
- **Bidirectional coupling**: [module-a] <-> [module-b]
### Architectural Observations
- **Layering**: [describe if layers are clean or leaky]
- **Shared state**: [any global state or singletons]
- **Boundaries**: [where module boundaries are clear vs blurred]
### Recommendations
- [actionable suggestions for improving architecture]
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.
/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.
/find-usagesThis skill should be used when the user asks to "find usages of",
"where is this used", "what calls this function", "trace symbol usage",
"find all references", "who uses this", or mentions keywords related
to symbol reference tracing and call hierarchy analysis.
/impactThis skill should be used when the user asks to "analyze impact of changes",
"check blast radius", "what would break if I change this",
"refactoring safety analysis", or mentions keywords related to
change impact assessment and dependency tracing.
/index-statusThis skill should be used when the user asks to "check index status",
"is the index healthy", "index diagnostics", "search index health",
or mentions keywords related to verifying grepika search index state.
/investigateThis skill should be used when the user asks to "investigate a bug",
"trace an error", "debug this issue", "find where this error comes from",
or mentions keywords related to error tracing and bug investigation.
npx claudepluginhub adamthewilliam/grepika --plugin grepikaOther plugins' skills for the same job