kramme-cc-workflow/skills/kramme:visual:plan-review/SKILL.md
Generate a visual HTML plan review comparing current codebase state vs. a proposed implementation plan, with architecture diagrams, blast radius analysis, and risk assessment
npx skillsauth add abildtoft/kramme-cc-workflow kramme:visual:plan-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a comprehensive visual plan review as a single-file HTML page, comparing the current codebase against a proposed implementation plan. Diagrams render Mermaid/Chart.js from CDN, so viewing them requires network access.
Use this before implementation, against a plan, spec, or RFC document. To review changes that already exist on a branch or PR, use kramme:visual:diff-review instead.
Arguments: "$ARGUMENTS"
The local references/ and assets/ files supply the visual patterns for this skill. Load each one just in time as Workflow step 2 directs — read only the references and templates a given section actually needs, not all of them up front.
Use a blueprint/editorial aesthetic with current-state vs. planned-state panels, but vary fonts and palette from previous diagrams.
Think. Decide who is reviewing the plan, which current-vs-planned comparisons need the strongest emphasis, and which diagram types will clarify blast radius and risk.
Structure. Use the local templates and references to choose the rendering approach:
assets/architecture.html for text-heavy subsystem snapshotsassets/mermaid-flowchart.html for current/planned architecture, dependency graphs, and flowsassets/data-table.html for impact dashboards, ripple analysis, and review tablesreferences/css-patterns.md for layout patterns, zoom controls, depth tiers, and collapsible sectionsreferences/responsive-nav.md when the review spans 4+ sections and needs responsive navigationreferences/libraries.md for Mermaid theming, Chart.js, anime.js, and CDN usageStyle. Use typography, palette, and depth to separate current state, planned state, and risk. Avoid default app styling. Use CSS custom properties, atmospheric backgrounds, and motion only where it helps comprehension.
Deliver. Write the HTML file and open it in the browser as described in Output below.
$1 (path to a markdown plan, spec, or RFC document)$2 if provided, otherwise the current working directoryResolve the plan file before gathering any data:
$1 provided → stop and ask the user for the plan file path.$1 does not resolve to a readable file → stop and report the exact path tried and what is needed.If $2 is provided but is not a readable directory, stop and report the path; otherwise use the current working directory as the codebase root.
Read the plan file in full. Extract: problem statement, each proposed change (files to modify/create/delete), rejected alternatives, scope boundaries or non-goals.
Read every file the plan references. Also read files that import or depend on those files — the plan may not mention all ripple effects.
Map the blast radius. From the codebase, identify: what imports the files being changed, what tests exist for affected files, config files/types/schemas that might need updates, public API surface callers depend on.
Cross-reference plan vs. code. For each change the plan proposes, verify: does the referenced file/function/type exist? Does the plan's description of current behavior match the actual code? Are there implicit assumptions that don't hold?
Before generating HTML, produce a structured fact sheet of every claim you will present:
Plan summary — lead with the intuition: what problem does this plan solve, and what's the core insight behind the approach? Then scope: files touched, estimated scale, new modules planned. Hero depth: larger type 20-24px, accent-tinted background.
Impact dashboard — files to modify/create/delete, estimated lines added/removed, new test files, dependencies affected. Include completeness indicator: tests (green/red), docs updates (green/yellow/red), migration/rollback (green/grey).
Current architecture — Mermaid diagram of how the affected subsystem works today. Focus only on parts the plan touches. Wrap in .mermaid-wrap with zoom controls. Use matching layout direction and node names as section 4.
Planned architecture — Mermaid diagram of how the subsystem will work after implementation. Same node names and layout direction as current architecture. Highlight new nodes with accent border, removed nodes with reduced opacity, changed edges with different stroke color.
Change-by-change breakdown — for each change in the plan, a side-by-side panel:
Dependency & ripple analysis — what other code depends on files being changed. Table or Mermaid graph showing callers, importers, downstream effects. Color-code: covered by plan (green), not mentioned but likely affected (amber), definitely missed (red). Use <details> collapsed by default.
Risk assessment — styled cards for:
Plan review — structured Good/Bad/Ugly analysis:
Understanding gaps — closing dashboard rolling up decision-rationale gaps and cognitive complexity flags:
Visual hierarchy: Sections 1-4 dominate the viewport (hero depth for summary, elevated for architecture). Sections 6+ are reference material (flat/recessed, compact, collapsible).
Visual language: Blue/neutral for current state, green/purple for planned additions, amber for concerns, red for gaps/risks.
Write to ~/.kramme-cc-workflow/diagrams/plan-review-{descriptive-name}.html. Create the directory if needed. Re-running with the same {descriptive-name} overwrites the prior file in place — regenerating the report is the intended behavior. Open in browser:
open ~/.kramme-cc-workflow/diagrams/{filename}.htmlxdg-open ~/.kramme-cc-workflow/diagrams/{filename}.htmlstart "" ~/.kramme-cc-workflow/diagrams/{filename}.htmlReport the file path to the user. Include responsive section navigation.
Ultrathink.
development
One-way migration of a local SIW project into Linear. Creates one Linear project, migrates the main spec and supporting specs as Linear Documents, creates milestones from SIW phases and issues from SIW issues, then prompts to retire the local siw/ files via /kramme:siw:remove. Linear becomes the source of truth; this is not a two-way sync and keeps no rerun mapping, so re-running can duplicate issues. Use when moving a planned SIW initiative into Linear for good. Not for implementing issues, defining new SIW issues, or generating an issue breakdown.
development
Compare an existing PR's title and body against the actual branch diff and report drift — false claims, missing major changes, stale scope, missing risk callouts. Use after pushing changes to a branch with an open PR, or before requesting review. Read-only by default; add --fix to delegate to kramme:pr:generate-description for an updated description. Complements kramme:pr:code-review (which checks description accuracy as one signal among many code-quality checks) by being a fast, focused, single-purpose check that runs in seconds.
tools
Reviews plugin skills for focused scope, progressive disclosure, portability, safety, retry behavior, and documentation quality. Use when auditing a SKILL.md, skill directory, or proposed skill text against skill-authoring standards. Not for creating new skills, editing skills, or reviewing ordinary application code.
tools
Reviews recent agent session transcripts to find repeated manual workflows or repeated user asks, then proposes and optionally scaffolds only useful new skills or custom subagents. Use when the user asks to inspect recent sessions, find automation opportunities, or create reusable workflows from repeated work. Not for summarizing one session, general retrospectives, or codebase refactoring.