Current Project Context
!basename $(pwd)
!cat package.json 2>/dev/null | head -5 || cat pyproject.toml 2>/dev/null | head -5 || cat Cargo.toml 2>/dev/null | head -5 || echo "No manifest found"
Current Branch & Status
!git branch --show-current 2>/dev/null
!git status --short 2>/dev/null | head -10
Task
$ARGUMENTS
Instructions
- Understand: Read relevant files using subagents. Don't guess at architecture — explore first.
- Plan: Create a numbered step-by-step plan. Each step should be independently verifiable.
- Estimate: How many files will change? Any risky areas?
- Ask: If anything is ambiguous, ask ONE clarifying question before proceeding.
- Execute: Only after plan is approved, implement step by step.
- Verify: Run tests after each significant change. Show me the results.
Present the plan and wait for my approval before coding.