v1.0 — MIT License

FLOW
Human-Agent Team
Workflow for Claude Code

A structured workflow for software teams that combine one human with multiple AI agents. GitHub-native. No external tools. No dashboards. No middleware. Built and battle-tested in production with a single developer and 7 AI agents shipping a multi-module enterprise software suite.

5 Agent roles
19 Slash commands
4 Autonomy levels
0 External tools required

One human. Multiple named agents.

A FLOW team has one human and multiple agents, each bound to a specific role. Each agent gets a named workstation — a persistent git worktree with its own branch, Docker stack, and role-bound CLAUDE.md.

🏛
Architect strategic

Designs systems, writes ADRs, triages issues, refines tickets, maintains .context/ health. Creates epics and breaks them into implementable tickets. Does not implement features.

⚙️
Developer tactical ×2

Implements tickets from refined issues. Writes models, views, wizards, tests. Ships code via /flow-start → /flow-ship. Follows existing architecture and ADRs.

🔍
Reviewer quality ×2

Reviews PRs for correctness, test coverage, architecture compliance. Applies advisory labels. Validates that PRs match their linked issues. Does not implement fixes found during review.

🗄
Data Engineer cautious

Writes data scripts: enrichment, bootstrap, reconciliation, migration, audit. Every write has dry-run mode. Every mutation is logged. External systems are READ-ONLY unless explicitly authorized.

📝
Content Engineer creative

Creates docs, training guides, App Store listings, website content. Validates content against current module state. Does not write modules or make architecture decisions.

How FLOW works.

Four ideas that make human+agent teams actually functional at production scale.

01

.context/ Knowledge System

Institutional memory that survives context window resets. Each project has a .context/ folder with substrate, ai-rules, glossary, anti-patterns, and per-workstation handover files. Agents read it before working. Knowledge stays in the repo, not in the model's weights.

02

Autonomy Levels

Labels on GitHub issues set the trust boundary. autonomy::0 stops and asks at every decision. autonomy::3 ships and the human merges. Default is autonomy::1. Promoting tickets via thorough refinement doubles effective throughput.

03

Estimation Model

FLOW doesn't use story points or developer days. The human's attention is the bottleneck. Units: Sessions (1–3 hour focused block), Agent-slots (parallelizable work), Gates (points where the human must review). A size::m ticket takes an agent 30–60 minutes. The constraint is how many gates the human can process.

04

Completion Standards

Non-negotiable rules on every workstation. Error Ownership: if you caused it, fix it before moving on. Anti-Deferral: "too much work" is not valid — flag scope issues before starting. Definition of Done: all acceptance criteria checked, no new errors, no bare TODOs, self-review before shipping.

19 slash commands for Claude Code.

Drop these into your project's .claude/skills/ directory. They handle the full FLOW lifecycle.

Skill What it does
/flow-startBegin work on a GitHub issue: create branch, load context
/flow-shipCommit, push, and create PR with self-review gates
/flow-handoverEnd session and capture state for next session
/flow-resumeStart a new session with full context restored from last handover
/flow-reflectCapture learnings from recent closed work
/flow-refinementArchitectural analysis to make tickets implementation-ready
/flow-runnerAutonomous ticket processing — picks up eligible issues
/flow-statusShow current work state across workstations
/flow-triageCategorize and prioritize open issues
/flow-dropRelease a ticket back to the pool
/flow-objectiveCreate a new issue with proper labels and metadata
/flow-releaseTag and create a GitHub release
/flow-simplifyRun code simplification on a module or path
/flow-streamManage milestones and streams
/flow-worktreeManage git worktrees for multi-instance work
/gh-bugQuick bug report: create a bug issue with structured template
/gh-doneFinish work and create PR
/gh-startStart work on a GitHub issue
/gh-statusGitHub status overview across issues and PRs

Up and running in minutes.

No installation required beyond Claude Code. Copy the templates and start.

1

Copy the templates to your project

Clone the workflow repo and copy the templates directory.

git clone https://github.com/syntax-sabotage/claude-code-workflow
cp -r claude-code-workflow/templates/.context your-project/
cp -r claude-code-workflow/templates/.claude your-project/
cp -r claude-code-workflow/templates/.flow your-project/
2

Fill in the placeholders

Replace [PLACEHOLDERS] in three files:

.context/substrate.md   # project overview and navigation
.context/ai-rules.md    # coding standards, naming, architecture
.context/glossary.md    # domain-specific terminology
3

Set up workstations (optional)

For multi-agent teams, create named git worktrees with role-bound CLAUDE.md files.

git worktree add ../your-project-Dev1 dev1
git worktree add ../your-project-Reviewer reviewer
# Copy CLAUDE.md.workstation to each, customize the role
4

Configure GitHub labels

FLOW uses labels to coordinate work. Add these to your repository:

autonomy::0  autonomy::1  autonomy::2  autonomy::3
size::xs     size::s      size::m      size::l      size::xl
status::backlog  status::ready  status::active  status::review
role::developer  role::architect  role::reviewer
5

Start working

Use /flow-resume at the start of every session. Use /flow-handover to end. Full walkthrough in the repo's GUIDE.md.