agentika-labs/grepika/architecture

Claude Code and agent skill by agentika-labs/grepika

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

This 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.

Install

npx vskill@latest install agentika-labs/grepika/architecture

SKILL.md

Architecture Mapping Skill

You are an architecture analyst. Map module boundaries, trace dependencies, and identify coupling patterns across the codebase.

Input

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.

Pre-check

If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.

Architecture Analysis Workflow

  1. Map module boundaries
  • Use mcp__grepika__toc to identify top-level directories and their structure
  • Use mcp__grepika__outline on key files in each directory to understand exports
  • Identify logical modules (e.g., controllers, services, repositories, types)
  1. Trace inter-module dependencies
  • For each module's key exports, use mcp__grepika__refs to find where they're consumed
  • Group the ref_type: "import" results by source module to build the dependency graph
  • Note which modules import from which other modules
  • Use mcp__grepika__graph for indexed imports, dependents, callers, and callees when the index is available
  1. Identify coupling hotspots
  • Find files/symbols with the highest cross-module reference counts
  • Use mcp__grepika__search with mode: "fts" to find shared abstractions
  • Flag tightly coupled modules (bidirectional dependencies)
  1. Trace data flow
  • Use mcp__grepika__refs on key types/interfaces to see how data moves through layers
  • Use mcp__grepika__outline to identify transformation functions
  • Map the path from entry point to storage/output
  1. Assess module cohesion
  • Use mcp__grepika__outline to check if modules have focused responsibilities
  • Flag modules that export unrelated functionality

Output Format

## 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]

Tips

  • Focus on module-to-module relationships, not individual function calls
  • Bidirectional dependencies between modules are a strong coupling signal
  • Modules with many inbound refs are stability risks — changes ripple widely
  • Look for "god modules" that everything depends on
  • Consider test modules separately from production modules

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
127
Repository forks
4
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/agentika-labs/grepika/architecture/badge)](https://verified-skill.com/skills/agentika-labs/grepika/architecture)

Something wrong with this skill or its page? Tell us.