All stacks
AIAI CodingSpec-Driven DevelopmentAgents

Spec-Driven AI Development Stack

Go from a written spec to working code with AI coding agents

AI coding agents produce better software when they work from a clear specification instead of ad-hoc prompts. This stack pairs Spec Kit's structured process with a coding agent, tool access through MCP, automated quality gates and CI, so every feature moves from spec to plan to tasks to reviewed, tested code.

7 tools in this stack
Share:XLinkedInWhatsApp

How the stack fits together

CI quality gateMCP toolsSonarQubeTrivySpec KitCoding agentCode + testsPull requestGitHub Actions

STEP 1 / 7

Start from a spec

Spec Kit starts every feature with a written specification. You set project principles once with a constitution, then describe what to build and why, instead of prompting ad hoc.

/speckit-constitution Create principles focused on code quality and testing.
/speckit-specify Build a photo organizer with albums grouped by date.
  1. Start from a spec. Spec Kit starts every feature with a written specification. You set project principles once with a constitution, then describe what to build and why, instead of prompting ad hoc.
  2. Plan and break down the work. Your coding agent, such as GitHub Copilot or Cursor, turns the spec into a technical plan and a list of tasks. Spec Kit supports many agents, so the same specs work if you switch.
  3. Give the agent tools. The Model Context Protocol connects the agent to files, repositories and databases through a standard interface, so it works with real context instead of guesses.
  4. Implement and test. The agent works through the tasks, writing code and tests. You review each result before moving on, so a person stays in charge of what is accepted.
  5. Open a pull request. Changes go through a normal pull request, so agent-written code gets the same review as anyone else's.
  6. Gate it in CI. GitHub Actions runs the checks on every pull request. SonarQube looks for bugs, code smells and vulnerabilities in the new code, and Trivy scans dependencies and images for known vulnerabilities.
  7. Recap. A spec gives the agent direction, and automated gates check what it produces.
Spec Kit
Spec-Driven ProcessOpen Source

Spec Kit

Provides the constitution, specify, plan, tasks and implement workflow, so the agent builds from a reviewed specification and every decision is documented.

GitHub Copilot
Coding AgentLicensed

GitHub Copilot

Spec Kit has a built-in Copilot integration, so the slash-command workflow runs directly in your editor chat.

Cursor
Alternative AI IDEFree-Limited

Cursor

An AI-native editor you can use in place of Copilot. Spec Kit supports many agents, so the same specs work if you switch.

Model Context Protocol
Agent Tool AccessFree

Model Context Protocol

The Model Context Protocol lets the agent reach files, repositories and databases through a standard interface instead of custom glue code.

GitHub Actions
CI Quality GateFree

GitHub Actions

Runs tests and linters on every pull request, so agent-written code is verified automatically before merge.

SonarQube
Code QualityOpen Source

SonarQube

Catches bugs, code smells and vulnerabilities that AI-generated code can introduce, enforcing the quality principles set in your constitution.

Trivy
Security ScanningOpen Source

Trivy

Scans dependencies and container images for known vulnerabilities, a check agents often skip when adding packages.