# sdd-flow

> A lean spec-driven development flow that separates planning from execution via a single implementation subagent.

sdd-flow is a free AI agent skill on Agensi by Nahuel Zeballos, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nahuel Zeballos](https://www.agensi.io/creators/nahuel-zeballos)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.1
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sdd-flow
- Tags: ai-agents, prompt-engineering, git, software-engineering, sdd

## About this skill

Context drift during implementation often leads to agents ignoring safety checks or skipping declared tools. Mini-SDD solves this by enforcing a strict boundary between planning and execution. It uses the Orchestrator for interactive planning and delegates implementation to a clean subagent context, ensuring every safeguard in your plan is actually followed.

### What it does
- **Enforced context separation** uses a dedicated subagent for implementation to prevent the agent from skipping tool-fetches or declared skills.
- **Spec-driven planning** generates a `plan.md` artifact that serves as the single source of truth for scope, design, and verification.
- **Automated git management** handles feature branch creation, conventional commits for every task, and status tracking.
- **Self-healing verification** includes a built-in repair budget of three attempts per feature to fix test failures or linting errors.
- **Resumable workflows** check for existing specifications to pick up exactly where a previous session left off without losing state.

### How it works
1. **Initialize** the flow by typing `/mini-sdd` followed by your task description.
2. **Review** the `plan.md` generated by the planning phase and provide feedback or approval.
3. **Monitor** as the subagent bootstraps the environment and executes tasks sequentially.

### Frameworks & tools
This skill is harness-neutral and compatible with Claude Code, Gemini CLI, and Codex CLI. It requires a git-managed repository and an environment capable of spawning subagents.

### Why this beats prompting it yourself
Manual prompting often results in agents "hallucinating" that they have already performed setup steps or loaded necessary tools. This skill forces a cold-start implementation phase that must explicitly honor the plan's bootstrap contract, resulting in significantly higher reliability for complex refactors.

### Use cases
- Refactoring a specific module where state isolation is critical for safety.
- Implementing a small feature that requires atomic git commits for each step.
- Fixing bugs that require a formal verification and repair loop.
- Scaffolding new components while maintaining a persistent design spec.

### Known limitations
The system enforces a maximum budget of three repair attempts per feature. It requires a git repository to function and cannot push, merge, or open pull requests on remote servers.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the sdd-flow skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Mini-SDD prevent agents from skipping steps during complex refactors?

Mini-SDD separates the planning phase from the execution phase by using a dedicated subagent. This prevents 'context drift,' where an AI might skip safety checks or hallucinate that it has already performed necessary setup steps during a long session.

### Which AI agent frameworks are compatible with this skill?

This skill is harness-neutral and designed for CLI-based AI environments such as Claude Code, Gemini CLI, and Codex CLI. It requires your project to be in a git-managed repository and an environment that supports spawning subagents.

### What is required to set up Mini-SDD in my local development environment?

No complex configuration is needed; once the skill is added to your environment, you simply initialize it by typing `/mini-sdd` followed by your task. It automatically detects your project structure and existing specifications to begin the planning phase.

### What happens if the implementation subagent encounters a test failure or linting error?

The skill includes an automated self-healing loop that provides a budget of three repair attempts per feature. If a task fails verification or linting, the subagent analyzes the error and attempts a fix before escalating to the user.

### Can Mini-SDD automatically push code to my remote repository or open Pull Requests?

Mini-SDD manages local git operations including feature branch creation and conventional commits for every task. However, for security and control, it does not perform remote actions like pushing code, merging branches, or opening pull requests.

### What is included with the purchase of the Mini-SDD skill?

You receive the full workflow logic and integration scripts compatible with supported CLI agents. Buyers also get access to version updates that improve the repair logic and compatibility with new AI model releases.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
