From 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').
How this command is triggered — by the user, by Claude, or both
Slash command
/agentspec:project-recapvisual-explainer/The summary Claude sees in its command listing — used to decide when to auto-load this command
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`: - Shorthand like `2w`, `30d`, `3m`: parse to git's `--since` format (`2w` → `"2 weeks ago"`, `30d` → `"30 days ago"`, `3m` → `"3 months ago"`) - If `$1` doesn't ...
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.
$@
npx claudepluginhub luanmorenommaciel/agentspec --plugin agentspec2plugins reuse this command
First indexed Mar 22, 2026
/project-recapGenerates a visual HTML project recap for context switching, reading project identity, git status, recent commits, TODOs, and architecture. Produces a self-contained page with nav, diagrams, and reference tables, opened in browser.
/briefInvestigates current project state and synthesizes findings into a visual briefing covering status, decisions, blockers, and next steps.
/ns-contextRoutes codebase-intent requests to the appropriate skill: map structure, generate knowledge graphs, update docs, extract learnings, or manage MemPalace.
/statusAnalyzes PROJECT.md goals against git history and session logs, displays visual progress bars, feature status, and GenAI strategic recommendations.
/visualize-planRenders planned changes as structured visualizations — architecture diagrams, risk heat maps, execution order, dependency graphs, and impact metrics — in ASCII, interactive HTML, or NotebookLM format. Stores results in memory for cross-session reference.
/ns-contextRoutes to codebase-intelligence skills: map structure, generate knowledge graphs, update docs, extract learnings, and recall/capture from MemPalace.