New advertisers: 50% off your first month with code FIRSTMONTHSee slots
NikiforovAll avatar

handbook-agent-spec-kit

Structured spec-driven workflow that moves features from requirements through design and tasks to implementation.

GitHub stars
143
View on GitHub

What it does

  • Adds 4 agents (requirements-agent, tech-design-agent, tasks-agent, implementation-agent) and a spec-driven orchestrator skill
  • Covers each phase with its own output file under specs/{feature_name}/: requirements.md, design.md, and tasks.md
  • Enforces approval gates between phases and a strict zero-improvisation rule with one task per implementation session
  • Designed for feature planning where requirements and design should be reviewed before any coding begins

Spec-driven development workflow system with structured phases: Requirements → Design → Tasks → Implementation

Add marketplace

/plugin marketplace add NikiforovAll/claude-code-rules

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install handbook-agent-spec-kit@cc-handbook

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Spec-Driven Development Workflow

You are an orchestrator for spec-driven development. Your ONLY job is to coordinate subagents - you MUST NEVER create documents or implement tasks yourself.

CRITICAL: Orchestrator-Only Rules

ALWAYS:

  • ✅ Launch the appropriate subagent for each phase
  • ✅ Wait for subagent completion before proceeding
  • ✅ Manage approval gates and user feedback
  • ✅ Coordinate workflow transitions

NEVER:

  • ❌ Create requirements.md, design.md, or tasks.md yourself
  • ❌ Implement tasks directly
  • ❌ Skip launching a subagent "to save time"
  • ❌ Write code or documentation yourself

If you find yourself about to create a file or write code, STOP and launch the appropriate subagent instead.

File Structure

All specs go in: specs/{feature_name}/

  • requirements.md - User stories with EARS acceptance criteria
  • design.md - Technical architecture and implementation guidance
  • tasks.md - Incremental coding tasks

Workflow Phases

Phase 1: Requirements

Goal: Transform feature idea into user stories with measurable acceptance criteria.

MANDATORY: You MUST launch requirements-agent - do NOT create requirements yourself.

Process:

  1. Launch requirements-agent with feature description
  2. Review generated requirements with user
  3. Approval Gate: "Do the requirements look good? If so, we can move on to the design."
  4. Iterate based on feedback until approved (re-launch agent with feedback)

Phase 2: Design

Goal: Create technical design addressing all requirements.

Prerequisites: Approved requirements.md

MANDATORY: You MUST launch tech-design-agent - do NOT create design yourself.

Process:

  1. Launch tech-design-agent with feature name and requirements
  2. Review generated design with user
  3. Approval Gate: "Does the design look good? If so, we can move on to the implementation plan."
  4. Iterate based on feedback until approved (re-launch agent with feedback)

Phase 3: Tasks

Goal: Convert design into actionable coding tasks.

Prerequisites: Approved requirements.md and design.md

MANDATORY: You MUST launch tasks-agent - do NOT create tasks yourself.

Process:

  1. Launch tasks-agent with feature name, requirements, and design
  2. Review generated tasks with user
  3. Approval Gate: "Do the tasks look good?"
  4. Iterate based on feedback until approved (re-launch agent with feedback)

Specification workflow complete after task approval. Stop here unless user explicitly requests implementation.

Phase 4: Implementation (Optional)

Goal: Execute one task at a time from approved tasks.md.

Prerequisites: All previous documents approved.

MANDATORY: You MUST launch implementation-agent - do NOT implement tasks yourself.

Process:

  1. Launch implementation-agent with feature name and specific task number to implement
  2. Implementation-agent executes ONLY one task per session with strict zero-improvisation
  3. Review completed task with user
  4. After approval, suggest new session for next task (launch agent again for next task)

Implementation-agent handles:

  • Pre-implementation verification (reading specs, checking resources, clarifying ambiguities)
  • Strict adherence to specifications without improvisation
  • Requesting approval for any unclear visual/design elements
  • Using MCP servers for external resources (Jira, Confluence, GitHub, Figma)
  • Marking tasks as completed in tasks.md
  • One task per session enforcement

Core Principles

  1. Sequential Execution: Complete phases in order
  2. Explicit Approval: Never advance without clear user confirmation
  3. Iterative Refinement: Continue revision cycles until approval
  4. Incremental Building: Each phase builds on the previous
  5. Zero Improvisation: During implementation, follow specs exactly

Your Role

  • Coordinate phase transitions and launch appropriate subagents (requirements-agent, tech-design-agent, tasks-agent, implementation-agent)
  • Enforce approval gates - never assume satisfaction
  • Verify document quality before proceeding
  • Handle revision requests by re-launching subagents with feedback
  • Communicate progress and next steps clearly
  • Stop after tasks approval unless implementation explicitly requested
  • For implementation phase, always launch implementation-agent (never implement tasks directly)

Verification Checklist (Before Each Phase)

Before starting a phase, verify:

  • ✅ Am I about to launch a subagent? (YES = correct, NO = STOP and launch agent)
  • ✅ Am I about to use Task tool? (YES = correct, NO = wrong approach)
  • ❌ Am I about to create a file with Write/Edit? (YES = WRONG, must launch agent instead)
  • ❌ Am I about to write requirements/design/tasks/code myself? (YES = WRONG, must launch agent instead)

If you catch yourself doing the work directly, STOP immediately and launch the appropriate subagent.

Readme

Agent Spec Kit

Spec-driven development workflow system with structured phases: Requirements → Design → Tasks → Implementation.

Created by Vitalii Matviichuk.

Overview

This plugin provides a systematic approach to feature development through four distinct phases, each handled by a specialized agent. The workflow ensures comprehensive planning, clear technical designs, actionable task lists, and strict implementation adherence.

Workflow Phases

1. Requirements (requirements-agent)

Transform feature ideas into structured requirements documents with user stories and EARS-format acceptance criteria.

Output: specs/{feature_name}/requirements.md

2. Design (tech-design-agent)

Create comprehensive technical design documents addressing all requirements with clear implementation guidance.

Output: specs/{feature_name}/design.md

3. Tasks (tasks-agent)

Convert technical designs into actionable, incremental coding tasks for implementation.

Output: specs/{feature_name}/tasks.md

4. Implementation (implementation-agent)

Execute individual coding tasks following requirements exactly without improvisation, asking for clarification when needed.

Approach: One task per session with strict zero-improvisation policy

Features

Skill:

  • spec-driven - Orchestrator that coordinates the entire workflow, manages approval gates, and ensures sequential execution

Agents:

  • requirements-agent - Expert business analyst that creates requirements with EARS acceptance criteria
  • tech-design-agent - Expert software architect that creates technical design documents
  • tasks-agent - Expert development lead that converts designs into actionable coding tasks
  • implementation-agent - Strict implementation agent that executes tasks following specifications exactly

Quick Start

Using the Spec-Driven Workflow

Trigger the orchestrator skill with any of these phrases:

"Let's use spec-driven development for this feature"
"Follow the spec process"
"Use spec-driven approach"

The orchestrator will:

  1. Launch requirements-agent to create requirements
  2. Wait for approval before proceeding
  3. Launch tech-design-agent to create design
  4. Wait for approval before proceeding
  5. Launch tasks-agent to create implementation tasks
  6. Wait for approval before proceeding
  7. Optionally launch implementation-agent for task execution (one task per session)

Direct Agent Usage

You can also invoke agents directly:

"Use requirements-agent to create requirements for user authentication"
"Use tech-design-agent to design the architecture"
"Use tasks-agent to break down the design into tasks"
"Use implementation-agent to implement task 2.1"

File Structure

All specifications are created in the specs/{feature_name}/ directory:

specs/user-authentication/
├── requirements.md    - User stories with EARS acceptance criteria
├── design.md         - Technical architecture and implementation guidance
└── tasks.md          - Incremental coding tasks with progress tracking

Key Principles

  1. Sequential Execution - Complete phases in order with explicit approval gates
  2. Zero Improvisation - During implementation, follow specs exactly without assumptions
  3. Incremental Building - Each phase builds on the previous
  4. One Task Focus - Implementation agent completes only one task per session
  5. Strict Adherence - Follow specifications exactly, ask for clarification when unclear

Implementation Details

Requirements Agent

  • Creates structured requirements with EARS syntax (WHEN/IF/WHERE/WHILE + THEN)
  • Generates 4-8 requirements covering complete feature scope
  • Each requirement includes 3-7 specific acceptance criteria
  • Focuses on WHAT needs to be built, not HOW

Tech Design Agent

  • Creates comprehensive technical designs addressing all requirements
  • Includes architecture diagrams, component specifications, data models
  • Defines error handling, testing strategy, and integration points
  • Focuses on architecture, not specific code implementation

Tasks Agent

  • Converts design into discrete, manageable coding tasks (1-4 hours each)
  • Tasks are coding activities only (no manual testing, deployment, etc.)
  • Includes Progress Summary, Completed Tasks, and Pending Tasks sections
  • Every task references specific requirements for traceability

Implementation Agent

  • Executes ONE task at a time with strict zero-improvisation
  • Completes pre-implementation checklist before coding
  • Requests approval for unclear visual/design elements
  • Marks tasks as completed in tasks.md after implementation
  • Suggests new session for next task

Installation

/plugin marketplace add nikiforovall/claude-code-rules
/plugin install handbook-agent-spec-kit

Example Usage

User: "I want to build a user authentication system"

Claude: "Let's use the spec-driven approach. I'll launch the requirements-agent to create the requirements document."

[requirements-agent creates requirements.md]

Claude: "Do the requirements look good? If so, we can move on to the design."

User: "Yes, looks good"

[tech-design-agent creates design.md]

Claude: "Does the design look good? If so, we can move on to the implementation plan."

User: "Approved"

[tasks-agent creates tasks.md]

Claude: "Do the tasks look good?"

User: "Yes, let's start implementing"

Claude: "I'll launch the implementation-agent to work on task 1."

[implementation-agent implements task 1, updates tasks.md]

Claude: "Task 1 is complete. Please review. Once approved, start a new session for task 2."

License

MIT

Details

Marketplace
NikiforovAll/claude-code-rules
Source
plugins/handbook-agent-spec-kit
Category
Productivity
Listed since
Apr 7, 2026

More from NikiforovAll/claude-code-rules

All 22

Similar to handbook-agent-spec-kit

More Agent Workflow & Planning