spec-driven-dev-enforcer

Require requirements, design, and task decomposition documents before code generation.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill spec-driven-dev-enforcer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-driven-dev-enforcer
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/spec-driven-dev-enforcer
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill spec-driven-dev-enforcer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents ungoverned, hard-to-understand code by forcing explicit specs before any implementation, addressing the "dark code" issue.

Core Features & Use Cases

  • Phase-driven artifacts: automatically guide and require creation of a Requirements Document, a Design Document, and a Task Decomposition before code generation.
  • Approval gates: halt progress until human review and explicit approval are provided for each phase.
  • Templates & guardrails: provide structured prompts and templates to standardize artifact quality and traceability.

Quick Start

Describe a feature you want and generate a Phase 1 Requirements Document for approval.

Frequently Asked Questions about spec-driven-dev-enforcer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce specifications before code generation to prevent ungoverned feature development?

To enforce specs-first coding, use a governance workflow that gates code generation by requiring a Requirements Document, Design Document, and Task Decomposition. This Skill halts implementation until explicit artifacts are created and approved, preventing ungoverned development.

What is specs-first coding and how does it address dark code issues?

Specs-first coding is a development process requiring explicit specifications before any implementation begins. It addresses the dark code issue by codifying a three-phase workflow—requirements, design, and task decomposition—ensuring artifacts are reviewed and approved before coding starts.

How do I create a requirements document and design doc before starting feature implementation?

You create a requirements document and design doc by following a phase-driven workflow with structured prompts and templates. This Skill automatically guides artifact creation for each phase, halting progress until human review and explicit approval are provided before task decomposition begins.

Can I use approval gates to halt code generation until design documents are reviewed?

Yes, you can use approval gates to halt code generation until design documents are reviewed. This Skill enforces explicit approvals at each phase of the development process, requiring human review of the requirements doc, design doc, and task decomposition before allowing any implementation to proceed.

Does this specs-first governance workflow work for task decomposition and feature work?

Yes, this specs-first governance workflow works for task decomposition and feature work. It targets feature development across requirements, design, and task decomposition workflows, providing structured templates and guardrails to standardize artifact quality and traceability before coding begins.

What's the best way to standardize requirements documents and design docs across development teams?

The best way to standardize requirements documents and design docs is to use structured prompts and templates with enforced guardrails. This Skill provides standardized templates for each phase, ensuring artifact quality and traceability while codifying the three-phase workflow into your development process.