Skip to main content
// section · pillar · ai-dev-workflows

AI Development Workflows

The best AI tools are only as effective as the workflows around them. This hub collects practical, battle-tested workflows for integrating AI into your software development process, from initial spec writing to deployment and maintenance.

Last reviewed: 2026-06-18
// section · ai-dev-workflows · editorial

What is an AI dev workflow?

An AI dev workflow is the set of rules, files, and habits that turn an AI coding tool from a flashy demo into a reliable part of how you ship software. The tool is half the story. The workflow is the other half: how you describe the task, what context you feed in, where the AI is allowed to write, how you review what it produced, and how you stop it from making the same mistake twice.

In 2026 most teams converged on a small number of files that travel with the repo and tell every agent how to behave. AGENTS.md (the OpenAI Codex convention), CLAUDE.md (the Anthropic convention), and .cursorrules (the Cursor convention) all serve the same purpose. They are project-scoped system prompts that every agent reads before it touches a file.

The workflow layer sits above the tool layer. You can change from Cursor to Claude Code to Devin Desktop without rewriting your workflow, as long as your context files, your task templates, and your review process travel with you.

Who needs an explicit AI dev workflow?

Three groups get outsized returns from formalising the workflow.

Solo founders shipping a real product. Without a process, every session starts from scratch. The agent forgets which package manager you use, runs the wrong test command, and edits files you told it not to last week. A 200-line CLAUDE.md plus a tasks/ folder makes the agent feel like a teammate who has been with you for months.

Engineering teams onboarding AI agents. The moment you have more than one developer using AI in the same repo, drift becomes a real cost. One person uses Cursor, another uses Claude Code, a third uses Aider. They produce inconsistent code, different commit styles, and conflicting patterns. A shared AGENTS.md or CLAUDE.md plus a /specs convention keeps the output unified regardless of tool.

Anyone running background or scheduled agents. If your agent runs unattended (overnight, on a cron, in CI), the workflow is non-negotiable. You cannot babysit a bad prompt at 3 a.m. The spec has to be tight, the success criteria machine-checkable, and the rollback path documented.

If you are using AI for one-off scripts or quick experiments, you can skip the formal workflow. The investment pays off when the same agent will touch the same repo more than once.

How to evaluate an AI dev workflow

Pick the workflow by the problem it solves, not by what is trending on X.

Context structure. Every modern workflow has a context entry point. CLAUDE.md, AGENTS.md, .cursorrules, .github/copilot-instructions.md. The good ones include three things: project conventions (language, framework, package manager, lint rules), file boundaries (what the agent can edit, what it must not touch), and verification steps (which test command, which lint command, which type-check). A bad context file is a wishlist; a good one is a runbook.

Task scoping. Where do features and bugs get written down? Speckit, GitHub issues, Linear, a /specs folder in the repo, or a tasks/ markdown file. The best workflows treat the agent as a teammate who reads tickets, not a magic intern who reads minds. Lower friction here means more delegation later.

Verification gates. How does the workflow stop bad output from reaching main? CI tests, pre-commit hooks, type-check, lint, branch protection that prevents agents from pushing directly. Workflows without a gate eventually ship a bug the agent never noticed.

Iteration speed. Time from "I have an idea" to "the change is on main." If your workflow has eight handoffs, agents make it worse, not better. Optimise for a tight loop: spec, branch, agent run, automated checks, human review, merge.

Tool portability. Can the same workflow run on Cursor and Claude Code and Codex CLI without rewriting the context? Tool-agnostic conventions (AGENTS.md, plain markdown specs) survive vendor swaps; tool-specific ones (e.g., a .cursorrules file with Cursor-only directives) force you to redo work when you switch.

Common pitfalls when adopting an AI workflow

New adopters make the same five mistakes.

Treating the agent as a code monkey. If you only ever ask the agent to "fix this bug" without giving it the spec, the file boundaries, and the test command, it will fail more often than it succeeds. Invest in context before you invest in prompts.

Skipping the spec because the change "feels small." The fifteen-minute Speckit pass that defines the change usually saves an hour of agent thrashing. Tight scope is the single biggest predictor of a good agent run.

Letting the agent edit production config and credentials. Branch protection, .gitignore for env files, and a clear "do not edit" list in CLAUDE.md or AGENTS.md prevent the worst incidents. Even a careful agent will overwrite a .env if nothing stops it.

Reviewing diffs visually instead of structurally. Visual review catches typos but misses architectural drift. Pair the agent's PR with a lint, type-check, and test suite that fails loudly. If your CI is weak, AI accelerates the rate at which you ship bugs.

Adopting every new agent convention at once. Pick CLAUDE.md or AGENTS.md, not both with overlapping content. Pick Speckit or a /specs folder, not both. Cohesion beats coverage at the workflow layer.

What changed in AI workflows in 2026

The workflow layer matured faster than the tool layer this year.

AGENTS.md adoption went mainstream. OpenAI's Codex CLI popularised the convention, and other vendors followed; in early 2026 most active repos shipping with an AI policy adopted AGENTS.md as the canonical context file. CLAUDE.md remains the Claude Code default and frequently coexists, though some teams consolidated on one to avoid drift.

Claude Skills shipped as a first-class concept. Anthropic's Skills SDK lets you bundle a reusable workflow (prompts, rules, scripts, MCP servers) into a single addressable unit that Claude Code can invoke. This pushed the workflow conversation from "one CLAUDE.md per repo" to "a library of skills the agent can pick from."

Speckit reached a stable v1. The /speckit.specify, /speckit.plan, /speckit.tasks, /speckit.implement loop became the default spec-driven workflow inside Claude Code. Teams that adopted it report faster, more predictable agent runs and dramatically fewer "the agent went off the rails" incidents.

MCP servers replaced a chunk of glue code. Database access, GitHub operations, browser automation, and design-tool integrations now flow through Model Context Protocol servers that any compatible agent can use. Workflows that used to require a custom integration per tool now share infrastructure.

Background and scheduled agents went production. With Claude Code's subagent API and OpenAI's Codex Cloud, teams started running agents on cron and in CI to handle dependency upgrades, lint sweeps, and routine refactors overnight. The workflow question shifted from "how do I get the agent to do this" to "how do I trust the agent to do this while I sleep."

Frequently Asked Questions

An AI development workflow is a structured process for using AI tools effectively during software development. It covers how to write prompts, structure specs, manage AI agent context, iterate on generated code, and deploy the results.

Yes. AI tools work best when you provide structured context, clear specs, well-scoped tasks, and iterative feedback. Without a workflow, AI agents tend to drift, produce inconsistent results, or miss architectural requirements.

If your team uses Claude Code as its primary agent, CLAUDE.md is the canonical convention. If you bounce between OpenAI Codex CLI, Cursor, and Claude Code, AGENTS.md is the more portable choice. Some teams maintain both with shared content via includes, but the lighter path is to pick one and stick to it.

Speckit is a spec-driven development workflow with four commands (/speckit.specify, /speckit.plan, /speckit.tasks, /speckit.implement) that turn a feature description into a structured spec, plan, task list, and implementation. You need it when agent runs feel chaotic, scope creeps, or the same mistakes keep happening. For one-off scripts, the overhead is not worth it.

Three layers. First, declare the boundary in CLAUDE.md or AGENTS.md (do not edit /infra, /secrets, .env*). Second, add a .gitignore for env files and tokens. Third, enforce branch protection on main and require CI to pass before merge. The agent will sometimes ignore the markdown; the git rules and CI will not.

MCP (Model Context Protocol) is an open standard for connecting agents to tools and data. An MCP server exposes a capability (database queries, GitHub operations, Slack messages, design files) that any compatible agent can call. It matters because you can change agents without rewriting your integrations, and you can share a single integration across Claude Code, Cursor, and Codex.

No. Even high-trust agents should go through a feature branch, open a PR, pass CI, and get a human review. The cost of one bad agent commit to main usually outweighs the time saved by skipping the PR. Branch protection plus required CI checks are the right enforcement layer.

Yes. The workflow conventions (CLAUDE.md, AGENTS.md, Speckit, MCP servers) work identically on private repos. What changes is the tool layer: pick agents and models that respect your privacy posture, such as Claude Code with a Bedrock or Vertex endpoint, or a self-hosted setup with Aider plus a private model.
// the brief · zero fluff

one brief.
// what shipped · what broke · what to watch.

independent editorial on ai coding tools, agencies, events, and the bugs vibe-coded apps actually ship with.

no spam · unsubscribe anytime