55 lines
1.4 KiB
Markdown
55 lines
1.4 KiB
Markdown
Execute an intelligent workflow based on current project state and recent commands.
|
|
|
|
This command analyzes:
|
|
1. Recent commands you've run
|
|
2. Current project state
|
|
3. Time of day / day of week
|
|
4. Your working patterns
|
|
|
|
Arguments: $ARGUMENTS
|
|
|
|
## Intelligent Workflow Selection
|
|
|
|
Based on context, I'll determine the best workflow:
|
|
|
|
### Context Analysis
|
|
- Previous command executed
|
|
- Current task states
|
|
- Unfinished work from last session
|
|
- Your typical patterns
|
|
|
|
### Smart Execution
|
|
|
|
If last command was:
|
|
- `status` → Likely starting work → Run daily standup
|
|
- `complete` → Task finished → Find next task
|
|
- `list pending` → Planning → Suggest sprint planning
|
|
- `expand` → Breaking down work → Show complexity analysis
|
|
- `init` → New project → Show onboarding workflow
|
|
|
|
If no recent commands:
|
|
- Morning? → Daily standup workflow
|
|
- Many pending tasks? → Sprint planning
|
|
- Tasks blocked? → Dependency resolution
|
|
- Friday? → Weekly review
|
|
|
|
### Workflow Composition
|
|
|
|
I'll chain appropriate commands:
|
|
1. Analyze current state
|
|
2. Execute primary workflow
|
|
3. Suggest follow-up actions
|
|
4. Prepare environment for coding
|
|
|
|
### Learning Mode
|
|
|
|
This command learns from your patterns:
|
|
- Track command sequences
|
|
- Note time preferences
|
|
- Remember common workflows
|
|
- Adapt to your style
|
|
|
|
Example flows detected:
|
|
- Morning: standup → next → start
|
|
- After lunch: status → continue task
|
|
- End of day: complete → commit → status |