One-Shot
Overview
Execute small, well-defined tasks quickly without creating a saved plan file, optimizing for speed over thoroughness.
Arguments
Definitions
- •
[explore-count](optional): Override explore agent count. Defaults to 0 for speed. - •
[--git](optional): Auto-commit changes when done. - •
[--pr](optional): Create a draft PR after completion (implies --git). - •
[--validate](optional): Run validation after implementation. - •
[context](optional): Task description.
Values
$ARGUMENTS
Core Principles
- •Optimized for speed - minimal exploration by default
- •No plan file is saved - use full planning workflow for documented work
- •Task must be well-defined and small in scope
- •Ask clarifying questions if task is unclear
- •Use --validate for critical or security-related changes to catch issues
- •Use full planning workflow for complex features, bugs requiring deep investigation, large refactoring, or unclear requirements
Skill-Specific Guidelines
When to Use One-Shot
Good for:
- •Typo fixes
- •Simple bug fixes with clear root cause
- •Small refactoring tasks
- •Adding minor functionality
- •Quick code cleanup
Not recommended for:
- •Complex features requiring architecture decisions
- •Bugs requiring deep investigation
- •Tasks with unclear requirements
- •Large refactoring efforts
For complex tasks, use the full planning workflow instead.
Instructions
- •
Parse Task
- •Analyze the
[context]to understand the task - •Determine task type (chore/bug/feature)
- •Extract key requirements
- •Analyze the
- •
Quick Exploration (if --explore N > 0)
- •Launch N explore agents
- •Focus on immediately relevant code areas
- •Skip for simple tasks
- •
Create In-Memory Plan
- •Generate a lightweight plan internally
- •Do NOT save plan to file
- •Structure depends on task type:
- •Chore: tasks and validation
- •Bug: root cause, fix strategy, testing
- •Feature: minimal milestones and tasks
- •
Create Branch (if --git or --pr flag)
- •Use
/git-branchto create a new branch - •Branch category based on task type (fix/feature/chore)
- •Branch name derived from task description
- •Use
- •
Implement
- •Create todo list from in-memory plan
- •Implement each task sequentially
- •Mark todos as completed
- •Ask clarifying questions if needed
- •
Git Commit (if --git or --pr flag)
- •Use
/git-committo commit changes
- •Use
- •
Validate (if --validate flag)
- •Run
/sdlc-review - •Report any issues found
- •Run
- •
Create PR (if --pr flag)
- •Use
/git-pr --draftto create a draft PR
- •Use
Output Guidance
Provide a concise summary of what was done:
code
## Task Complete Changes made: - [list of changes] Files modified: X Committed: Yes/No PR created: <URL> (if --pr used) [If --validate used:] Validation results: PASS/FAIL - Tests: PASS - Build: PASS - Review: No critical issues