Claude Workflows turns Claude Code from a reactive chat assistant into a structured engineering partner that follows specs, brainstorms solutions, writes code phase-by-phase, runs quality gates, and creates PRs — across multiple sessions, without losing context.
Without workflows, every conversation starts from zero. Claude doesn't remember your process, your conventions, or where you left off.
You explain the same architecture decisions, coding conventions, and git flow every single session. Claude forgets everything when context resets.
Claude Workflows stores decisions in YAML state files and context snapshots. Resume any workflow days later with full context intact.
Sometimes Claude writes great code. Sometimes it skips tests, ignores conventions, or creates a PR without review. No guarantees.
Mandatory review checklists before every PR. Language-specific coding rules loaded before implementation. Focused checks on changed files only.
Building a feature? Claude jumps straight to code. No spec, no plan, no brainstorming alternatives. You get the first thing it thinks of.
Gather requirements → write spec → brainstorm approaches → plan → implement → test → review → PR. Each phase gets your approval.
A 3-line config fix and a major feature get the same treatment: "Here's the code." No adaptation to complexity or risk level.
Hotfixes are fast and minimal. Features are thorough. Refactors have behavioral contracts. Each workflow is purpose-built for its task.
It installs structured skills, rules, and checklists into your project that guide Claude through disciplined software development
Each workflow is a skill — a markdown file with detailed phase-by-phase
instructions that Claude follows. When you type /claude-workflows:new-feature, Claude reads the skill
and executes each phase in order, writing output documents and updating state along the way.
Language-specific DO/DON'T rules are loaded before Claude writes any code.
These aren't suggestions — they're directives. "Never use !! in Kotlin."
"No any type in TypeScript." Claude follows them without you having to repeat them.
Before every PR, Claude runs a self-review against severity-rated checklists. Critical items (hardcoded secrets, SQL injection, missing auth) must pass. The focused gate only checks items relevant to the files that actually changed.
Claude Workflows uses a 3-layer persistence model so you can close your terminal, come back tomorrow, and pick up exactly where you left off. State files use YAML frontmatter for reliable parsing. Context snapshots capture key decisions at every phase boundary.
Phases execute sequentially with quality checks at boundaries. Error recovery is built in.
Purpose-built workflows for every development scenario, from emergency hotfixes to full features
gh CLI. Classifies: compile error, test failure, lint violation, dependency issue, config error, timeout, or flaky test. Applies targeted fix per category. Pushes and monitors the retry. If it fails again, loops up to 3 times with new diagnosis each round./claude-workflows:template use api-endpoint user-mgmt pre-populates the spec and plan, skipping GATHER and SPEC entirely. Templates track usage count./metrics trends compares your last 10 workflows vs previous 10 for velocity changes and REPLAN frequency.git bisect. Documents the confirmed root cause with exact file, line, and blast radius — without fixing it. Hands off to /hotfix or /new-feature for the fix.Not just prompts — a complete orchestration engine with intelligence built in
/claude-workflows:new-feature completes, Claude suggests /claude-workflows:review --self. After hotfix, suggests /claude-workflows:ci-fix. Zero manual handoffs between related workflows.--depth full. The right amount of process for every task.knowledge.jsonl after every workflow. During future brainstorms, Claude surfaces: "Last time you had similar constraints (offline-first), you chose event sourcing — it succeeded." Your team's institutional memory, encoded.From installation to your first feature — here's exactly what to expect
Run these commands inside Claude Code. It will download the plugin and prompt you to configure 5 settings.
/claude-workflows:* commands in every Claude Code session within this project.Run setup to detect your project's stack and create the .workflows/ directory structure.
.workflows/config.yml with your project's detected settings (build system, language, git conventions). Also creates history and learned directories for workflow state. You can customize config.yml after generation.Use /start to see all available workflows, or jump straight to a specific one.
.workflows/current-state.md, shows a progress indicator, and begins the first phase. For /new-feature, it starts by gathering requirements interactively.Claude executes phases sequentially. Some ask for your approval before continuing, others proceed automatically.
01-gather.md) and updates the state. A progress line shows where you are: ✓GATHER ✓SPEC ▷BRAINSTORM ·PLAN ·IMPLEMENT ·TEST ·PRYou can pause at any time and resume later — even in a new session days later.
Before every PR, Claude runs a self-review against severity-rated checklists.
After workflows complete, capture patterns and track metrics to improve your process.
Use --depth trivial to skip SPEC and BRAINSTORM for simple changes. Or use /scope first to check if you even need a full workflow.
Use --auto flag on /new-feature, /extend-feature, /refactor, or /migrate to skip interactive approvals. Useful when requirements are well-defined.
After completing a good workflow, run /template save api-endpoint. Next time: /template use api-endpoint user-mgmt pre-populates spec and plan.
Edit .workflows/config.yml to disable brainstorm for hotfixes, change PR base branch, set max plan phases, configure merge strategy, or set up workflow chaining.
What changes when you add structured workflows to Claude Code
Open source. Language agnostic. Team extensible.
Works with any project that uses Claude Code.
GitHub · MIT License · v3.0.0