By phj128
Auto-loop execution workflow with quality gates for Claude Code. Automatically decomposes tasks, implements code, runs tests, and iterates through quality gates until completion.
Auto-loop execution workflow with quality gates. Use when starting any non-trivial implementation task. Provides automatic task decomposition, code implementation, testing (L1-L4), and iterative quality gates until completion. Invoke with /autoworker.
Record progress to subtask: Phase completion (from autoworker:code) or test results (from autoworker:test). Auto-detects upstream type from conversation context. Ends by calling autoworker:dispatch.
Implement ONE pending Phase from subtask plan. Only write code, do not mark checkboxes or run tests. Called by autoworker:dispatch. Ends by calling autoworker:checkpoint.
Structured deep discussion for Plan Mode. Runs inside EnterPlanMode to ensure thorough questioning before writing a plan. Covers motivation, assumptions, design, acceptance criteria. Call this immediately after entering Plan Mode for any non-trivial task.
Read subtask.md checkbox state and route to next skill. The ONLY routing point in the execution loop. Called after autoworker:checkpoint, autoworker:gate-check, autoworker:subtask-update, autoworker:subtask-plan, or when resuming after context loss. When lost, call autoworker:dispatch.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
An auto-loop execution workflow with quality gates for Claude Code.
Give Claude a task. Autoworker decomposes it, implements code, runs tests, and iterates through quality gates — autonomously looping until the job is done right.
The problem: Claude often claims "done" before truly verifying. It skips tests, forgets edge cases, and moves on. Autoworker fixes this by enforcing a state machine that won't let Claude say "done" until it actually passes quality checks.
Without Autoworker, Claude Code:
/clear with no recoveryWith Autoworker:
/clear won't erase progress# Add the marketplace
/plugin marketplace add phj128/autoworker
# Install the plugin
/plugin install autoworker@autoworker
You: I need to add authentication to my Express app
Claude: [enters Plan Mode]
→ /autoworker triggers autoworker:deep-plan
→ 5-phase structured discussion (motivation, assumptions, design, acceptance criteria, plan)
→ Produces a plan file
You: /clear
Claude: [sees plan, enters execution]
→ autoworker:subtask-init → autoworker:subtask-plan → autoworker:dispatch
→ Autonomous loop until gate-check PASS
You: /autoworker
Add a retry mechanism to the API client with exponential backoff
Claude: → Creates subtask → Builds verification plan → Implements → Tests → Gates → Done
Autoworker runs as a state machine. Each skill reads the current state, does its job, and hands off to the next. No step can be skipped.
┌─────────────────────────────────────┐
│ │
subtask-init ──→ subtask-plan ──→ dispatch ──→ code ──→ checkpoint ──┐
↑ │
│ ┌────────────────────┘
│ ↓
├──── dispatch ──→ test ──→ checkpoint
│ ↓
│ gate-check
│ ↓ ↓
│ FAIL PASS ──→ done ✅
│ ↓
└── subtask-update
| Skill | Role | What happens |
|---|---|---|
| deep-plan | Planning | 5-phase structured discussion: motivation → assumptions → design → acceptance criteria → plan output |
| subtask-init | Setup | Creates subtask document with goals, assumptions (verified by running commands), and acceptance criteria |
| subtask-plan | Verification design | Builds L1-L4 test plan, traces each acceptance criterion to a test, checks coverage |
| dispatch | Router | Reads subtask checkboxes, routes to the right next step. The only routing point — prevents skipping |
| code | Implementation | Implements one phase of code, following the subtask plan step by step |
| test | Verification | Executes one test layer (L1/L2/L3/L4), records actual output vs expected |
| checkpoint | Record keeping | Checks off completed phases, writes test results to subtask |
| gate-check | Quality gate | Traces every acceptance criterion to test results, assesses confidence, triggers re-work if < 95% |
| subtask-update | Fix & retry | When gate-check fails, adds remediation steps and feeds back into the loop |
| sync-docs | Documentation | Syncs progress, findings, and archives completed work |
| Layer | Verifies | Example | Required? |
|---|---|---|---|
| L1 Build | Code compiles/parses | pnpm build, bash -n *.sh | Yes |
| L2 Unit | Individual function logic | Specific function call + expected output | Optional (with justification) |
| L3 Chain | Multi-module data flow | Feed real upstream output to downstream | Optional (with justification) |
| L4 End-to-End | Complete user path | Simulate actual user operations | Always required |
The gate-check doesn't just ask "does it work?" — it:
npx claudepluginhub phj128/autoworker --plugin autoworkerDescribe your goal, approve the spec, then step away — Claude and Codex loop together until it's right.
PROJECT.md-first autonomous development with hybrid auto-fix documentation. 8-agent pipeline, auto-orchestration, docs auto-update on commit (true vibe coding). Knowledge base system with 90% faster repeat research. Strict mode enforces SDLC best practices automatically. Works for ANY Python/JavaScript/TypeScript/Go project.
Multi-agent orchestration for code that matters.
Autonomous session orchestrator for Claude Code - manages multi-phase development workflows
Code transformation: Dev SDLC orchestrator (code-shipping pipeline), plan, assert, audit, review, test, refactor, debug, for-sure. Hosts engineering agents.
AI-powered development workflow automation - Phase-based planning, implementation orchestration, preflight code quality checks with security scanning, ship-it workflow, and development principles generator for CLAUDE.md