# Plan Readiness Review > Revisión adversarial de un PRD, plan, spec, RFC o documento de diseño para decidir si está listo para implementarse sin que el ingeniero tenga que inventar nada. Fuente: https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/plan-readiness-review Markdown: https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/plan-readiness-review.md Repositorio: https://github.com/Security-Phoenix-demo/security-skills-claude-code Autor: Security-Phoenix-demo Licencia: MIT Actualizado: hace 2 meses Coste de contexto: 271 tok instalada, 2.6k tok al activarse, 4.4k tok con todos los archivos del bundle Bundle: 3 archivos, 17 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add Security-Phoenix-demo/security-skills-claude-code --skill plan-readiness-review --agent claude-code # Cursor npx -y skills add Security-Phoenix-demo/security-skills-claude-code --skill plan-readiness-review --agent cursor # Codex npx -y skills add Security-Phoenix-demo/security-skills-claude-code --skill plan-readiness-review --agent codex # Gemini CLI npx -y skills add Security-Phoenix-demo/security-skills-claude-code --skill plan-readiness-review --agent gemini # Windsurf npx -y skills add Security-Phoenix-demo/security-skills-claude-code --skill plan-readiness-review --agent windsurf # Cline npx -y skills add Security-Phoenix-demo/security-skills-claude-code --skill plan-readiness-review --agent cline ``` ## Qué hace - Extrae un inventario de requisitos numerados (R-001, R-002...) con anclas de origen desde el documento - Evalúa cada requisito contra 7 criterios de preparación (ambigüedad, criterios de aceptación, esquema, contrato, errores, límites no funcionales, propiedad de decisión) - Ejecuta barridos transversales: coherencia, secuenciación, seguridad, fallos, observabilidad, rollout/rollback, cumplimiento - Aplica una pasada de falsificación: implementación literal, divergencia de dos ingenieros, entradas hostiles - Produce un veredicto READY/NOT READY con porcentajes, severidades y un registro de supuestos sin resolver ## Cuándo usarla - Alguien pide revisar un plan, PRD, spec, RFC, diseño o ticket antes de construirlo - Preguntan "¿está esto listo para implementar?", "revisa mi plan", "busca agujeros en esto" - Te entregan artefactos de planificación y preguntan si el trabajo puede empezar - Solo piden "échale un vistazo a este spec" ## Cuándo no - Si ya existe código funcionando y la pregunta es si puede salir a producción, usa production-readiness-review en su lugar ## Qué la activa - "¿Está este PRD listo para implementar?" - "Revisa este spec y dime si un ingeniero sabría qué construir" - "Poke holes en este diseño antes de que empecemos a programar" - "¿Es esta ficha de Jira suficientemente completa para asignarla?" ## Antes de instalar - Necesita acceso al documento/plan bajo revisión (rutas, URLs o IDs de ticket) y, si aplica, archivos de referencia como ambiguity-patterns.md y output-template.md. ## Archivos - SKILL.md — 10 KB - references/ambiguity-patterns.md — 5 KB - references/output-template.md — 2 KB ## SKILL.md Reproducido tal cual desde Security-Phoenix-demo/security-skills-claude-code bajo MIT. Esta sección es el documento original y está en inglés. # Plan readiness review One question decides everything here: **could a competent senior engineer who was not in any of the meetings implement this correctly, without inventing anything?** Every check below is a way of attacking that question. Anything an implementer would have to decide for themselves is a gap in the plan, not a detail for later — an implementer's guess is an unreviewed product decision made by whoever happened to pick up the ticket. Approving a weak plan is the expensive failure mode. A rejected plan costs a day; an ambiguous plan that reaches production costs a rewrite. Bias towards NOT READY and say precisely what would change the verdict. ## Phase 0 — Input contract Before reading anything in depth, state what is under review. If any of these are unknown and cannot be inferred, ask once, in one message, then proceed with what is available and mark the rest as a scope limit in the output. - Artefacts under review (paths, doc URLs, ticket IDs) and their versions or dates. - What is explicitly out of scope for this review. - Target: greenfield, change to an existing system, or integration. For changes, name the system being changed — plan quality depends on whether the existing behaviour is pinned. - Whether code exists yet. If it does, this skill covers the plan only; the code question belongs to `production-readiness-review`. - Who decides the open product questions (name a person, not a team). Record the exact scope in the output. A review with an unstated denominator is unusable. ## Phase 1 — Requirement inventory Extract every requirement, acceptance criterion, and implied obligation into a numbered inventory before judging any of them. Judging as you read produces a review biased towards whatever the document mentions loudly. - Stable IDs: `R-001`, `R-002`, … Keep IDs stable across re-runs so a second review shows a delta rather than a new list. - Each row carries a source anchor (`§3.2`, `p4`, `PROJ-123`, line number). No anchor means it is inferred, not stated — tag it `[implied]`, and an implied requirement is itself a finding. - Capture obligations hidden in prose ("naturally this is audited", "should be fast") as first-class requirements. These are where plans usually fail. - Include non-functional requirements, migration/backfill steps, and rollout steps as requirements. If the plan has none, that absence is a finding, not an empty section. The count of this inventory is the denominator for every percentage reported later. ## Phase 2 — Per-requirement readiness test Score each requirement against these seven checks. A requirement is READY only when all seven pass; otherwise it is a GAP (or UNVERIFIABLE where the answer lives in a system or document you were not given access to — record what you would need). 1. **Unambiguous** — one reasonable reading. Check against `references/ambiguity-patterns.md`; it lists the specific words and shapes that reliably produce divergent implementations. 2. **Testable acceptance criteria** — states an observable outcome with a threshold, not an intention. "Fast" fails; "p95 < 300 ms at 50 rps on the current dataset" passes. 3. **Data and schema defined** — entities, fields, types, nullability, defaults, retention, and where state lives. Include the migration and backfill for existing rows. 4. **Contract defined** — API shape, event schema, or UI states, including auth, pagination, idempotency, and versioning where relevant. 5. **Error behaviour defined** — what happens on invalid input, dependency failure, timeout, partial write, and concurrent access. "Handle errors gracefully" is a gap. 6. **Non-functional bounds** — load, latency, data volume, concurrency, retention, cost limits where the requirement is sensitive to any of them. 7. **Decision ownership** — no requirement leaves a product or architectural choice to the implementer. If a choice is deliberately delegated, the plan must say so and name the boundaries within which the implementer may choose. ## Phase 3 — Cross-cutting sweeps Requirement-by-requirement review misses everything that lives between requirements. Run these sweeps over the plan as a whole: - **Coherence** — requirements that contradict each other, or contradict the architecture section. Quote both sides. - **Sequencing and dependencies** — work that cannot start until an external team, vendor, contract, or data migration lands. Unsequenced dependencies are a delivery risk with a schedule cost, so flag them at High even when each requirement is individually clear. - **Security by design** — trust boundaries crossed, authn/authz per new surface, tenant and data isolation, secrets handling, PII classification and retention, audit trail, input validation at the boundary, third-party data flow. A plan that never names its trust boundaries cannot be implemented securely by accident. - **Failure and recovery** — what degraded mode looks like, what is retried, what is idempotent, what needs a dead-letter path, what a human has to do at 3am. - **Observability** — for each failure mode the plan anticipates, the signal that would reveal it. A failure mode with no signal is undetectable in production. - **Existing behaviour** — what currently works that this could break: shared tables, shared endpoints, consumers of changed contracts, cached data, permissions. - **Rollout, flags, rollback** — flag defaults, dark launch, back-out path, and whether any step is irreversible (schema drops, data deletion, external writes). An irreversible step with no back-out plan is Critical. - **Compliance and regulatory hooks** where the domain implies them (UK GDPR, DORA, NIS2, SOC 2, NCSC/NIST guidance). Name the specific obligation, not the framework. ## Phase 4 — Falsification pass Confirming what a document contains is not review. Run three deliberate attacks and report what each produced: 1. **Literal implementation** — implement the plan exactly as written, in the laziest compliant way. Where does that produce something the author would reject? That gap is under-specification. 2. **Two-engineer divergence** — pick the three most consequential requirements and describe two defensible, incompatible implementations of each. Any requirement where this is easy is not implementation-ready. 3. **Hostile input and abuse** — a malicious authenticated user, a hostile tenant, a replayed request, a 100× payload. Which requirement has no answer? ## Severity rubric Use these definitions rather than intuition, so severities stay comparable across reviews. | Severity | Definition | |---|---| | **Critical** | Would ship a security or data-integrity defect: undefined authz/isolation, undefined data handling for sensitive data, irreversible step with no back-out, or a requirement whose two readings differ in whether data is lost. | | **High** | Materially unimplementable as written: an implementer must invent a contract, schema, behaviour, or acceptance criterion; contradictory requirements; unsequenced hard dependency; missing failure behaviour on a primary path. | | **Medium** | Implementable but likely to be got wrong or reworked: vague thresholds, thin edge-case coverage, missing observability, unclear ownership. | | **Low** | Clarity, structure, naming, or documentation debt. Does not affect what gets built. | ## Output Use `references/output-template.md` verbatim. Rules that keep the output honest: - **Every issue**: `Severity → Requirement/area → Evidence (anchor) → Gap → Required fix`. The required fix is a concrete edit to the plan ("add response schema and error codes for POST /v1/x"), not "clarify this". - **Never emit a percentage without its counts.** `Plan completeness: 71% (32/45 requirements READY; 9 GAP, 4 UNVERIFIABLE)`. A percentage with no denominator is an invented number. - Requirements you did not check are UNVERIFIABLE with a reason. Never count them as ready. - **Unresolved assumptions** get their own register: assumption, why it cannot be derived from the plan, the default you would suggest, the owner who must decide, and the cost of deciding late. Never resolve a product question by guessing and never quietly change a requirement to make the plan coherent — propose the change and mark it as needing a decision. - Verdict rule: **NOT READY if any Critical or High issue is open.** No partial approvals, no "ready with caveats". Give the exact list of edits that would flip the verdict. ## Working on the fixes If asked to fix the plan rather than just review it, work in severity order, one issue at a time, and rewrite the plan text itself — a review comment is not a fix. After each edit, re-run Phase 2 on the affected requirements and update the counts. Product decisions stay in the unresolved register until the named owner answers; do not clear them by writing a plausible answer into the plan. Hand off to `production-readiness-review` once code exists. ## Dónde encaja - Categoría: [Herramientas para desarrolladores](https://skillsagentes.com/categorias/herramientas-desarrollo.md) — Skills que cambian cómo tu agente escribe, revisa y despliega código. - Creador: [Security-Phoenix-demo](https://skillsagentes.com/creators/security-phoenix-demo.md) — 27 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Cti Domain Research](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/cti-domain-research.md): Busca inteligencia de amenazas, CVEs, análisis de malware e informes de brechas en más de 300 dominios de seguridad curados, con ingesta opcional a NotebookLM. - [Notebooklm](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/notebooklm.md): Consulta tus notebooks de Google NotebookLM desde Claude Code y obtén respuestas de Gemini basadas en tus fuentes, con citas y alucinaciones drásticamente reducidas. - [Prd Generator](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/prd-generator.md): Genera un PRD completo con enfoque de seguridad a partir de una descripción en lenguaje llano: documento estructurado, página en Confluence, plan para .cursor/plans/ y markdown descargable. - [Phoenix Research Pipeline](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/phoenix-research-pipeline.md): Pipeline automatizado que busca en YouTube, web (Brave/Scrapling) y Reddit sobre un tema de seguridad y envía los resultados a NotebookLM con prompts de marca Phoenix (blog, diapositivas, vídeo). - [Project Documenter](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/project-documenter.md): Genera documentación de nivel profesional para cualquier proyecto de software, con cinco modos: Express, General, IA/LLM, Arquitectura y Full, produciendo siempre DOC_INDEX.md y CLAUDE.md. ## Skills relacionadas - [Cti Domain Research](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/cti-domain-research.md): Busca inteligencia de amenazas, CVEs, análisis de malware e informes de brechas en más de 300 dominios de seguridad curados, con ingesta opcional a NotebookLM. - [Notebooklm](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/notebooklm.md): Consulta tus notebooks de Google NotebookLM desde Claude Code y obtén respuestas de Gemini basadas en tus fuentes, con citas y alucinaciones drásticamente reducidas. - [Phoenix Research Pipeline](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/phoenix-research-pipeline.md): Pipeline automatizado que busca en YouTube, web (Brave/Scrapling) y Reddit sobre un tema de seguridad y envía los resultados a NotebookLM con prompts de marca Phoenix (blog, diapositivas, vídeo). - [Project Documenter](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/project-documenter.md): Genera documentación de nivel profesional para cualquier proyecto de software, con cinco modos: Express, General, IA/LLM, Arquitectura y Full, produciendo siempre DOC_INDEX.md y CLAUDE.md. - [Phoenix Ambiguity Hunter](https://skillsagentes.com/skills/security-phoenix-demo/security-skills-claude-code/phoenix-ambiguity-hunter.md): Rol 05 del pipeline de especificación Phoenix Security: detecta fallos de aislamiento multi-tenant, agujeros de seguridad en agentes IA, controles de auth ausentes y deriva en RFC 2119. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)