πŸ”Œ

devflow

πŸ”ŒPlugin🧩 Mod

A Claude Code plugin with skills and helper agents for studying a codebase, planning work and carrying it out phase by phase. It also adds code and security review, and tracks progress with Claude Code's built-in task list.

Installation

$/plugin marketplace add mhylle/claude-skills-collection
$/plugin install devflow@mhylle

Run these in Claude Code. In a session that is already open, run /reload-plugins after installing.

Permissions to check

  • Tool calls
  • Your prompts
  • Model calls

Also: Interface Β· /commands Β· Reads files Β· MCP Β· Own data Β· Session info

Raw check output (Claude Code 2.1.322)

hooks: session.start, tool.call, tool.call{tool=Skill}, tool.call{tool=Write}, tool.call{tool=Edit}, tool.call{tool=NotebookEdit}, tool.call{tool=AskUserQuestion}, tool.call{tool=Bash}, tool.call{tool=PowerShell}, turn.complete, prompt.submit, command.run{command=hud}, ui.render{component=AbovePrompt}, ui.render{component=Pane, requestId=?}

calls: $.agent.list (via followSkill, noteSkill, pauseIfIdle, pollAgents, runningNote), $.clock.every (via start), $.clock.now (via linkedRequirements, loadPhase, pollAgents, readChecks, tick, viewOf), $.command.register (via start), $.fs.read (via testProjectsOf), $.mcp.call (via call), $.state.get, $.state.set, $.store.get (via linkedRequirements, start), $.store.set (via followTaskTracker, linkedRequirements, refresh, runCommand, setGuardEnabled), $.ui.notify (via notifyStatus), $.ui.open (via openPane), $.ui.resolve, $.ui.toast (via pollAgents, readChecks)

Claude Code Skills Collection

Custom skills and agents for Claude Code that enhance codebase research, context management, and implementation planning workflows.

New to this workflow? See the Workflow Overview for a step-by-step guide.

Installing? This repo ships as the devflow Claude Code plugin β€” see Installation and Plugin Distribution.

Built on Claude Code Task Tools

This skill collection uses Claude Code's native Task tools for progress tracking.

Progress tracking is handled entirely through Claude Code's built-in Task system:

ToolPurpose
TaskCreateCreate tasks for each phase with dependencies
TaskUpdateMark tasks as in_progress or completed
TaskListView all tasks with status and blockers
TaskGetGet full task details including description

Benefits:

  • Persistent - Tasks survive session restarts
  • Cross-session - Share progress across multiple terminals
  • Dependency tracking - Blocked tasks visible, execute in order
  • No file pollution - Progress tracked in memory, not plan files

Plans remain pure specification documents. See Progress Tracking for details.

Claude Code 2.1.x Feature Alignment

This collection uses modern Claude Code skill features (v2.1.16+):

FeatureSkills Using ItPurpose
context: forkcodebase-researchRun in isolated subagent context. Only for skills that run to completion without the user and don't wait on agents of their own: agent reports arrive in the top-level session, so the phase leads (implement-phase, tt-implement-phase) run inline.
agent: Explore/Plan(none)Subagent type for a forked skill. Both built-ins are read-only and lack the Agent tool, so any skill that writes files or spawns subagents must leave this unset.
allowed-toolscode-review, verification-loop, security-review, adversarial-reviewer, codebase-research, strategic-compactRestrict available tools (read-only enforcement)
argument-hintimplement-plan, implement-phase, adr, e2e-testing, code-review, adversarial-reviewer, context-saver, prompt-generatorShow usage hints in autocomplete
disable-model-invocationcontext-saver, prompt-generatorUser-only invocation (no auto-trigger)
user-invocable: falseimplement-phaseHide from user menu (internal skill)

Never add context: fork to an interactive skill. A forked skill runs in a subagent with no access to the conversation history, and since Claude Code v2.1.218 it is backgrounded by default β€” so a skill that asks the user questions and waits for answers (brainstorm) simply never reaches the user. agent: Explore compounds it: that agent type is read-only, so the skill cannot write its output document either. tests/test-interactive-skills.sh guards this.

Argument Substitution

Skills support the new argument syntax:

  • $0, $1, $2 - Positional arguments
  • $ARGUMENTS - All arguments
  • ${CLAUDE_SESSION_ID} - Session tracking

Example: /implement-plan docs/plans/my-feature.md passes the path as $0.

Implementation Workflow

The core workflow for implementing features follows this hierarchy:

                              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                              β”‚   brainstorm    β”‚
                              β”‚   (ideation)    β”‚
                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
                           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                           β–Ό                       β–Ό
                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚      adr        β”‚   β”‚   user-story     β”‚
                  β”‚  (decisions)    β”‚   β”‚ (requirements)   β”‚
                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
                           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
                                       β–Ό
                              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                              β”‚  create-plan    β”‚
                              β”‚ (spec β†’ phases) β”‚
                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
                                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                              implement-plan                                   β”‚
β”‚                           (orchestrates all phases)                           β”‚
β”‚                                                                               β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                      β”‚
β”‚   β”‚   Phase 1   │───▢│   Phase 2   │───▢│   Phase N   │───▢ Complete        β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜                      β”‚
β”‚          β”‚                  β”‚                  β”‚                              β”‚
β”‚          β–Ό                  β–Ό                  β–Ό                              β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚   β”‚                    implement-phase (per phase)                       β”‚    β”‚
β”‚   β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”‚    β”‚
β”‚   β”‚  β”‚ Step 1: Implementation (subagents) [TDD mode: tests first] β”‚     β”‚    β”‚
β”‚   β”‚  β”‚ Step 2: verification-loop (6-phase exit conditions) ─────┐│     β”‚    β”‚
β”‚   β”‚  β”‚ Step 3: Integration Testing (API/UI via Playwright)      β”‚β”‚     β”‚    β”‚
β”‚   β”‚  β”‚ Step 4: code-review ─────────────────────────────────────┼┼──┐  β”‚    β”‚
β”‚   β”‚  β”‚         β”œβ”€β–Ί security-review (optional OWASP audit) ──────┼┼──┼─┐│    β”‚
β”‚   β”‚  β”‚ Step 5: ADR Compliance ──────────────────────────────────┼┼──┼─┼─    β”‚
β”‚   β”‚  β”‚ Step 6: Plan Sync                                        β”‚β”‚  β”‚ β”‚β”‚    β”‚
β”‚   β”‚  β”‚ Step 7: Prompt Archival                                  β”‚β”‚  β”‚ β”‚β”‚    β”‚
β”‚   β”‚  β”‚ Step 8: Completion Report                                β”‚β”‚  β”‚ β”‚β”‚    β”‚
β”‚   β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”Όβ”€β”€β”Όβ”€β”Όβ”˜    β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”Όβ”€β”€β”Όβ”€β”Όβ”€β”€β”€β”€β”€β”˜
β”‚                                                                 β”‚β”‚  β”‚ β”‚      β”‚
β”‚         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚  β”‚ β”‚      β”‚
β”‚         β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚ β”‚      β”‚
β”‚         β”‚              β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚      β”‚
β”‚         β”‚              β”‚              β”‚              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚
β”‚         β–Ό              β–Ό              β–Ό              β–Ό                        β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”‚
β”‚   β”‚verificationβ”‚  β”‚code-reviewβ”‚  β”‚security-  β”‚  β”‚      adr        β”‚           β”‚
β”‚   β”‚   -loop   β”‚  β”‚           β”‚  β”‚  review   β”‚  β”‚                 β”‚           β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β”‚
β”‚    (default)                      (optional)                                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
                                       β–Ό
                              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                              β”‚   e2e-testing   β”‚
                              β”‚  (validation)   β”‚
                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                       β”‚
                                       β–Ό
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β”‚   continuous-learning    β”‚
                        β”‚ (extract session patterns)β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Workflow Stages

StageSkillPurpose
IdeationbrainstormRefine rough ideas through Socratic questioning
Requirementsuser-storyGenerate hierarchical user stories with acceptance criteria
Planningcreate-planCreate detailed, phased implementation plans
Iterationiterate-planUpdate plans based on feedback
Executionimplement-planOrchestrate full plan execution
Phase Workimplement-phaseExecute single phase with quality gates
Qualitycode-reviewVerify code quality, patterns, ADR compliance
Adversarial Qualityadversarial-reviewerSubagent-based hostile review (Saboteur, New Hire, Security Auditor) to break self-review blind spots
Comprehensive Auditcodebase-auditLong-running full-codebase audit β€” partitions the repo, delegates to adversarial-reviewer per partition, synthesizes a written remediation report
Securitysecurity-reviewOWASP-aligned security audit (optional step)
Verificationverification-loop6-phase verification: build, type, lint, test, security, diff
Metrics Gatecode-quality-auditCoverage, complexity, module size, deps, mutation β€” gate or on-demand
DecisionsadrDocument architectural decisions
Testinge2e-testingEnd-to-end validation with Playwright
Evaluationeval-harnessFormal capability/regression testing with metrics
Learningcontinuous-learningExtract patterns from sessions for reuse

Skills

Skills are invoked via the Skill tool or /skill-name shorthand.

Planning & Implementation

SkillTriggerDescription
brainstorm/brainstorm, "explore this idea"Interactive idea refinement using Socratic questioning, written to docs/brainstorms/ for create-plan or tt-create-plan
user-story/user-story, "create user stories"Generate hierarchical user stories (epics/features/tasks) with Given/When/Then acceptance criteria
create-plan/create-plan, "plan the implementation"Creates detailed implementation plans through research
iterate-plan"update the plan", "iterate on this plan"Updates existing plans based on feedback
implement-plan/implement-plan, "implement the plan"Orchestrates execution of complete plans (subagent mode)
implement-phaseCalled by implement-planExecutes single phase with all quality gates
tt-create-plan/tt-create-plan, "plan this in tasktracker"TaskTracker-native planning: requirements with acceptance criteria and phase tasks from templates instead of a docs/plans/*.md file
tt-implement-plan/tt-implement-plan, "execute the tasktracker plan"Runs a TaskTracker plan phase by phase, delegating each phase to tt-implement-phase, with active-task time tracking and insight logging
tt-workflow-run/tt-workflow-run, "drive the backlog to done"Autonomous gated run over a TaskTracker backlog: next ready slice β†’ tt-implement-phase β†’ drift and defect gates β†’ measured-time projection, until the backlog drains
tt-workflow-build/tt-workflow-build, "parallel build (tasktracker)"Parallel build of a TaskTracker project, on the Workflow tool when it is enabled and on parallel subagents otherwise, driven to done
tt-create-build-loop/tt-create-build-loop, "set up an autonomous build loop"Writes prompts/autonomous-build-loop.md, the prompt a /loop re-reads every iteration to plan, implement and verify TaskTracker phases unattended under a zero-error gate, with a human-only queue and a per-phase cost ledger. Detects the repo, stack, CI and TaskTracker phases, asks only what it can't, creates missing queue/ledger phases, optionally installs the bundled token-usage tooling, and installs a clean-worktree gate runner
workflow-guide/workflow-guide, "which workflow should I use"Routes work to a lane: file-based or TaskTracker pipeline, autonomous run, unattended loop, parallel build or audit, or issue-to-merge

Quality & Documentation

SkillTriggerDescription
code-review/devflow:code-review (bare /code-review is Claude Code's built-in review), Step 4 of implement-phase and tt-implement-phaseSystematic review: SRP, patterns, ADR compliance
adversarial-reviewer/adversarial-reviewer, "adversarial review", "critical review", "audit this repo"Spawns three hostile-persona subagents (Saboteur, New Hire, Security Auditor) in parallel; each must find β‰₯1 issue; cross-persona findings get severity-promoted. Default mode reviews a diff; --codebase [path] reviews a whole repo/subtree with strategic per-persona deep-dives
grumpy-reviewer/grumpy-reviewer, "structural review", "is this well factored"One isolated-subagent reviewer that judges only maintainability (separation of concerns, helper extraction, small files, the rule of 7) and never learns how the code was produced
codebase-audit/codebase-audit, "comprehensive codebase review", "thorough audit", "code due diligence"Long-running full-coverage audit. Partitions the repo, delegates to /adversarial-reviewer --codebase per partition, synthesizes systemic findings, produces written remediation report. Resumable. Pairs with code-quality-audit for qualitative + quantitative picture
tt-workflow-audit/tt-workflow-audit, "parallel audit (tasktracker)"Read-only parallel audit of a TaskTracker project's repo, backlog or architecture: a ranked risk register, with fix tasks written back by the parent on approval. Resumable
adr/adr, "document decision"Creates Architecture Decision Records
e2e-testing/e2e-testing, "test my webapp"E2E testing with Playwright MCP
security-review/devflow:security-review (bare /security-review is the built-in), auth/input code10-category OWASP-aligned security audit
verification-loop/verification-loop, "verify implementation"6-phase verification: build, type, lint, test, security, diff
code-quality-audit/code-quality-audit, "audit code quality", "run mutation testing"Coverage + complexity + module size + dependency cycles + mutation score. Gate or on-demand modes
eval-harness/eval-harness, "run evals"Formal evaluation framework with pass@k metrics

Research & Context

SkillTriggerDescription
codebase-research"how does X work"Parallel codebase research with sub-agents
context-saver/context-saver, "save context"Preserves session state for continuation
prompt-generator/prompt, "generate prompt"Creates implementation prompts for phases

Learning & Optimization

SkillTriggerDescription
continuous-learning"save what we learned", /continuous-learningPromotes reusable procedures from a session into learned skills at ~/.claude/skills/learned-<slug>/ (on demand; one-liners go to auto-memory)
strategic-compactPreToolUse hookSuggests /compact at logical boundaries, not arbitrary thresholds
skill-visualizer/skill-visualizer, "visualize skills"Generate interactive HTML visualizations of skills and codebase

Development

SkillTriggerDescription
agent-creator"create agent", "build agent"Creates composable AI agent systems in NestJS
design-language"design my own design language", "build my design system", "I want my own look not the Claude default"Guided design-brief β†’ living-styleguide compiler. Reaction-first elicitation (web research + real references + live archetypes rendered in your own tokens β†’ you react β†’ targeted refinement) with a per-dimension 1–5 "safeness" gradient (conventionalβ†’experimental) across the entire system (color, type, spacing, shape, elevation, motion, imagery, components, patterns, voice). Resumable multi-phase flow; emits a self-contained, portable ./design-system/ (interactive dashboard + css/tokens.css single-source-of-truth + W3C design-tokens.json + DESIGN_LANGUAGE.md contract with an explicit anti-Claude reference + pre-ship checklist + a default-vs-yours compare.html) that future sessions read and build from. Different from frontend-design (which styles one UI in the moment).

Media & Content

SkillTriggerDescription
visual-explainer/visual-explainer <topic> [--full], "explain how X works", "make a visual explainer of…", "TLDR page for management about…", "show me how to…"Turns any topic into one self-contained HTML explainer built on learning research: The short version (the answer as a headline, three takeaways, one animated diagram, "what this means for you"), How it works (plain language, every term and abbreviation explained, up to five question-led sections, each with an animated CSS diagram and a quick check), Show me (an animated walkthrough when there is something to demonstrate: drawn screens with a moving cursor, a typing terminal, messages passing between parties, or a guided screenshot tour) and an optional Deep dive. Calm "Nocturne" design (charcoal and one orange accent, Lucide icons, light/dark). --full turns on the interactive layer: guess-first questions, what-if sliders, put-in-order checks, clickable diagrams, scroll stories, exploded 3D views, zoomable maps and read-aloud. Animations are paced for reading (`--tempo slow
video-explainer/video-explainer <url-or-path>, "make an HTML explainer for this video", "turn this talk into visual notes"Turns a video (YouTube, any yt-dlp URL, or a local file) into one self-contained HTML explainer page: headline + TL;DR, key takeaways, a section per part of the video, and diagrams built in pure HTML + CSS (17 components: flows, timelines, bar/line/dumbbell charts, threshold scales, comparisons, cycles, layers…). Watches the video via the watch plugin (frames + transcript), adds screenshots only when the video's own image is the information, renders the page headless at desktop and phone width to check its own layout, and links every claim to its timestamp. Requires the watch plugin: see the Video Explainer Guide for install and usage.

Pipeline (Issue β†’ Merge)

SkillTriggerDescription
ship-issue/ship-issue <issue-number-or-url>One-command GitHub issue β†’ merged PR pipeline across nine stages (preflight, plan, implement, review, ci, cloud_review, deploy, e2e, logs) with exactly two human gates β€” plan approval and merge confirmation. Model-tiered: Fable 5 plans, orchestrates, and runs the merge-gate review; Opus 4.8 implements (TDD); Sonnet 4.6 runs staging E2E and log checks. File-based run state gives lossless crash-resume; per-stage time tracking (work / gate-wait / crash-gap, with a per-model-tier rollup) is embedded in the Gate 2 merge brief. Pair with the single-file dashboard.py for a live view.

Overview page: open skills/ship-issue/pipeline.html in a browser for a one-page tour β€” the skill, its five agents, and the full stage-flow diagram with model-tier colour-coding (self-contained, no dependencies).

Agents

Agents are specialized subagents launched with the Agent tool. When the collection is installed as a plugin they are named devflow:<agent>.

AgentPurpose
implementersonnet, medium effort: writes code and tests for one briefed unit of work; used by tt-implement-phase for implementation and fix rounds
mechanichaiku, low effort: runs build/type/lint/test checks and verification-loop, report-only, never edits
revieweropus, high effort (callers pass fable for security reviews): runs code-review / security-review on code it did not write
codebase-analyzerTraces implementation with file:line references
codebase-locatorFinds files by topic/feature ("Super Grep/Glob")
codebase-pattern-finderFinds concrete code examples and patterns
docs-analyzerExtracts insights from docs, ADRs, design docs
docs-locatorFinds documentation and research notes
web-search-researcherWeb research for APIs, libraries, troubleshooting
browser-verification-agentUI testing via Playwright MCP with screenshot evidence
design-researcherclaude-sonnet-4-6 β€” per-dimension inspiration research for the design-language skill (WebSearch β†’ Playwright screenshots β†’ cached manifest), steering away from the default Claude look

ship-issue pipeline agents

Each agent pins its model in frontmatter β€” the tier is part of the contract, never switched mid-task (prompt caches are model-scoped; ADR-0007). A fix cycle is always a fresh task on the same tier, never a resumed task on a different model.

AgentModelPurpose
issue-plannerclaude-fable-5 (Fable 5)Turns a GitHub issue + codebase into the plan presented at Gate 1. Outcome-prompted (ADR-0008).
merge-gate-reviewerclaude-fable-5 (Fable 5)Last-line diff review at the merge gate; verdict contract APPROVE / FIX (itemized blockers). Outcome-prompted.
tdd-implementerclaude-opus-4-8 (Opus 4.8)Tests-first implementation, UI components, API routes; receives reviewer/CI/E2E blockers verbatim on fix cycles.
staging-e2e-verifierclaude-sonnet-4-6 (Sonnet 4.6)Runs the plan's E2E scenarios against the live staging URL via Playwright MCP; PASS/FAIL/FLAKY/BLOCKED with screenshot evidence.
staging-log-verifierclaude-sonnet-4-6 (Sonnet 4.6)Scans staging service logs over the deploy window; CLEAN vs ERRORS_FOUND with cited lines.

Installation

This repository is distributed exclusively as a Claude Code plugin named devflow, published through a marketplace named mhylle. Inside Claude Code:

/plugin marketplace add mhylle/claude-skills-collection
/plugin install devflow@mhylle

Then /reload-plugins (or restart) if the install summary asks for it.

Plugin skills are namespaced, so every skill is invoked as /devflow:<skill>:

/devflow:brainstorm
/devflow:create-plan
/devflow:implement-plan

Nothing is copied into ~/.claude/ β€” the plugin lives in Claude Code's plugin cache, carries a version, and updates in place:

/plugin marketplace update mhylle

To remove it: /plugin uninstall devflow.

See Plugin Distribution for the manifest layout, versioning, publishing, and local development.

Migrating from the old install script

Earlier versions shipped an install.sh that copied skills, agents, and hooks into ~/.claude/. It is gone (ADR-0011).

Those copies do not disappear on their own, and plugin skills do not override same-named personal skills β€” so until you remove them you will have both /brainstorm and /devflow:brainstorm pointing at two copies that drift apart, with Claude free to auto-invoke either. Remove the copies once, after installing the plugin:

# from a checkout of this repo
for s in $(ls skills); do rm -rf "$HOME/.claude/skills/$s"; done
for a in agents/*.md; do rm -f "$HOME/.claude/agents/$(basename "$a")"; done

~/.claude/hooks.json is your own user configuration, not a copy of this repo's file. The old script overwrote it (leaving hooks.json.backup); the plugin no longer touches it. Review it by hand and delete only the entries you recognise from this collection.

What the Plugin Ships

Skills, agents, and these hooks β€” all discovered automatically from the plugin's default component locations (skills/, agents/, hooks/hooks.json).

Hooks (automatic behaviors):

/devflow:strategic-compact is invoked on demand rather than by a hook β€” see ADR-0011.

Hook TypeNameTriggerPurpose
PreToolUsetmux-dev-blocknpm run dev etc.Block dev servers outside tmux
PreToolUsetmux-reminderLong-running commandsSuggest tmux for session persistence
PreToolUsegit-push-reviewgit pushReminder to review before push
PreToolUsedoc-file-warn.md/.txt creationWarn about docs outside docs/ structure
PostToolUsepr-url-loggergh pr createLog PR URL and review command
PostToolUseprettier-formatJS/TS file editsAuto-format with Prettier
PostToolUsetypescript-check.ts/.tsx editsRun tsc --noEmit and show errors
PostToolUseconsole-log-warnJS/TS file editsWarn about console.log statements
Stopconsole-log-auditSession endAudit modified files for console.log
SessionStartload-contextSession startDetect saved context files in docs/context/
PreCompactsave-context-before-compactBefore /compactRemind to save context before compaction

HUD (function hooks, hooks/register.tsx): a progress band above the prompt and a /hud pane for TaskTracker phases (sub-tasks, acceptance criteria, booked time, running agents, the last build or test result), plus an orchestrator guard that refuses main-thread file edits while a phase lead runs, an in-flight reminder while agents work, a heartbeat while agents run, and alarms for failed or missing test projects. See the devflow HUD guide.

CLAUDE.md Integration

Enforce the skill workflow in your projects using the init script:

# Initialize a project with workflow enforcement
./init-workflow.sh ~/projects/myapp           # Standard level (recommended)
./init-workflow.sh ~/projects/myapp minimal   # Lightweight reminder
./init-workflow.sh ~/projects/myapp strict    # Full enforcement

# Or from within your project
cd ~/projects/myapp && /path/to/init-workflow.sh .

This script:

  • Creates docs/plans/, docs/brainstorms/, docs/user-stories/, docs/adr/, logs/ directories
  • Appends workflow rules to existing CLAUDE.md (non-destructive)
  • Creates new CLAUDE.md from template if none exists
  • Backs up existing CLAUDE.md before modifying

Enforcement levels:

LevelDescription
minimalBasic 5-line workflow reminder
standardWorkflow + quality gates + key rules (recommended)
strictComplete enforcement with orchestrator pattern, ADRs, security triggers

Resources:

Ready to start? Check out the Workflow Overview for a complete guide.

Usage Examples

Full Implementation Workflow

# 1. Brainstorm the idea
/brainstorm
> "I want to add user authentication to the app"

# 2. Define requirements (parallel with ADRs)
/user-story docs/brainstorms/2026-02-17-user-auth.md
> Creates docs/user-stories/EPIC-01-user-auth.md + INDEX.md

# 3. Create a plan
/create-plan
> Creates docs/plans/auth-implementation.md

# 4. Implement the plan
/implement-plan docs/plans/auth-implementation.md
> Executes phases with quality gates

# 5. Run E2E tests
/e2e-testing run

Quick Code Review

/code-review
> Review the changes in src/auth/

Adversarial Review (Before Merge)

/adversarial-reviewer --diff main...HEAD
> Spawns Saboteur, New Hire, and Security Auditor subagents in parallel.
> Each must find at least one issue. Findings caught by 2+ personas are
> promoted one severity level. Produces BLOCK / CONCERNS / CLEAN verdict.

Use this when /code-review came back clean too easily, or before merging PRs with no human reviewer. The subagent isolation is what breaks the self-review trap β€” each persona reviews with no knowledge of prior conclusions.

Adversarial Codebase Audit (Inherited / Unfamiliar Repo)

/adversarial-reviewer --codebase
/adversarial-reviewer --codebase src/api
> Maps the codebase (structure, entry points, churn, tests), then each
> persona strategically deep-reads 5-10 files chosen by its own lens β€”
> Saboteur picks churning/stateful files, New Hire picks entry-point and
> knowledge-silo files, Security Auditor picks trust boundaries. Produces
> HIGH-RISK / MEDIUM-RISK / LOW-RISK verdict plus a "most-concerning area"
> summary.

Use this for onboarding audits, inherited-repo assessments, and periodic tech-debt checks. Findings are strategic-depth, not exhaustive β€” intentionally, because exhaustive whole-repo review from three personas isn't feasible.

Comprehensive Codebase Audit (Long-Running, Full Coverage)

/codebase-audit
/codebase-audit src/                 # scope to subtree
/codebase-audit --resume             # pick up from crash / previous session
/codebase-audit --only api           # re-review just one partition
> Maps repo β†’ proposes partition plan β†’ STOPS for user approval β†’
> sequentially runs /adversarial-reviewer --codebase on each partition β†’
> synthesizes systemic findings β†’ produces docs/audits/.../REPORT.md with
> risk register, architectural themes, and a remediation roadmap.

This is a multi-step orchestrator that delegates each partition review to the adversarial-reviewer skill. Expect 200K-500K tokens and 30-60 minutes for a typical ~500-file repo. Resumable β€” losing your session mid-audit doesn't lose the work. Pair with /code-quality-audit for the quantitative complement (coverage, complexity, cycles, mutation).

Document a Decision

/adr
> Document the decision to use JWT instead of sessions

Quality Gates (implement-phase)

Each phase passes through these gates:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                       PHASE PIPELINE                             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 1. Implementation   β”‚ ─── Subagents write code               β”‚
β”‚  β”‚    [TDD optional]   β”‚     (tests first if tdd_mode: true)    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚            β”‚ PASS                                                β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 2. verification-loopβ”‚ ─── 6-phase exit conditions (default)  β”‚
β”‚  β”‚    Build,Type,Lint, β”‚     Build β†’ Type β†’ Lint β†’ Test β†’       β”‚
β”‚  β”‚    Test,Security,   β”‚     Security β†’ Diff                    β”‚
β”‚  β”‚    Diff             β”‚                                         β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚            β”‚ ALL 6 PASS                                          β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 3. Integration Test β”‚ ─── Claude tests via API/Playwright    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚            β”‚ PASS                                                β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”               β”‚
β”‚  β”‚ 4. Code Review      │────▢│ security-review   β”‚ (optional)   β”‚
β”‚  β”‚    SRP, Patterns    β”‚     β”‚ OWASP audit       β”‚               β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜               β”‚
β”‚            β”‚ PASS                                                β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 5. ADR Compliance   β”‚ ─── Follow & document decisions        β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚            β”‚ PASS                                                β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 6. Plan Sync        β”‚ ─── Verify work items completed        β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚            β”‚ PASS                                                β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 7. Prompt Archive   β”‚ ─── Move prompt to completed/          β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚            β”‚ PASS                                                β”‚
β”‚            β–Ό                                                     β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                         β”‚
β”‚  β”‚ 8. Complete         β”‚ ─── Report to orchestrator             β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                         β”‚
β”‚                                                                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Mandatory Exit Conditions (non-negotiable):

  • verification-loop must PASS (all 6 phases: Build, Type, Lint, Test, Security, Diff)
  • Code review must return PASS β€” every recommendation is fixed; only informational NOTEs may remain
  • All recommendations must be fixed - recommendations are blocking, not optional
  • ADR compliance must PASS

Optional steps can be enabled via plan metadata:

  • security_review: true - Adds OWASP security audit step after code review
  • tdd_mode: true - Enforces RED β†’ GREEN β†’ REFACTOR cycle with 80% coverage

Prompt Integration

The prompt-generator skill creates phase prompts that are automatically discovered:

prompt-generator β†’ docs/prompts/phase-N-name.md
                          ↓
implement-plan discovers prompts automatically
                          ↓
implement-phase uses prompt for orchestration
                          ↓
On completion β†’ docs/prompts/completed/

Orchestrator Pattern

Critical: implement-plan and implement-phase are ORCHESTRATORS. They never write code directly.

implement-plan (ORCHESTRATOR)
    β”‚   β›” NEVER writes code
    β”‚   β›” NEVER uses Write/Edit tools
    β”‚
    └── implement-phase (ORCHESTRATOR)
            β”‚   β›” NEVER writes code
            β”‚
            └── Subagents (DO the work)
                    βœ… Write code
                    βœ… Create files
                    βœ… Run tests

Subagents must be concise - return only STATUS, FILES, ERRORS. Large outputs go to disk.

Code Review: Clean Baseline Principle

Every phase must end clean. Therefore:

  • All errors at review time were introduced by this phase
  • All errors are blocking - no exceptions
  • Inherited codebase errors = our job to fix

Directory Structure

claude-skills-collection/
β”œβ”€β”€ .claude-plugin/                 # NEW: plugin packaging (see documentation/03-plugin-distribution.md)
β”‚   β”œβ”€β”€ plugin.json                 #   plugin manifest β€” name `devflow`, namespaces every skill
β”‚   └── marketplace.json            #   marketplace catalog β€” name `mhylle`, source "./"
β”œβ”€β”€ skills/
β”‚   β”œβ”€β”€ adr/
β”‚   β”œβ”€β”€ adversarial-reviewer/      # NEW: Hostile-persona subagent review (Saboteur/New Hire/Security)
β”‚   β”œβ”€β”€ agent-creator/
β”‚   β”œβ”€β”€ brainstorm/
β”‚   β”œβ”€β”€ code-quality-audit/       # NEW: Metrics gate (coverage, complexity, size, deps, mutation)
β”‚   β”œβ”€β”€ code-review/
β”‚   β”œβ”€β”€ codebase-audit/            # NEW: Long-running full-codebase audit orchestrator
β”‚   β”œβ”€β”€ codebase-research/
β”‚   β”œβ”€β”€ context-saver/
β”‚   β”œβ”€β”€ continuous-learning/      # NEW: Pattern extraction
β”‚   β”œβ”€β”€ create-plan/
β”‚   β”œβ”€β”€ e2e-testing/
β”‚   β”œβ”€β”€ eval-harness/             # NEW: Formal evaluation framework
β”‚   β”œβ”€β”€ implement-phase/
β”‚   β”œβ”€β”€ implement-plan/
β”‚   β”œβ”€β”€ iterate-plan/
β”‚   β”œβ”€β”€ prompt-generator/
β”‚   β”œβ”€β”€ security-review/          # NEW: OWASP security audit
β”‚   β”œβ”€β”€ strategic-compact/        # NEW: Smart compaction suggestions
β”‚   β”œβ”€β”€ skill-visualizer/         # NEW: Interactive HTML visualizations
β”‚   β”œβ”€β”€ user-story/               # Hierarchical user stories with Given/When/Then
β”‚   β”œβ”€β”€ tt-create-build-loop/     # NEW: Writes an unattended TaskTracker build loop (template, lessons, token tooling)
β”‚   β”œβ”€β”€ workflow-guide/           # NEW: Recommends workflow mode
β”‚   β”œβ”€β”€ ship-issue/               # NEW: Issueβ†’merge pipeline (SKILL.md, references/, scripts/dashboard.py)
β”‚   └── verification-loop/        # 6-phase verification
β”œβ”€β”€ agents/
β”‚   β”œβ”€β”€ browser-verification-agent.md  # NEW: UI testing
β”‚   β”œβ”€β”€ implementer.md                 # role agent: code + tests (sonnet)
β”‚   β”œβ”€β”€ mechanic.md                    # role agent: checks, report-only (haiku)
β”‚   β”œβ”€β”€ reviewer.md                    # role agent: code/security review (opus)
β”‚   β”œβ”€β”€ codebase-analyzer.md
β”‚   β”œβ”€β”€ codebase-locator.md
β”‚   β”œβ”€β”€ codebase-pattern-finder.md
β”‚   β”œβ”€β”€ docs-analyzer.md
β”‚   β”œβ”€β”€ docs-locator.md
β”‚   β”œβ”€β”€ issue-planner.md               # NEW: ship-issue planner (Fable 5)
β”‚   β”œβ”€β”€ merge-gate-reviewer.md         # NEW: ship-issue merge-gate review (Fable 5)
β”‚   β”œβ”€β”€ tdd-implementer.md             # NEW: ship-issue implementer (Opus 4.8)
β”‚   β”œβ”€β”€ staging-e2e-verifier.md        # NEW: ship-issue staging E2E (Sonnet 4.6)
β”‚   β”œβ”€β”€ staging-log-verifier.md        # NEW: ship-issue staging logs (Sonnet 4.6)
β”‚   └── web-search-researcher.md
β”œβ”€β”€ hooks/
β”‚   └── hooks.json                  # plugin default hooks location
β”œβ”€β”€ documentation/
β”‚   β”œβ”€β”€ 01-workflow-overview.md
β”‚   β”œβ”€β”€ 02-detailed-workflow.md
β”‚   └── 03-plugin-distribution.md   # NEW: packaging, publishing, versioning
β”œβ”€β”€ tests/
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ decisions/                # ADRs
β”‚   └── plans/                    # Implementation plans
β”œβ”€β”€ LICENSE                         # NEW: MIT
└── README.md

Design Principles

  1. Orchestration over Implementation: Skills coordinate, subagents execute - never write code directly
  2. Quality Gates: Every phase must pass ALL verification steps before proceeding
  3. Clean Baseline: Every phase ends clean; all errors are blocking, no exceptions
  4. Context Preservation: Subagents return concise responses; large outputs go to disk
  5. Extensibility: Pipeline steps can be added without core changes
  6. Parallel Execution: Independent tasks run concurrently via background subagents
  7. Precise References: All analysis includes file:line references
  8. Task-Based Progress: Progress tracked via Claude Code Task tools, not file modifications

Progress Tracking with Task Tools

This skill collection uses Claude Code's native Task tools for all progress tracking. This replaces the traditional approach of modifying plan file checkboxes.

Why Task Tools?

More from this repository10