codemap-dev
Code understanding plugin for developers. Helps onboard to unfamiliar projects through beginner-friendly code review, step-by-step explanations, visual diagrams (architecture, ERD, flows) via drawio-mcp, and frontend testing via Playwright MCP.
v1.4.7Updated
- codemap
- onboarding
- code-review
- diagrams
- drawio
- architecture
- erd
- playwright
- frontend-testing
Install
Pick your agent for the steps.
Install on Claude Code
1.Add the marketplace
/plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
/plugin install codemap-dev@agents-store-claude-pluginsType it inside Claude Code.
Install on GitHub Copilot CLI
1.Add the marketplace
copilot plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
copilot plugin install codemap-dev@agents-store-claude-plugins
GitHub Copilot CLI does not receive: commands, agents.
Install on Cursor
1.Manual install
Cursor has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Cursor reads plugins from.
Cursor’s plugin documentation now lives at docs.grok.com (cursor.com/docs/plugins redirects there). Plugins come from its marketplace, a team marketplace or a local folder.
Install on Codex
1.Add the marketplace
codex plugin marketplace add Agents-Store/codex-plugins2.Install the plugin
codex plugin add codemap-dev@agents-store-codex-plugins
Codex does not receive: commands, agents.
Install on Gemini CLI
1.Clone the mirror
git clone https://github.com/Agents-Store/gemini-extensions2.Install the plugin
gemini extensions link ./gemini-extensions/codemap-devRun it from the folder you cloned into.
Consumer access to Gemini CLI ended on 2026-06-18. This target serves enterprise Gemini Code Assist; Antigravity is the consumer successor.
Install on Antigravity
1.Clone the mirror
git clone https://github.com/Agents-Store/antigravity-skills2.Install the plugin
agy plugin install ./antigravity-skills/codemap-devRun it from the folder you cloned into.
Antigravity does not receive: commands.
Install on Kimi Code
1.Clone the mirror
git clone https://github.com/Agents-Store/kimi-plugins2.Install the plugin
/plugins install ./kimi-plugins/codemap-devRun it from the folder you cloned into, and type it inside Kimi Code.
Kimi Code does not receive: commands, agents, hooks, MCP servers.
Install on Devin
1.Install the plugin
devin plugins install Agents-Store/devin-plugins#codemap-dev
Devin does not receive: commands, agents, hooks, MCP servers.
Install on Hermes Agent
1.Install the plugin
hermes plugins install Agents-Store/hermes-plugins/codemap-dev
Hermes Agent does not receive: commands, agents, hooks, MCP servers.
Install on OpenCode
1.Manual install
OpenCode has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place OpenCode reads plugins from.
OpenCode does not receive: hooks.
Install on Pi
1.Manual install
Pi has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Pi reads plugins from.
Pi does not receive: commands, agents, hooks, MCP servers.
Install on OpenClaw
1.Clone the mirror
git clone https://github.com/Agents-Store/openclaw-generated-plugins2.Install the plugin
openclaw plugins install ./openclaw-generated-plugins/codemap-devRun it from the folder you cloned into.
OpenClaw does not receive: commands, agents, hooks, MCP servers.
Install on Agent Plugins 1.0
1.Manual install
Agent Plugins 1.0 has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Agent Plugins 1.0 reads plugins from.
Agent Plugins 1.0 does not receive: commands, agents, hooks.
What is inside
Skills (5)
- codemap-diagram
This skill should be used when the user asks to "draw a diagram", "visualize architecture", "show me the database schema", "create an ERD", "sequence diagram", "flow diagram", "dependency graph", "architecture diagram", "C4 diagram", or needs any visual representation of code structure, data flow, or system architecture. All diagrams are generated as native mxGraph XML and rendered via drawio-mcp. Also triggers when a code explanation would benefit from a visual aid.
- codemap-examples
This skill should be used when the user asks for "codemap examples", "how to use codemap", "show me what codemap can do", "codemap walkthrough", or wants to see end-to-end usage scenarios for the codemap plugin.
- codemap-explain
Use when the user wants existing code explained as a learner - what a file, function or module does, how a request or data flows through the project, why it was built that way, or a tour of a codebase. Gives a structured step-by-step explanation (context, data flow, details, pitfalls) pitched at the user's level, preferred to an ad-hoc answer when the user is learning the code. Not for code review (codemap-review) or diagrams (codemap-diagram).
- codemap-review
Use when a developer asks for feedback on code they wrote - to review it, check their work, say what is wrong with it or what to improve - whether it is a pasted snippet, a file, a diff or a pull request. Returns findings ranked by severity, each with why it matters and a fix, plus what is done well, pitched for learners. Not for explaining how code works (codemap-explain) or testing a running app (frontend-test).
- frontend-test
This skill should be used when the user asks to "test the frontend", "check the UI", "explore the app in a browser", "test my admin panel", "find frontend bugs", "check for console errors", "verify the app works in a browser", "test user flows", "check the website", or wants a comprehensive frontend health report for a running application. Also triggers when the user says "open my app and test it", "browse my app", "check if the UI is working", or "give me a frontend report". Uses Playwright MCP to navigate, interact, and diagnose.
Commands (7)
- db
Parse models, migrations, or schema and generate an ERD diagram + DB documentation
- diagram
Generate a specific diagram — architecture, flow, db, sequence, deps
- explain
Step-by-step explanation of a file, function, or module with mini-diagram if appropriate
- flows
Find main user flows (entry points → services → DB) and visualize them
- onboard
Generate a full onboarding report — README summary, stack, folder structure, entry points, how to run locally, and 3 main diagrams (architecture, main flow, DB)
- review
Review a file, directory, or PR diff in beginner-friendly mode — structured feedback with "why" explanations
- test-frontend
Test a running app's frontend — navigate pages, check UI, find errors, generate report
Agents (4)
- architect-explainer
Use this agent when the user wants to understand project architecture, how components connect, what a module does, or needs a guided tour of a codebase. <example> Context: User just joined a project and wants to understand it user: "Explain the architecture of this project to me" assistant: "I'll use the architect-explainer agent to analyze and explain the project structure." <commentary> New developer needs a guided tour of the project architecture. </commentary> </example> <example> Context: User wants to understand a specific module user: "How does the authentication system work in this project?" assistant: "I'll use the architect-explainer agent to trace and explain the auth flow." <commentary> Developer wants to understand a specific subsystem with context. </commentary> </example> <example> Context: User wants to understand data flow user: "How does data flow from the form to the database in this app?" assistant: "I'll use the architect-explainer agent to trace the data flow." <commentary> Developer wants to understand the request lifecycle. </commentary> </example>
- code-reviewer
Use this agent when the user wants a code review with beginner-friendly explanations — reviewing files, PRs, diffs, or asking about code quality, security, or style issues. <example> Context: User wants feedback on a specific file user: "Review routes/deals.py for me" assistant: "I'll use the code-reviewer agent to analyze the file." <commentary> Developer wants a beginner-friendly code review of a specific file. </commentary> </example> <example> Context: User wants to understand what's wrong with their code user: "What mistakes am I making in this file?" assistant: "I'll use the code-reviewer agent to identify issues and explain them." <commentary> Beginner developer wants to learn from their mistakes with explanations. </commentary> </example> <example> Context: User wants a PR reviewed user: "Review PR #15 and explain issues for a junior developer" assistant: "I'll use the code-reviewer agent to review the PR diff." <commentary> Developer wants a PR review with educational explanations. </commentary> </example>
- diagrammer
Use this agent when the user wants to generate visual diagrams of code — architecture diagrams, ERDs, sequence diagrams, flow charts, dependency graphs, or any visual representation. <example> Context: User wants a database diagram user: "Generate an ERD for this project's database" assistant: "I'll use the diagrammer agent to analyze models and create the ERD." <commentary> Developer wants a visual ERD from the project's models. </commentary> </example> <example> Context: User wants an architecture overview user: "Draw me the architecture of this application" assistant: "I'll use the diagrammer agent to create an architecture diagram." <commentary> Developer wants a C4-style architecture diagram. </commentary> </example> <example> Context: User wants a flow diagram user: "Show me the login flow as a sequence diagram" assistant: "I'll use the diagrammer agent to trace and visualize the login flow." <commentary> Developer wants a sequence diagram for a specific endpoint. </commentary> </example>
- frontend-tester
Use this agent when the user wants to test the frontend of a running application — navigate pages, check UI elements, test forms, find console errors, verify user flows, or generate a frontend health report. <example> Context: User wants to verify their app's frontend works user: "Test the frontend of my app running on localhost:3000" assistant: "I'll use the frontend-tester agent to navigate and test the app." <commentary> Developer wants automated frontend exploration and testing of their running app. </commentary> </example> <example> Context: User wants to check their admin panel user: "Check the admin panel at localhost:8080/admin for UI issues" assistant: "I'll use the frontend-tester agent to explore and test the admin panel." <commentary> Developer wants to verify an admin interface for broken elements and errors. </commentary> </example> <example> Context: User wants a comprehensive frontend report user: "Give me a full report on how the frontend works and any issues" assistant: "I'll use the frontend-tester agent to do a thorough frontend analysis." <commentary> Developer wants a structured report covering pages, flows, errors, and UI health. </commentary> </example>
MCP servers (2)
- drawio http
- playwright stdio
README
Code understanding plugin for Claude Code. Helps developers (especially beginners) quickly onboard to unfamiliar projects through structured code review, step-by-step explanations, and visual diagrams via drawio-mcp.
What It Does
- Onboarding: Generates a full onboarding package — project overview, architecture docs, and 3 key diagrams
- Code Review: Beginner-friendly review with "why" explanations, not just "fix this"
- Code Explanation: 4-layer model (Context → Data Flow → Details → Pitfalls)
- Diagrams: Architecture, ERD, user flows, sequence diagrams — all as native .drawio files via drawio-mcp
- Frontend Testing: Navigate a running app, test forms and interactions, collect console/network errors — via Playwright MCP
Usage Modes
| How you invoke | What happens |
|---|---|
/codemap-dev:review file.py (command) | Agent launches automatically |
/codemap-dev:explain app.py (command) | Agent launches automatically |
/codemap-dev:diagram architecture (command) | Agent launches automatically |
/codemap-dev:test-frontend localhost:3000 (command) | Agent launches automatically |
| "review file.py" (chat trigger) | Skill triggers → asks: agent or inline? |
| "explain app.py" (chat trigger) | Skill triggers → asks: agent or inline? |
| "test the frontend" (chat trigger) | Skill triggers → asks: agent or inline? |
Commands always delegate to specialized agents. Skills (auto-triggered by chat) give you the choice.
Requirements
- drawio-mcp — public HTTP MCP server (auto-configured by plugin, no API key needed)
- Playwright MCP — local stdio server, auto-installed via
npx @playwright/mcp@0.0.86(requires Node.js 20 or later)
Commands
| Command | Description |
|---|---|
/codemap-dev:onboard | Full onboarding report + 3 diagrams (architecture, main flow, ERD) |
/codemap-dev:review <path|PR#> | Beginner-friendly code review |
/codemap-dev:explain <path|symbol> | Step-by-step code explanation |
/codemap-dev:diagram <type> [scope] | Generate specific diagram (architecture, flow, db, sequence, deps) |
/codemap-dev:db | Parse models/migrations and generate ERD + DB documentation |
/codemap-dev:flows | Discover and visualize main user flows |
/codemap-dev:test-frontend [url] | Test running app's frontend — navigate pages, check UI, find errors, generate report |
Skills (auto-triggered in chat)
| Skill | Triggers when... |
|---|---|
codemap-review | User asks to review code, check quality, find issues |
codemap-explain | User asks to explain code, understand a file/function. Asks about depth (overview/moderate/deep dive) and aspect of interest before explaining. Ref: explanation-patterns.md |
codemap-diagram | User asks for a diagram, visualization, ERD, flow chart |
frontend-test | User asks to test the frontend, check UI, find browser errors, verify app works |
Agents
| Agent | Role | Model |
|---|---|---|
code-reviewer | Focused code review with educational feedback | Opus |
architect-explainer | Architecture analysis and guided project tours | Opus |
diagrammer | Diagram generation via drawio-mcp | Sonnet |
frontend-tester | Frontend testing via Playwright MCP | Sonnet |
Output Artifacts
All generated files are saved to docs/codemap/ in the project:
docs/codemap/ONBOARDING.md— summary document for newcomersdocs/codemap/ARCHITECTURE.md— textual architecture description with diagram linksdocs/codemap/DB.md— database schema description + ERDdocs/codemap/FLOWS.md— main user flows with diagramsdocs/codemap/FRONTEND.md— frontend testing report (pages, errors, recommendations)docs/codemap/diagrams/*.drawio— all generated diagrams (open with draw.io)
Diagram Types
| Type | Command | Use for |
|---|---|---|
| C4 Container | diagram architecture | System overview — services, databases, external APIs |
| Flowchart | diagram flow <feature> | User action step-by-step progression |
| ERD | diagram db or db | Database tables and relationships |
| Sequence | diagram sequence <endpoint> | Request lifecycle between components |
| Dependency | diagram deps <module> | Module import/dependency graph |
Principles
- All diagrams are native mxGraph XML rendered via drawio-mcp — no Mermaid
- Skills are reusable: work both in commands and when users ask questions in chat
- Review feedback explains "why", not just "what" to fix
- Explanations use real names from code, not generic labels
Source
- Source on GitHub
- Mirror: Agents-Store/claude-plugins
- Mirror: Agents-Store/cursor-plugins
- Mirror: Agents-Store/codex-plugins
- Mirror: Agents-Store/gemini-extensions
- Mirror: Agents-Store/antigravity-skills
- Mirror: Agents-Store/kimi-plugins
- Mirror: Agents-Store/devin-plugins
- Mirror: Agents-Store/hermes-plugins
- Mirror: Agents-Store/opencode-plugins
- Mirror: Agents-Store/pi-extensions
- Mirror: Agents-Store/openclaw-generated-plugins
- Mirror: Agents-Store/agentplugins