/pm-workspace:code-comprehension-reportfrom pm-workspace
Generates a mental model document after SDD implementation, documenting architecture decisions, failure heuristics, debugging guides, and implicit dependencies.
Ships in pm-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Addresses AI-generated code opacity. After an SDD dev-session, generate on request a mental model document explaining implementation decisions, failure points, debugging heuristics, and implicit dependencies.
Solo prosa: sin script, hook ni plantilla ejecutable. La ejecuta el agente
architect vía /comprehension-report. Nada se dispara solo (Savia lo sugiere,
la operadora confirma); los Quality Gates son criterios del agente, no
validación automática; el PNG exige mmdc (no es dependencia del workspace).
/comprehension-report {task-id}projects/{proyecto}/agent-notes/{ticket}-*.md)output/dev-sessions/{task-id}/phase-1-data.mdOutput: table format with Decision | Rationale | Alternatives | Risks
Output: .mermaid file embedded in report; PNG export only when mmdc is available
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-slug}-mental-model.md{task-slug}: task-id with chars outside [A-Za-z0-9._-] -> -
(AB#2847 -> AB-2847, sprint-12/feature-auth -> sprint-12-feature-auth)Input/output schemas and templates: references/schemas.md
coherence-validator)Triggered only by /comprehension-report {task-id}. Al cerrar una dev-session
Savia lo sugiere (docs/rules/domain/code-comprehension.md); no hay disparo automático.
Used by:
.opencode/skills/spec-driven-development/SKILL.md — generates specs that feed this skilldocs/rules/domain/code-review-rules.md y el agente cognitive-judge — evalúan "debuggable at 3AM" en el Code Review Court/comprehension-audit — cobertura de informes por proyecto (también solo prosa)What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: dependencies: Invalid input: expected array, received object, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
139 skills in this plugin
/adversarial-securityUsar cuando se necesita auditar la seguridad de un proyecto con pipeline Red Team / Blue Team./agent-code-mapUsar cuando un agente necesita conocer la arquitectura del proyecto sin leer ficheros completos./agent-file-mapUsar cuando se trabaja con ficheros externos al workspace que los agentes deben localizar./agent-messagingUsar cuando un agente debe enviar un mensaje a otro agente con roles y receipts, sin pasar por el usuario. Triggers: mensaje a otro agente, agent-message, notify agent, inbox./agent-runs-boardUsar cuando se lanza, supervisa o consulta un run autónomo (overnight-sprint, code-improvement-loop, tech-research-agent, SDD) y se necesita el ledger operativo con estado derivado. Triggers: 'registra el run', 'board de runs', 'estado del run', 'savia-runs', '¿en qué columna está mi run?', 'ci_failed', 'needs_input', 'merge_conflict'./ai-labor-impactUsar cuando se analiza el impacto de la IA en el trabajo del equipo o la organización.Other plugins' skills for the same job