Session-based ad-hoc task execution with task-level commits (LOW-FRICTION MODE)
$ARGUMENTS
Consider the user input before proceeding (if not empty).
Ask the user these questions:
## Mission Brief
**Question 1: What needs to be done?**
What is the primary task, feature, fix, or change you need?
**Question 2: What defines success?**
How will we know when this is complete? What criteria must be met?
**Question 3: Any constraints?** (if relevant)
Time constraints? Priority? Dependencies? Technical limitations?
Wait for user answers.
After collecting answers, display:
## Mission Brief
**Goal**: {response to Question 1}
**Success Criteria**:
- {response to Question 2}
**Constraints**:
- {response to Question 3}
**Proceed with this Mission Brief?** (yes/no)
STOP HERE - Wait for explicit "yes".
After Mission Brief approved, ask briefly:
## Context
Any specific files to examine? (optional)
Wait briefly for response, then proceed (can be empty/none).
Generate and display a simple task checklist:
## Task Breakdown
- [ ] {Task 1}
- [ ] {Task 2}
- [ ] {Task 3}
- [ ] {Task 4}
Do not ask for approval - proceed directly to execution.
Display task: ## Task {N}: {description}
Execute: Read files if needed, make changes
Commit after completion:
git add -A
git commit -m "[quick] Task {N}: {task description}"
Auto-proceed to next task (no pause)
Display summary:
## Quick Implementation Complete ✅
**Tasks completed**:
- [x] Task 1: ...
- [x] Task 2: ...
- [x] Task 3: ...
**Files modified**: {count}
**Next steps**: {optional}
If a task fails:
Commit WIP state:
git add -A
git commit -m "[quick] Task {N}: WIP - {brief error description}"
Display error:
❌ **Task Failed**: {task description}
Error: {error message}
Committed WIP checkpoint.
What would you like to do?
- (1) Retry this task
- (2) Skip to next task
- (3) Stop execution
Wait for user decision - do not auto-retry or auto-skip
Successful task:
[quick] Task 1: Add error handling to login API
Failed task (WIP):
[quick] Task 2: WIP - session validation fix failed
git reset to any task if needed