feature-next
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'.
What this skill does
# Task Next **One command**: `agent-foreman next` ## ⚠️ STRICT WORKFLOW - NO IMPROVISATION **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 | ## ⛔ CLI-ONLY ENFORCEMENT **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`. --- ## Quick Start ```bash agent-foreman next # Auto-select next priority agent-foreman next auth.login # Specific task ``` ## Workflow ``` next → implement → check → done ``` ```bash 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 ``` ### Check TDD Mode First Look for "!!! TDD ENFORCEMENT ACTIVE !!!" in `agent-foreman next` output. ### TDD Workflow (when strict mode active) ```bash # 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!** ## Priority Order 1. `needs_review` → may be broken 2. `failing` → not implemented 3. Lower `priority` number → higher priority (0 is highest) --- ## ⚠️ BREAKDOWN → VALIDATE → IMPLEMENT Workflow **When `next` shows "VALIDATION PHASE REMINDER":** ```bash # 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).** ## Options | 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 | ## Complete Options ```bash 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 ```
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.