From agentspec
Generates a self-contained visual HTML recap of the project's current state, recent git activity, decisions, and cognitive debt hotspots over a time window (default: 2 weeks).
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 agentspec/project-recapGenerates a self-contained visual HTML recap of the project's current state, recent git activity, decisions, and cognitive debt hotspots over a time window (default: 2 weeks).
/briefGenerates a concise visual briefing on project state, progress, key decisions, blockers, and next steps from git status, specs, tasks, and context.
/ns-contextRoutes user intent to the appropriate codebase-intelligence skill — maps codebase structure, generates knowledge graphs, updates docs, or recalls/captures learnings.
/statusAnalyzes PROJECT.md goals against git history and session logs, displays visual progress bars, feature status, and GenAI strategic recommendations.
/visualize-planVisualizes planned code changes as structured ASCII diagrams with risk analysis, execution order, dependencies, and impact metrics. Auto-detects from git branch, descriptions, or GitHub issues.