/agentspec:visual-explainer:project-recapfrom agentspec
Generates a self-contained HTML project recap that summarizes recent commits, changes, architecture, and decisions to rebuild mental model. Accepts optional time window argument (e.g., '2w', '30d').
Ships in agentspec. Installing the plugin adds it to Claude Code.
Load the visual-explainer skill, then generate a comprehensive visual project recap as a self-contained HTML page.
Follow the visual-explainer skill workflow. Read the reference template, CSS patterns, and mermaid theming references before generating. Use a warm editorial or paper/ink aesthetic with muted blues and greens, but vary fonts and palette from previous diagrams.
Time window — determine the recency window from $1:
2w, 30d, 3m: parse to git's --since format (2w → "2 weeks ago", 30d → "30 days ago", 3m → "3 months ago")$1 doesn't match a time pattern, treat it as free-form context and use the default window2w (2 weeks)Data gathering phase — run these first to understand the project:
Project identity. Read README.md, CHANGELOG.md, package.json / Cargo.toml / pyproject.toml / go.mod for name, description, version, dependencies. Read the top-level file structure.
Recent activity. git log --oneline --since=<window> for commit history. git log --stat --since=<window> for file-level change scope. git shortlog -sn --since=<window> for contributor activity. Identify which areas of the codebase were most active.
Current state. Check for uncommitted changes (git status). Check for stale branches (git branch --no-merged). Look for TODO/FIXME comments in recently changed files. Read progress docs if they exist (~/.agent/memory/{project}/progress.md, ~/.pi/agent/memory/{project}/progress.md, .pi/todos/, or similar).
Decision context. Read recent commit messages for rationale. If running in the same session as recent work, mine the conversation history. Read any plan docs, RFCs, or ADRs in the project directory.
Architecture scan. Read key source files to understand the module structure and dependencies. Focus on entry points, public API surface, and the files most frequently changed in the time window.
Verification checkpoint — before generating HTML, produce a structured fact sheet of every claim you will present in the recap:
Optional hero image — if surf CLI is available (which surf), generate a hero banner via surf gemini --generate-image --aspect-ratio 16:9 that visually captures the project's identity or domain. Match the style to the page's palette. Embed as base64 data URI using the .hero-img-wrap pattern from css-patterns.md. Place above or just below the title. Skip if surf isn't available — the page should stand on its own.
Diagram structure — the page should include:
.mermaid-wrap with zoom controls (+/−/reset/expand buttons), Ctrl/Cmd+scroll zoom, click-and-drag panning, and click-to-expand (opens diagram full-size in new tab). See css-patterns.md "Mermaid Zoom Controls" for the full pattern including the openMermaidInNewTab() function. Visual treatment: this is the visual anchor — use hero depth (elevated container, larger padding, subtle accent-tinted background). The rest of the page hangs off this diagram.buildCoordinationInstructions explaining the 4 coordination levels — this function is called from 3 places and the behavior is non-obvious")Include responsive section navigation. Use a warm, approachable visual language: muted blues and greens for architecture, amber callouts for cognitive debt hotspots, green/blue/amber/red for state-of-things status. Overflow prevention on any side-by-side or grid-based sections: apply min-width: 0 on all grid/flex children and overflow-wrap: break-word. Never use display: flex on <li> for marker characters — use absolute positioning instead (see css-patterns.md Overflow Protection). Write to ~/.agent/diagrams/ and open in browser.
Ultrathink.
$@
What the command file sets; muted values are Claude Code's defaults
project-recap, visual-report, git-analysis, code-summary, mental-model
7-day visitors to each command page
npx claudepluginhub luanmorenommaciel/agentspec --plugin agentspec34 commands in this plugin
/core:meetingmeetingAnalyze meeting transcripts — extract decisions, action items, and create SSOT documents/core:memorymemorySave valuable insights from the current session to storage/core:readme-makerreadme-makerGenerate comprehensive, production-ready README.md by analyzing codebase with explorer + documenter agents/core:statusstatusGenerate a comprehensive project status report — active features, recent decisions, agent recommendations, and health assessment/core:sync-contextsync-contextSync project context to CLAUDE.md by analyzing codebase patterns and conventions/data-engineering:ai-pipelineai-pipelineRAG/embedding pipeline scaffolding — delegates to ai-data-engineer agent3 plugins ship this exact command · first indexed Mar 22, 2026
Other plugins' commands for the same job