Skip to main content

sdd-4a-validate

Validate plan readiness before implementation with parallel quality gates. Use when: a plan has been created by the Architect phase and you want to verify completeness, doctrine compliance, and dependency ordering before starting implementation.

Datos de origen

Repositorio
willvelida/biotrackr
Última actividad en el origen
22 de agosto de 2026 a las 06:02
Idioma detectado de SKILL.md
inglés
Estrellas
6
Forks
3

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
sdd-4a-validate
description
Validate plan readiness before implementation with parallel quality gates. Use when: a plan has been created by the Architect phase and you want to verify completeness, doctrine compliance, and dependency ordering before starting implementation.
argument-hint
[slug=...] [plan=...]
# SDD Phase 4a: Validate Plan > [!CAUTION] > Do NOT modify any source files during this phase. This is a READ-ONLY validation command. Validate that a plan is ready for implementation by running parallel quality gates. ## Inputs * **slug** (Optional): Slug from prior phases. Inferred from context if omitted. * **plan** (Optional): Path to the plan file from Phase 4 (Architect). ## When to Read References Load only the reference the current problem needs: * Task table format the plan must conform to: `.github/instructions/sdd-conventions.instructions.md` * Whether the complexity score is defensible: `docs/standards/harness-governance.md` * Whether the plan cites real build and test commands: `AGENTS.md` ## Step 0: Doctrine Resolution Before starting, resolve project conventions: 1. Check for project doctrine files: * `docs/project-rules/` (constitution.md, rules.md, idioms.md, architecture.md) * `copilot-instructions.md`, `AGENTS.md`, `CONTRIBUTING.md`, `README.md` 2. If no doctrine found, scan the codebase for dependency manifests, build systems, and directory patterns. 3. Extract: build command, test command, coverage threshold, naming conventions, CI platform. 4. Unknown values become explicit `[TODO]` markers — never assume silently. ## Step 1: Load Plan Context 1. Read the plan file from `{plan}` or `.copilot-tracking/plans/{date}/{slug}/{slug}-plan.md`. 2. Read the specification for cross-reference. 3. Read the research dossier if it exists. 4. Read any workshop documents or ADRs created during this cycle. ## Step 2: Launch Parallel Validators Run these validators concurrently: 1. **Structure Validator** — verify the plan has all required sections: Purpose, Complexity Score, Goals, Non-Goals, Acceptance Criteria, Progress, Phases with task tables, Validation. 2. **Completeness Validator** — verify every acceptance criterion from the spec maps to at least one task in the plan. Flag unmapped criteria. 3. **Doctrine Validator** — verify the plan respects doctrine boundaries (naming conventions, module topology, service lifetimes, API patterns). 4. **Dependency Validator** — verify task dependencies are acyclic and phase ordering is logical. Flag tasks that reference files in later phases. Each validator produces findings with severity (CRITICAL, HIGH, MEDIUM, LOW). ## Step 3: Synthesize Verdict Aggregate all findings and issue a verdict: * **READY** — zero CRITICAL or HIGH findings. Proceed to implementation. * **NOT READY** — one or more CRITICAL or HIGH findings. List specific fixes needed. Present the findings table: ```markdown ## Validation Report ### Verdict: {READY | NOT READY} | # | Severity | Validator | Finding | Fix Required | |---|----------|-----------|---------|--------------| | 1 | {severity} | {validator name} | {description} | {specific fix} | ``` ## Step 4: Present Verdict Present the verdict and findings to the user. If NOT READY, the user can: 1. Fix the issues and re-run validation. 2. Override with explicit acknowledgment (proceed despite issues). --- > [!IMPORTANT] > **STOP.** Present the validation verdict. Do not proceed to implementation. The user decides whether to fix issues, override, or proceed.
Ver en GitHub