# ai-dev-workflow

> A spec-faithful AI dev workflow with multi-agent roles, hard quality gates, and living hand-off documentation.

ai-dev-workflow is a free AI agent skill on Agensi by Eslam Negm, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Eslam Negm](https://www.agensi.io/creators/eslam-negm)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-dev-workflow
- Tags: ai-agents, automation, code-review, claude-code, workflow, quality-gate, multi-agent

## About this skill

A Claude Code skill that makes AI agents ship code the way a careful senior team does. One agent plans, a separate agent writes the code, a hard quality gate checks the whole repo, and a third agent — which never saw the plan — reviews the pushed PR. Screens are checked pixel by pixel against the design with golden tests, and every step is written down in the repo so any new session can pick up exactly where the last one stopped. Includes the plan → implement → gate → review loop, quality-gate scripts, golden-test tooling (including Flutter goldens), hand-off/ADR/plan templates, and an optional external-implementer module (Gemini). Free and open source on GitHub: https://github.com/eslamnegm010/ai-dev-workflow

## Requires

- Runs on macOS only
- @redocly/cli
- Node.js
- Playwright
- Git

## Known limitations

Requires manual mapping of repo build/test commands. Visual goldens require local JS/Flutter environments for capture scripts. Reviewer agents require gh CLI access.

## 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 ai-dev-workflow 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 this workflow prevent the 'hallucination loops' common in standard AI coding?

This skill solves 'context drift' and hallucination loops by enforcing a stateful workflow where planning, implementation, and review are handled by separate agents with distinct memory buffers. It also prevents technical debt by blocking any code that doesn't pass your project's specific linting and testing 'gates'.

### What exactly is included in this skill package?

The skill includes the core multi-agent orchestration logic, a suite of guard scripts for quality gating, visual testing utilities (including Alchemist integration), and a template system for 'living' hand-off documentation. You also receive the configuration scaffold to adapt the workflow to your specific tech stack.

### Which AI models or agents are compatible with this workflow?

While optimized for high-reasoning models like Claude 3.5 Sonnet and Gemini 1.5 Pro, the workflow is model-agnostic. You can configure different agents for different roles, such as using a high-context model for Planning and a faster, cost-effective model for the Implementer role.

### How much manual configuration is required to get started?

Setup involves running a provided scaffold script that maps your local environment's build, lint, and test commands to the skill’s quality gates. Once these repo-specific commands are defined, the workflow operates autonomously within your CLI environment.

### Are there specific hardware or software requirements for the visual testing feature?

Yes, the visual golden testing feature requires a local environment capable of running the provided capture and compare scripts. It is specifically pre-configured to work with Flutter via Alchemist but can be adapted for other UI frameworks that support CLI-based screenshot testing.

### How are updates handled if the workflow scripts are improved?

Updates are delivered through the marketplace platform; when the core orchestration logic or gate scripts are improved, you will be notified to pull the latest version. Your local configuration files (`CLAUDE.md` and ADRs) are designed to remain persistent and won't be overwritten during skill updates.

---

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.
