



Quick Install Β·
Three Modes Β·
Pipeline Β·
Philosophy Β·
Credits
π€ What Is DevFlow?
DevFlow is a Claude Code skill plugin that fuses three battle-tested frameworks into one cohesive development pipeline. Each framework is powerful alone, but they don't automatically connect β DevFlow bridges them.
| Framework | Stars | Role in DevFlow |
|---|
| obra/superpowers | 240K+ | Execution Discipline β TDD, subagent-driven dev, systematic debugging, git worktrees |
| mattpocock/skills | 151K+ | Design Sharpening β relentless grill interview, domain modeling, ADRs, glossary |
| Fission-AI/OpenSpec | 58K+ | Spec Management β proposal β delta specs β archive |
The Problem
These frameworks are powerful but don't automatically connect. Brainstorming output doesn't feed into specs. Specs don't feed into task plans. TDD doesn't know about requirements. Knowledge gets lost between stages.
DevFlow's Solution
A single pipeline where every stage reads from and writes to a unified devwork/ directory. No more broken handoffs.
π‘ Idea β π Grill β π Spec β π Plan β π¨ Apply β β
Review β π¦ Archive
π Quick Install
# Clone to your Claude Code skills directory
git clone https://github.com/AppleCG/devflow.git ~/.claude/skills/devflow
That's it. DevFlow auto-activates on your next session. No configuration required.
Requirements: Claude Code with skills support. Git for worktree isolation (Build mode).
π― Three Modes
DevFlow analyzes your intent and routes to the right mode automatically:
| Mode | Trigger | Pipeline | Output |
|---|
| π¨ Design | "How should I...", architecture discussions | Quick-Grill (5 Qs) β Spec-lite | proposal.md + CONTEXT.md + optional ADR |
| ποΈ Build | "Build...", "Implement...", feature requests | Full 8-stage pipeline | Working code + tests + specs + docs |
| π§ Fix | "X is broken", "Bug: ...", error reports | Diagnose β TDD fix β Verify β Archive | Root cause analysis + regression test + fix |
π¨ Design Mode β Quick-Grill Example
You: "I want to add a notification system. How should I design it?"
DevFlow: [Design Mode]
Q1: "What types of notifications? Who receives them?
β Recommended: Email + in-app for order updates, in-app only for marketing."
Q2: "How does this relate to existing concepts?
β [Explores codebase] Your User model already has email + preferences fields..."
Q3: "If we 10x to 1M notifications/day β which assumption breaks first?
β Recommended: Async queue from day one, not a synchronous send."
Q4: "Any irreversible decisions?
β Yes β provider choice. ADR recommended: AWS SES vs SendGrid vs Resend."
Q5: "Alternatives considered?
β AWS SES wins on cost at current scale. Can migrate to SendGrid if needed."
β proposal.md written to devwork/changes/notification-system/
β CONTEXT.md updated: +Notification, +NotificationChannel
β ADR-0004: "Use AWS SES for transactional email"
Each question comes with a recommended answer. The model explores your codebase before asking. Terms are captured in CONTEXT.md as they crystallize. ADRs are created only when the triple-filter triggers (hard to reverse + surprising + real trade-off).
π Build Mode β Full 8-Stage Pipeline
| # | Stage | Source | What It Does | Hard Gate |
|---|
| β | Grill | Matt Pocock | Relentless design interview. One question at a time. Sharpens fuzzy language. Builds CONTEXT.md. | Design approved by user |
| β‘ | Spec | OpenSpec | Generates proposal.md + WHEN/THEN specs + design.md + tasks.md (initial). | Proposal confirmed |
| β’ | Plan | superpowers | Enhances tasks.md: exact file paths, verification commands, TDD flags, dependency graph. Auto-detects parallel groups. | Every task has file path + verify cmd |
| β£ | Isolate | superpowers | Creates git worktree on new branch. Native tools preferred, git fallback. | Worktree ready, baseline green |
| β€ | Apply | All three | TDD (REDβGREENβREFACTOR) + auto-parallel subagents + checkpoints + 3-failure rollback. | All tasks [x], all tests pass |
| β₯ | Review | superpowers + Matt | Dual-axis: Spec compliance (WHEN/THEN match code?) + Code quality (10 smell baseline). | Both axes pass |
| β¦ | Finish | superpowers | Structured menu: merge locally / create PR / keep / discard. | User confirms merge method |
| β§ | Archive | OpenSpec + Matt | Sync delta specs β source of truth. Archive change. Capture knowledge. | User confirms archive |
β‘ Stage β€ β Enhanced Apply (The Core)
Task N from tasks.md
β
ββ git commit checkpoint
ββ π΄ RED: Write failing test β Verify it FAILS correctly
ββ π’ GREEN: Minimal implementation β Verify it PASSES
ββ π΅ REFACTOR: Clean up β Verify still green
ββ β
Task complete, mark [x]
β
ββ Failure? β git reset --hard checkpoint β retry
ββ 3 failures? β Systematic debugging β Question architecture
TDD Iron Law: No production code without a failing test first. Write code before the test? Delete it. Start over. No exceptions.
Auto-Parallel: Model analyzes the dependency graph. Tasks operating on different files with no dependencies β dispatched as concurrent subagents. Each gets isolated context and precise instructions.
Checkpoint + Rollback: git commit before each task. On failure, git reset --hard to checkpoint. After 3 failures on the same task β upgrade to systematic debugging β question whether the architecture is fundamentally wrong.
Model Selection: Mechanical tasks (1-2 files, clear specs) β fast/cheap model. Integration tasks β standard model. Architecture/review β most capable model.
π File Structure
Skill Package (this repo)
skills/devflow/
βββ SKILL.md # Entry: mode detection + routing
βββ modes/ # Three mode orchestrators
β βββ design.md # Design mode (Quick-Grill β Spec-lite)
β βββ build.md # Build mode (Full 8-stage pipeline)
β βββ fix.md # Fix mode (Diagnose β TDD fix β Verify)
βββ stages/ # Reusable stage skills
β βββ grill.md # Full design interview (Matt Pocock style)
β βββ quick-grill.md # Compressed 5-question interview
β βββ spec.md # OpenSpec artifact generation
β βββ plan.md # Task enhancement + dependency analysis
β βββ isolate.md # Git worktree isolation
β βββ enhanced-apply.md # TDD + subagent + parallel + rollback (225 lines)
β βββ review.md # Dual-axis review (spec + quality)
β βββ diagnose.md # Systematic root cause investigation
β βββ finish.md # Branch completion (merge/PR/keep/discard)
β βββ archive.md # Knowledge capture + spec sync
βββ templates/ # Reference files with annotations
βββ CONTEXT.md # Glossary template
βββ adr.md # Architecture Decision Record template
βββ proposal.md # Change proposal template
βββ design.md # Technical design template
βββ tasks.md # Task list with dependency graph
βββ spec.md # WHEN/THEN behavior spec template
βββ summary.md # Change summary template
Project Output (devwork/)
devwork/
βββ specs/ # System specs β source of truth (long-lived)
β βββ <domain>/spec.md
βββ changes/ # Active changes (short-lived)
β βββ <id>/
β βββ proposal.md
β βββ design.md
β βββ tasks.md # Enhanced by PLAN stage
β βββ delta/<domain>/ # Delta specs (ADDED/MODIFIED/REMOVED)
β βββ logs/ # Full audit trail
βββ knowledge/ # Cross-change knowledge (long-lived)
β βββ CONTEXT.md # Project glossary
β βββ adr/ # Architecture Decision Records
βββ archive/ # Completed changes
π§ Philosophy
Actions, Not Phases
Traditional workflows lock you into phases. DevFlow follows OpenSpec's philosophy: actions are things you can do, not stages you're stuck in. Update the design during implementation? Go ahead. Discover a new requirement mid-build? The pipeline adapts.
Hard Gates, Not Suggestions
Every stage has a non-negotiable condition that must be met before proceeding. Inspired by superpowers' Iron Law pattern:
- π« No production code without a failing test first
- π« No fixes without root cause investigation first
- π« No completion claims without fresh verification evidence
- π« No CONTEXT.md updates without user confirmation
Process Over Prompt
Methodology is embedded in structured Markdown files with DOT diagrams, checklists, and Red Flags tables β not vague system prompts. Each skill file is self-contained and platform-agnostic.
Knowledge Lives in the Project
All artifacts live in devwork/ in your project root β not in .claude/, not in chat history. Change tools, change AI models, change teammates β the knowledge persists.
π Comparison
| Capability | DevFlow | superpowers alone | grill-with-docs alone | OpenSpec alone |
|---|
| Design sharpening | β
Grill interview | β οΈ Brainstorming (no glossary/ADR) | β
(no execution pipeline) | β |
| Spec management | β
Delta specs + sync | β | β οΈ ADRs only | β
(no execution discipline) |
| TDD enforcement | β
Iron Law | β
| β οΈ Optional | β |
| Auto-parallel | β
Dependency analysis | β
| β | β |
| Checkpoint rollback | β
git-based | β | β | β |
| Dual-axis review | β
Spec + Quality | β
| β οΈ Quality only | β
Verify |
| Knowledge capture | β
CONTEXT + ADR + summary | β | β
| β |
| Unified output dir | β
devwork/ | β (scattered) | β οΈ docs/ | β
openspec/ |
π Credits
DevFlow fuses and adapts concepts from three incredible open-source projects:
| Project | Author | What We Adapted |
|---|
| superpowers | Jesse Vincent (obra) | TDD Iron Law, subagent-driven-development, systematic-debugging 4-phase model, writing-plans task right-sizing, git worktree isolation, verification-before-completion, hard gates + Red Flags pattern, DOT diagram process flows |
| skills | Matt Pocock | Grill-with-docs relentless interview, domain-modeling glossary/ADR discipline, diagnosing-bugs feedback loop construction, code-review 10-smell baseline, TDD seams concept |
| OpenSpec | Fission-AI | Spec-driven development, delta specs (ADDED/MODIFIED/REMOVED), artifact dependency graph, exploreβproposeβapplyβarchive workflow, actions-not-phases philosophy |
π License
MIT Β© 2026 AppleCG