feature-run
Executes unattended batch processing of all pending tasks with autonomous decision-making. Use when running all tasks…
Implements a single task following the next → implement → check → done workflow with TDD support. Use when working on one specific task, implementing a single feature from the backlog, or following TDD red-green-refactor cycle. Triggers on 'next task', 'next feature', 'implement
$ npx -y skills add mylukin/agent-foreman --skill feature-next --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/feature-nextContext preview
The summary Claude sees to decide when to auto-load this skill.
Implements a single task following the next → implement → check → done workflow with TDD support. Use when working on one specific task, implementing a single feature from the backlog, or following TDD red-green-refactor cycle. Triggers on 'next task', 'next feature', 'implement
name: feature-next description: Implements a single task following the next → implement → check → done workflow with TDD support. Use when working on one specific task, implementing a single feature from the backlog, or following TDD red-green-refactor cycle. Triggers on 'next task', 'next feature', 'implement feature', 'work on feature', 'single task mode', 'what should I work on'. allowed-tools: [Bash, Read, Glob, Grep, Write, Edit] user-invocable: true
**One command**: `agent-foreman next`
**You MUST follow this exact sequence. Do NOT skip or reorder steps.**
next → implement → check → done
| ❌ FORBIDDEN | ✅ REQUIRED | |--------------|-------------| | Skip `check` step | Run `agent-foreman check` before `done` | | Go straight to implementation | Run `agent-foreman next` first | | Invent extra steps | Use only the 4 steps above |
**NEVER bypass CLI for workflow decisions:**
| ❌ FORBIDDEN | ✅ REQUIRED | |--------------|-------------| | Read `ai/tasks/index.json` to select task | Use `agent-foreman next` | | Read `index.json` to check status | Use `agent-foreman status` | | Read `index.json` for TDD mode | Check CLI output for `!!! TDD ENFORCEMENT ACTIVE !!!` | | Edit task files to change status | Use `agent-foreman done/fail` |
**Allowed:** Reading task `.md` files for acceptance criteria AFTER running `agent-foreman next`.
---
agent-foreman next # Auto-select next priority agent-foreman next auth.login # Specific task
next → implement → check → done
agent-foreman next # 1. Get task + acceptance criteria # ... implement the task ... # 2. Write code agent-foreman check <id> # 3. Verify implementation agent-foreman done <id> # 4. Mark complete + commit
Look for "!!! TDD ENFORCEMENT ACTIVE !!!" in `agent-foreman next` output.
# STEP 1: Get task + TDD guidance agent-foreman next <task_id> # STEP 2: RED - Write failing tests FIRST # Create test file at suggested path # Run tests: <your-test-command> # Verify tests FAIL (confirms tests are valid) # STEP 3: GREEN - Implement minimum code # Write minimum code to pass tests # Run tests: <your-test-command> # Verify tests PASS # STEP 4: REFACTOR - Clean up # Clean up code while keeping tests passing # STEP 5: Verify + Complete agent-foreman check <task_id> agent-foreman done <task_id>
**CRITICAL: DO NOT write implementation code before tests exist in strict TDD mode!**
1. `needs_review` → may be broken 2. `failing` → not implemented 3. Lower `priority` number → higher priority (0 is highest)
---
**When `next` shows "VALIDATION PHASE REMINDER":**
# All BREAKDOWNs complete → Run validation FIRST agent-foreman validate # Then proceed with implementation agent-foreman next
**ALWAYS run `done` after completing each task (including BREAKDOWN tasks).**
| Flag | Effect | |------|--------| | `--check` | Run tests before showing task | | `--dry-run` | Preview without changes | | `--json` | Output as JSON for scripting | | `--quiet` | Suppress decorative output | | `--allow-dirty` | Allow with uncommitted changes | | `--refresh-guidance` | Force regenerate TDD guidance |
agent-foreman done <id> # Mark complete + commit agent-foreman done <id> --full # Run all tests agent-foreman done <id> --skip-e2e # Skip E2E tests agent-foreman done <id> --no-commit # Manual commit
⚠️ DEPRECATED: This project is no longer maintained. Please migrate to ralph-dev - a simplified and improved version.
Executes unattended batch processing of all pending tasks with autonomous decision-making. Use when running all tasks…
Multi-role requirement analysis and task breakdown workflow using 4 specialized AI agents (PM, UX, Tech, QA). Each agent conducts…
Creates AI agent task management structure with feature backlog (ai/tasks/), TDD enforcement, and progress tracking. Use when…
Scans codebases to generate architecture documentation (ARCHITECTURE.md). Use when joining an existing project, understanding…