By nikhilenmudi
Gate AI implementation behind visual developer approval with architecture diagrams
Stop AI from writing code you don't understand.
Comprendo is a Claude Code plugin that forces a review step between "plan" and "implement." When you type /comprendo <task>, Claude reads your codebase, builds a structured plan with architecture diagrams and code previews, then opens a browser UI where you review everything before a single file is touched.
No more coming back to a 12-file diff you have to reverse-engineer. You see exactly what's about to change, why, and how — then you decide.
AI coding assistants are fast. Sometimes too fast. You describe a change, and 30 seconds later you're staring at a diff across 8 files wondering:
Most developers approve changes they don't fully understand because the alternative — reading every diff line and mentally reconstructing the architecture — takes longer than the AI saved them.
Comprendo adds a gate between planning and execution. When you use /comprendo instead of asking Claude directly:
localhost:2345No files are written until you explicitly approve.
The browser shows a single-page dark-themed review with:
/plugin marketplace add nikhilenmudi/comprendo
/plugin install comprendo
/reload-plugins
That's it. No npm install, no build step, no dependencies.
git clone https://github.com/nikhilenmudi/comprendo.git
cd comprendo
npm link
mkdir -p ~/.claude/commands
cp skills/comprendo/SKILL.md ~/.claude/commands/comprendo.md
/comprendo add retry logic to the API client
/comprendo refactor the auth middleware into a service class
/comprendo add a /health endpoint that checks MongoDB connection status
Developer types /comprendo <task>
|
v
Claude reads relevant files, builds structured JSON plan
|
v
CLI starts local HTTP server, injects plan into review UI
|
v
Browser opens at localhost:2345
|
v
Developer reviews diagrams, explanation, code, files
|
┌────┴────┐
v v
Approve Reject
(exit 0) (exit 1)
| |
v v
Claude Claude stops,
implements asks what to
as planned change
Under the hood:
skills/comprendo/SKILL.md — instructs Claude to plan first, output structured JSON, then pipe it to the CLIcli.js — starts a local HTTP server, injects the plan data into the UI, waits for the developer's decision via POST endpointui.html — single-page review UI with custom SVG diagram renderer and highlight.js for codeZero dependencies. The CLI uses Node.js built-in http module. Diagrams are rendered as SVG directly from JSON — no Mermaid, no D3, no chart library. The only CDN dependency is highlight.js for syntax coloring.
(), /, {}, and other common characters in code. Our renderer takes JSON directly. No syntax to break.MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub nikhilenmudi/comprendo --plugin comprendoCodebase exploration, refactoring, and quality analysis
Explain code with one-sentence summary, mental model, ASCII diagram, and modification guide.
Give Claude Code a second opinion using OpenAI Codex - automatic plan review via hooks
[Beta] 6つの専門エージェントチームでコードベースのアーキテクチャを多角的に分析するスキル
Code transformation: Dev SDLC orchestrator (code-shipping pipeline), plan, assert, audit, review, test, refactor, debug, for-sure. Hosts engineering agents.
Make your AI agent code with your project's architecture, rules, and decisions.