Skip to content

About

A portable 6-skill AgentSkills pack for Spec-Driven Development (SDD) enforce lean AGENTS.md rules, EARS specs, atomic tasks, Red-Green TDD, and fresh verification across Claude Code, Antigravity, Cursor, Codex & Gemini CLI.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Spec-Driven Development Skills

AgentSkills.io Antigravity Claude Code Cursor Codex Gemini CLI License: MIT

A portable 6-skill AgentSkills pack for Spec-Driven Development (SDD)—forcing AI coding agents through lean project memory, EARS specifications, atomic task sharding, Red-Green TDD, fresh evidence verification, and brownfield delta evolution instead of vibe coding.


Quick Start

Option 1: Universal CLI (npx skills)

npx skills add deepspace1/spec_drive_development_skills

# Or install a single skill for a specific agent:
npx skills add deepspace1/spec_drive_development_skills --skill specify-feature --agent claude-code

Note: If you fork or rename this repository (for example to spec-driven-dev-skills), replace deepspace1/spec_drive_development_skills with <owner/repo>.

Option 2: Local Installer (./install.sh)

chmod +x install.sh

# Install globally for your preferred agent
./install.sh --antigravity
./install.sh --claude
./install.sh --cursor
./install.sh --codex
./install.sh --gemini

# Or install globally for all supported agents at once
./install.sh --all

# Or install directly into one project repository (.agents/skills/)
./install.sh --project /path/to/your-repo

# Useful options: symlink for live edits, or clean uninstall
./install.sh --antigravity --link
./install.sh --antigravity --uninstall

Once installed, open HOW_TO_USE.md for the copy-paste prompt cheat sheet.


The Gated Workflow

  [0] create-agents-md    Once per repo: lean AGENTS.md (<150 lines) + optional constitution
            │
            ▼
  [1] specify-feature     Scope gate + Clarify (<=5 Qs) + EARS REQ/AC/EC ──▶ HARD STOP
            │
            ▼
  [2] design-and-tasks    tasks/plan.md (contracts + matrix) + tasks/todo.md ──▶ HARD STOP
            │
            ▼
  [3] implement-spec      One vertical slice at a time: Red -> Green -> Refactor + No Silent Drift
            │
            ▼
  [4] verify-spec         Cross-artifact audit + fresh tests/lint/SAST ──▶ VERIFIED
            │
            ▼  (follow-up changes to shipped features)
  [5] evolve-spec         Delta spec (ADDED/MODIFIED/REMOVED) ──▶ [2] -> [3] -> [4] -> Archive fold-back

The 6 Skills

Step Skill Role Key Outputs & Gate
0 create-agents-md Establishes project memory without bloating context—capturing real commands, boundaries, landmines, and optional invariants. Root AGENTS.md + optional .specify/constitution.md -> Human review
1 specify-feature Checks scope (capability-map.md for multi-module work), clarifies ambiguities (max 5 questions), and writes EARS requirements, edge cases, and non-goals. spec/SPEC.md (REQ-*, AC-*, EC-*) -> HARD STOP
2 design-and-tasks Translates an approved spec into architecture, DB/API/UI contracts, a traceability matrix, and self-contained atomic tasks (5 files or fewer each). tasks/plan.md & tasks/todo.md (T001, [P], [US#]) -> HARD STOP
3 implement-spec Executes tasks/todo.md slice by slice with Red-Green-Refactor TDD, real edge-case tests, and a No Silent Drift rule. Verified code + tests per task
4 verify-spec Performs a read-only cross-artifact audit (spec <-> plan <-> tasks <-> git diff) plus fresh test, typecheck, lint, build, and secret/SAST runs. Verification Report -> VERIFIED or BLOCKED
5 evolve-spec Evolves existing systems via OpenSpec-style ADDED / MODIFIED / REMOVED delta specs and folds verified deltas back into canonical specs. spec/changes/<slug>/ -> Archive into spec/SPEC*.md

Why Spec-Driven Development vs. Vibe Coding

Dimension Vibe Coding This SDD Skill Pack
Ambiguity Agent guesses silently and builds the wrong thing. ASSUMPTIONS I'M MAKING + max-5 targeted clarifications before planning.
Context Rot Long chats and bloated prompt files degrade accuracy. Lean AGENTS.md (<150 lines) + self-contained task slices in tasks/todo.md.
Edge Cases & Security Optimizes for the happy path; skips auth, bounds, and concurrency. Mandatory EARS IF...THEN rules + 5-pillar edge-case checklist (EC-*).
Mid-Build Drift Agent improvises around spec gaps without telling you. No Silent Drift: stops to update the spec/delta instead of quietly diverging.
Verification "Looks good, tests should pass." Fresh command output (exit code, counts) + file#L.. + cross-artifact audit.
Brownfield Edits Specs rot into stale v1 docs after the first change. evolve-spec writes isolated delta specs and folds them back after verification.

Complete Worked Example

See a full end-to-end walkthrough of building User Email/Password Login in examples/user-login-walkthrough/:

  1. AGENTS.md — Lean project rules, commands, boundaries, and landmines
  2. spec/SPEC.md — Clarifications log, EARS REQ-1..5, AC-1..5, EC-1..6, and V2 non-goals
  3. tasks/plan.md — Dependency graph, HTTP/DB/cookie contracts, risk mitigations, and traceability matrix
  4. tasks/todo.md — Self-contained vertical slices (T001–T005) with Acceptance, Files, and Verify
  5. verification-report.md — Cross-artifact audit, fresh gate output, and REQ/AC/EC coverage matrix

Validation, Packaging & Agensi.io Compatibility

This repository follows the AgentSkills.io Specification and Agensi.io packaging guidelines:

  • Pure text & code: Zero binary images or PDFs inside skills/ (compatible with text-only MCP delivery).
  • Strict frontmatter: Only standard agentskills.io top-level keys (name, description, license, compatibility, metadata).
  • Automated validation & bundling:
# Validate frontmatter, line budgets, script sizes, evals, and relative links
python3 scripts/validate_skills.py

# Build dist/spec-driven-dev-skills-pack.zip + per-skill .zip/.skill archives
python3 scripts/package_skills.py

See CONTRIBUTING.md, CHANGELOG.md, and LICENSE for details.

About

A portable 6-skill AgentSkills pack for Spec-Driven Development (SDD) enforce lean AGENTS.md rules, EARS specs, atomic tasks, Red-Green TDD, and fresh verification across Claude Code, Antigravity, Cursor, Codex & Gemini CLI.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages