Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

Spec-first Agentic Development

Spec-first Agentic Development is a methodology for working with AI coding agents, emphasizing specification-driven changes. Every modification begins with a written spec, reviewed against existing code before implementation. Agents then build on isolated branches, with commits gated by passing checks, ensuring verified, structured, and resumable development workflows. This approach promotes clarity and reduces errors.

Visit Website
Share
Spec-first Agentic Development screenshot
Spec-first Agentic Development screenshot

Spec-first Agentic Development introduces a structured approach to working with AI coding agents, ensuring that every change is initiated by a clearly defined and reviewed specification. This methodology aims to enhance the reliability and maintainability of code developed by AI agents by integrating human oversight and automated checks throughout the development lifecycle.

Read More

The core principle involves starting every development task with a written specification stored in the repository. This spec outlines the goal, relevant facts (including file and line references), steps to be taken, and precise 'done' criteria. Before any code is written, a fresh reviewer examines the spec against the existing codebase to verify its accuracy and feasibility. Once approved, an AI agent proceeds to build the feature on its own isolated branch and worktree. The final commit is only allowed to land in the main repository after all predefined checks and tests pass, ensuring code quality and adherence to the spec.

This system differs significantly from traditional 'vibe coding' by replacing ad-hoc prompts with a reviewed, persistent specification. It logs each decision made by the agent with its reasoning, providing a clear audit trail and reducing the need for post-development documentation. Specs are designed to pin down intent and architecture rather than being overly precise code generators, with tests and commit gates supplying the necessary precision. Old specs are treated as immutable change records, similar to commits, and are not updated, preventing staleness.

Spec-first Agentic Development supports parallel development, allowing multiple agents to work on different specs simultaneously using unique branch and worktree IDs. The process is uninterrupted, as reviewed specs pre-answer open questions, enabling agents to build directly to the done criteria. The entire workflow is structured, with one spec corresponding to one branch and one commit, simplifying pull requests and ensuring consistency. State is maintained in `context.yaml`, making work resumable even after restarts.

The method, templates, and the Claude Code plugin are all MIT licensed, making it a cost-free solution. While the Claude Code plugin automates bookkeeping and gate functions, the methodology can also be adopted with other agents like Codex, Cursor, or Copilot by following `AGENTS.md` and installing a git commit-msg hook for the gate. This approach was developed and refined through the creation of Agent Smith, an open-source agentic software factory, demonstrating its practical application and effectiveness.

  • CategoryAI Coding Assistants
  • Pricing ModelFree
  • DeploymentCloud
  • PlatformsWeb

  • Specification-driven development for AI coding agents

  • Reviewed specs checked against code before building

  • Isolated worktrees for each development task

  • Gated commits requiring all checks to pass

  • Persistent specs stored in the repository

  • Decision logging with reasoning for traceability

  • Support for parallel development with unique branch IDs

  • Resumable workflows with state stored in context.yaml

  • MIT licensed method, templates, and Claude Code plugin

  • Compatibility with Codex, Cursor, Copilot, and terminal

  • Git commit-msg hook for enforcing commit gates

  • Automated evidence checking for spec citations

  • Structured pull requests for single or series of specs

  • Contexts and rules generated from existing codebase

  • No hand-written code required for Agent Smith's build process

  1. Install Plugin/Hook: Install the Claude Code plugin or the git commit-msg hook in your project clone.

  2. Bootstrap Project: Run /spec-first:bootstrap-project to generate contexts and rules from your existing code.

  3. Create Spec: Define a new task with a goal, steps, facts, and done criteria using the create-spec skill.

  4. Review Spec: Have a fresh reviewer check the spec against the code for accuracy and feasibility.

  5. Apply Spec: The agent builds the spec on its own branch and worktree, following project rules.

  6. Deliver Spec: Commit the changes through the gate, ensuring all checks pass, and open a pull request.

  7. Deliver Series: For larger changes, use /spec-first:deliver-series to manage and deliver multiple interdependent specs.

  • AI Agent Code Development
  • Ensuring Code Quality
  • Managing Complex Projects
  • Enhancing Code Traceability
  • Facilitating Code Reviews
  • Automating Development Workflows
  • Onboarding New Developers
  • Integrating with Existing Tools

Spec-first Agentic Development Reviews

Loading...

Popular AI Tools Like Spec-first Agentic Development

Spec Kit

AI Apps

Spec Kit is an AI-powered toolkit that helps developers build high-quality software faster by transforming specifications into executable code. It focuses on specification-driven…

AI Coding Assistants

Ranked #91 for Project Managers

View Tool

AI Apps

AI-powered toolkit that helps developers build high-quality software faster by transforming specifications into executable code. It focuses on specification-driven…Spec Kit is an AI-powered toolkit that helps developers build high-quality software faster by transforming specifications into executable code. It focuses on specification-driven…

AI Coding Assistants
Ranked #91 for Project Managers

AgentSmith

AI Apps

AgentSmith is an open-source harness for coding agents, enabling structured engineering with project rules, checks, and verification. It supports Claude Code and Codex, offering a…

AI Agent Builders
View Tool

AI Apps

Open-source harness for coding agents, enabling structured engineering with project rules, checks, and verification. It supports Claude Code and Codex, offering a…AgentSmith is an open-source harness for coding agents, enabling structured engineering with project rules, checks, and verification. It supports Claude Code and Codex, offering a…

AI Agent Builders
See the Top 250 AI Apps

pre.dev

AI Apps

pre.dev is an AI coding agent designed for long-horizon tasks. It plans before coding, remembers across sessions, and runs autonomously for hours, delivering verified pull…

AI Coding Assistants

Ranked #152 in AI Coding Assistants

View Tool

AI Apps

AI coding agent designed for long-horizon tasks. It plans before coding, remembers across sessions, and runs autonomously for hours, delivering verified pull…pre.dev is an AI coding agent designed for long-horizon tasks. It plans before coding, remembers across sessions, and runs autonomously for hours, delivering verified pull…

AI Coding Assistants
Ranked #152 in AI Coding Assistants

AICode

AI Apps

AICode is a spec-driven AI coding assistant designed to enhance software delivery speed and quality. It integrates with VS Code, allowing developers to manage specifications…

AI Coding Assistants

Ranked #163 for Explaining code

View Tool

AI Apps

Spec-driven AI coding assistant designed to enhance software delivery speed and quality. It integrates with VS Code, allowing developers to manage specifications…AICode is a spec-driven AI coding assistant designed to enhance software delivery speed and quality. It integrates with VS Code, allowing developers to manage specifications…

AI Coding Assistants
Ranked #163 for Explaining code

Traycer

AI Apps

Traycer is a spec-first planning workspace for agentic coding that lets developers plan changes as specs and tickets, run multiple coding agents side by side, and review changes…

AI Coding Assistants

Ranked #41 in Coding & Development

View Tool

AI Apps

Spec-first planning workspace for agentic coding that lets developers plan changes as specs and tickets, run multiple coding agents side by side, and review changes…Traycer is a spec-first planning workspace for agentic coding that lets developers plan changes as specs and tickets, run multiple coding agents side by side, and review changes…

FeaturedAI Coding Assistants
Ranked #41 in Coding & Development

Kynage Cockpit streamlines coding agent workflows by automatically providing project details, tickets, roles, and workflows. It enhances development efficiency by ensuring…

AI Agent Builders

Ranked #235 for Explaining code

View Tool

Streamlines coding agent workflows by automatically providing project details, tickets, roles, and workflows. It enhances development efficiency by ensuring…Kynage Cockpit streamlines coding agent workflows by automatically providing project details, tickets, roles, and workflows. It enhances development efficiency by ensuring…

AI Agent Builders
Ranked #235 for Explaining code

Kiro

AI Agents

Kiro is an agentic AI development tool with an IDE, CLI, web interface, and mobile app that turns prompts into executable specs, checks code correctness, and builds across large…

AI Coding Assistants

Ranked #4 in AI Agents

View Tool

AI Agents

Agentic AI development tool with an IDE, CLI, web interface, and mobile app that turns prompts into executable specs, checks code correctness, and builds across large…Kiro is an agentic AI development tool with an IDE, CLI, web interface, and mobile app that turns prompts into executable specs, checks code correctness, and builds across large…

FeaturedAI Coding Assistants
Ranked #4 in AI Agents

Trama

AI Apps

Trama is a VS Code extension that helps developers manage AI agent-generated code. It creates a Markdown map of your application, allowing you to review and approve changes as…

AI Coding Assistants

Ranked #110 in AI Code Review & Testing

View Tool

AI Apps

VS Code extension that helps developers manage AI agent-generated code. It creates a Markdown map of your application, allowing you to review and approve changes as…Trama is a VS Code extension that helps developers manage AI agent-generated code. It creates a Markdown map of your application, allowing you to review and approve changes as…

AI Coding Assistants
Ranked #110 in AI Code Review & Testing
1 of 8