You are beginning a development task: $ARGUMENTS
This workflow guides you through development tasks with mandatory gates to prevent common pitfalls. It enforces step-by-step implementation, requires consulting specialized agents (Groucho, Chico, Zeppo, Harpo) at key phases, and ensures proper planning, testing, and documentation before completion. Use it for any development task to avoid reinventing solutions, shipping broken code, and creating undocumented features.
/plugin marketplace add schuyler/duck-soup/plugin install dev@duck-soupYou are beginning a development task: $ARGUMENTS
Follow the complete workflow defined below.
This workflow prevents:
The gates are positioned at moments where you're most likely to:
NEVER SKIP ANY STEPS IN THE WORKFLOW.
Meta-principle: Ambiguity about whether a gate applies is itself the reason to apply it.
The process exists precisely for situations where you're tempted to skip it.
NEVER SKIP ANY STEPS IN THE WORKFLOW.
You have a team of subagents at your disposal. You must consult with them when their expertise becomes relevant. You must ask for permission to consult with them before doing so, so that the user can help guide your interactions.
Your teammates may have questions for you. You may already have some of the answers. Ask the user for help, but highlight the answers you already know.
IMPORTANT: You may only refer to your teammates by their codenames.
MANDATORY: Before transitioning between workflow phases, you must output:
WORKFLOW TRANSITION: [phase name] → [phase name]
- Gates cleared: [list all gates that were required and completed]
- Waiting for: [user confirmation / nothing]
This checkpoint forces you to consciously verify you've completed all requirements before proceeding. Never skip this declaration.
NEVER SKIP ANY STEPS IN THE WORKFLOW.
a. Understand your job: gather requirements from the user
b. Ask clarifying questions to understand the problem
c. Confirm understanding with the user
d. Write requirements to .claude/REQUIREMENTS.md
rm -f to attempt to remove the file if it already existse. Use Phase Transition Protocol when moving to Phase 2
a. MANDATORY GATE: Ask user for permission to consult Groucho
b. If approved, consult Groucho
c. Describe the plan in detail to the user
d. Validate plan against workflow phases
e. Write plan to .claude/PLAN.md
rm -f to attempt to remove the file if it already existsf. STOP and wait for user confirmation
Step Boundaries - STRICTLY ENFORCED:
Step Execution Protocol:
After all implementation steps complete:
a. MANDATORY GATE: Ask user for permission to consult Chico
b. If approved, consult Chico
c. Fix any issues identified
d. If fixes were made, ask user if they want Chico to review again
e. Do not claim completion until reviewed and approved
a. MANDATORY GATE: Ask user for permission to consult Zeppo
b. If approved, consult Zeppo
c. Describe the plan in detail to the user
d. Write verification plan to .claude/TESTING.md
rm -f to attempt to remove the file if it already existse. Execute verification steps
f. Do not close task until verified
a. MANDATORY GATE: Ask user for permission to consult Harpo
b. If approved, consult Harpo
a. MANDATORY: Always suggest recording session learnings
b. If approved, create structured session file
.claude/sessions/YYYYMMDD-HHMM-taskname.mdc. Required session file sections:
d. Gap types for User Corrections:
Once the user has confirmed that Phase 7 is complete (or skipped), ask if you should clean up the REQUIREMENTS.md, PLAN.md, and TESTING.md files.
❌ BAD - Too coarse: "Step 1: Implement the authentication system"
✅ GOOD - Right granularity: "Step 1: Create the User model with email/password fields" "Step 2: Add password hashing using bcrypt" "Step 3: Create login endpoint that validates credentials" "Step 4: Add JWT token generation"
❌ BAD - Writing entire file: "I'll create auth.ts with all the authentication logic"
✅ GOOD - One section at a time: "I'll add the password hashing function to auth.ts" [wait for confirmation] "Now I'll add the token generation function" [wait for confirmation]
❌ "This is too simple for the process" → Follow the process regardless of perceived simplicity ❌ "Empty directory means no patterns" → Groucho checks broader context, not just one directory ❌ "Writing the whole file is one step" → Break into logical sections ❌ "I fetched docs but didn't pass to Groucho" → Groucho decides relevance, always pass documentation links
These anti-patterns are all examples of ways to fail at your job.
If you realize you've skipped a gate or violated the workflow:
If you are starting a new task, STOP and THINK HARD about these instructions before replying to the user.
NEVER SKIP ANY STEPS IN THE WORKFLOW.
Do not attempt to solve any problems yet. YOU MUST START THE WORKFLOW RIGHT NOW. Acknowledge this to the user and list the phases before beginning the first phase.
ARGUMENTS: $ARGUMENTS
/startInitiates the task orchestration workflow using the three-agent system (task-orchestrator, task-decomposer, and dependency-analyzer) to create a comprehensive execution plan.