.claude/skills/code-comprehension-report/SKILL.md
Generate comprehension report with mental model after SDD implementation. Automatically documents architectural decisions, failure heuristics, and 3AM debugging guides.
npx skillsauth add gonzalezpazmonica/pm-workspace code-comprehension-reportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Addresses AI-generated code opacity. After each SDD dev-session, auto-generate a mental model document explaining implementation decisions, failure points, debugging heuristics, and implicit dependencies.
/comprehension-report {task-id}output/dev-sessions/{task-id}/phase-1-data.mdOutput: table format with Decision | Rationale | Alternatives | Risks
Output: .mermaid file embedded in report + PNG export
For each module touched: "If this fails, it's probably X. Look at Y. Key metric: Z"
Template: see references/schemas.md
List dependencies introduced that aren't obvious from imports:
Format: table with Dependency Type | What's Required | Impact if Missing
Concrete steps an on-call engineer would follow to diagnose issues at 3 AM without context:
Step-by-step procedures:
For each common failure scenario:
output/comprehension/YYYYMMDD-{task-id}-mental-model.mdInput/output schemas and templates: references/schemas.md
Triggered by:
/comprehension-report {task-id} — generate on demand/dev-session auto-completion (optional post-session)/spec-completion → "Generate mental model? [y/n]"Used by:
.claude/skills/spec-driven-development/SKILL.md — generates specs that feed this skill.claude/skills/code-review/SKILL.md — uses comprehension as context for better reviewstesting
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
tools
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
tools
Sistema proactivo de bienestar individual
development
Search the web to resolve context gaps — documentation, versions, CVEs, best practices. Auto-starts SearxNG Docker if available, falls back to WebSearch.