원클릭으로
review-diff
Generate a Markdown review file with C4 architecture diagrams and code walkthrough for the current git changes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate a Markdown review file with C4 architecture diagrams and code walkthrough for the current git changes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | review-diff |
| description | Generate a Markdown review file with C4 architecture diagrams and code walkthrough for the current git changes |
| allowed-tools | Bash(git *), Bash(mkdir *), Read, Glob, Grep, Write, Edit |
Generate a Markdown review file for the current uncommitted git changes (or a specified PR). Save it to .review/review.md.
The file must contain three sections:
A single Mermaid flowchart showing the system architecture with the changed/new components highlighted:
flowchart TD (top-down) for the diagramfill:#0d3320,stroke:#238636,stroke-width:3px,color:#aff0b5fill:#0d3320,stroke:#238636,stroke-width:3px,color:#aff0b5fill:#0d2044,stroke:#388bfd,stroke-width:2px,color:#79c0ffA Mermaid flowchart showing the internal logic flow of the changed component:
fill:#0d3320,stroke:#238636,stroke-width:2px,color:#aff0b5fill:#3d0f14,stroke:#da3633,stroke-width:2px,stroke-dasharray:5 5,color:#ffa198fill:#1c1c1c,stroke:#555,color:#aaaFor each logical chunk of the change:
```diff)Keep Mermaid node labels SHORT (under 25 characters) to prevent text truncation. Use the description table below each diagram for detailed explanations. Avoid \n for line breaks in labels — use single-line text or unicode separators like · or ‹›.
Always include this Mermaid init for dark theme rendering:
%%{init: {'theme': 'dark', 'flowchart': {'useMaxWidth': true}} }%%
git diff HEAD and git diff --stat HEAD to understand the changes.review/ directory if it doesn't exist.review/review.md with all three sections$ARGUMENTS — optional: a git ref, PR number, or branch name to diff against (defaults to uncommitted changes vs HEAD)Deep-investigate a codebase and generate a single-page project wiki at .docs/index.html. Use this skill whenever the user asks to "create a wiki", "generate docs", "document this project", "explain this codebase", "make a project wiki", or wants a comprehensive HTML overview of a repository. Also trigger when the user says /create-wiki. Even if the user just says "wiki" in the context of documentation, use this skill.
Walk through git changes step by step in a multi-turn conversational way. Use this skill whenever the user says /walkthrough, or asks to "walk me through the changes", "explain this diff", "walk through this PR", "explain what changed in this branch", or wants to understand code changes one file at a time. Also trigger when a user shows a git diff and wants a guided explanation.
Implements a plan, spec, or design doc by breaking it into small digestible chunks — working with the user to clarify, implement, and verify each one before moving on. Visualizes every change so the user stays fully informed and understands what was built and why. Use this skill whenever a user wants to implement a plan and you want to make sure they understand everything being built. Trigger on phrases like "implement the plan", "let's build this step by step", "execute this plan", "start implementing", "work through the design doc", or when picking up a plan from docs/plans/. Also use proactively when a task involves building multiple files or modules from a written spec. This skill exists specifically to prevent vibe-coding — where AI does a large batch of work the user ends up not understanding.