<< All versions
Skill v1.0.0
currentAutomated scan100/100bang-isme/codexai---skills/codex-spec-driven-development
──Details
PublishedSeptember 27, 2026 at 07:53 AM
Content Hashsha256:d7a53893ac4ee49d...
Git SHA4d28b6784691
──Files
Files (1 file, 2.3 KB)
SKILL.md2.3 KBactive
SKILL.md · 45 lines · 2.3 KB
version: "1.0.0" name: codex-spec-driven-development description: Use for prototype, MVP, fullstack feature, from-scratch feature, or multi-domain work that needs a SPEC.md before planning or implementation. Do not use for tiny one-file edits. load_priority: on-demand
TL;DR
Use before $prototype, MVP, fullstack, or high-ambiguity feature work. Write .codex/specs/<slug>/SPEC.md first, then plan, delegate, implement, and validate against acceptance criteria.
Activation
- Activate on
$spec,$prototype, "spec-driven", "MVP", "fullstack prototype", "from scratch", or "build whole app". - Activate when a task spans frontend + backend, data, QA, or deployment concerns.
- Activate when requirements are ambiguous enough that coding first would create rework.
Hard Rules
- Do not implement prototype/fullstack work before a spec exists.
- Specs must include requirements, non-goals, acceptance criteria, FE/BE/data/QA impact, and validation plan.
- Specs must include
Schema-Version: 1.0, AC IDs such asAC-001, and a traceability table mapping changed files to AC IDs and validation commands. - Keep specs project-local under
.codex/specs/; do not always load every spec. - Use
check_spec.pyafter code changes when.codex/specs/exists. - Treat spec checks as advisory in quality gate unless the user makes spec compliance mandatory.
Commands
bash
python "<SKILLS_ROOT>/codex-spec-driven-development/scripts/init_spec.py" --project-root <path> --title "<title>"python "<SKILLS_ROOT>/codex-spec-driven-development/scripts/check_spec.py" --project-root <path> --changed-files <csv>
Output Contract
init_spec.pyreturns JSON withstatus,spec_path, andslug.check_spec.pyreturns JSON withschema_version,overall,matched_specs,matched_acceptance_criteria,unmapped_files, andsuggested_actions.
Prototype Flow
- Run
$hookto detect domains and readiness. - Run
$init-profileif profile is missing. - Run
$genomeand$init-docsif context/docs are missing. - Run
$specto lock requirements and acceptance criteria. - Run
$plan, then$sddor inline execution. - Run
$check-fulland update role docs/handoff.
Reference Files
references/spec.schema.json: required spec markdown contract and traceability fields.