59 lines
1.5 KiB
Markdown
59 lines
1.5 KiB
Markdown
---
|
|
description: Run the SDLC classifier and show the next required action
|
|
argument-hint: [feature-slug]
|
|
allowed-tools: Bash
|
|
---
|
|
|
|
Show next SDLC action: $ARGUMENTS
|
|
|
|
## Instructions
|
|
|
|
### 1. Run the Classifier
|
|
|
|
If a feature slug was provided:
|
|
|
|
```bash
|
|
sdlc next --for $ARGUMENTS
|
|
```
|
|
|
|
If no argument was provided, run the global classifier:
|
|
|
|
```bash
|
|
sdlc next
|
|
```
|
|
|
|
### 2. Display the Result
|
|
|
|
Present the classification output clearly:
|
|
|
|
- **Feature:** which feature needs attention
|
|
- **Current Phase:** where it is in the lifecycle
|
|
- **Action:** what needs to happen next
|
|
- **Message:** human-readable guidance
|
|
- **Suggested Command:** the CLI or slash command to run
|
|
|
|
### 3. Suggest the Next Step
|
|
|
|
Map the action to the corresponding slash command:
|
|
|
|
| Action | Suggested Command |
|
|
|--------|-------------------|
|
|
| `CREATE_SPEC` | `/spec-feature <slug>` |
|
|
| `CREATE_DESIGN` | `/design-feature <slug>` |
|
|
| `CREATE_TASKS` | `/breakdown-feature <slug>` |
|
|
| `CREATE_QA_PLAN` | `/create-qa-plan <slug>` |
|
|
| `IMPLEMENT_TASK` | `/implement-task <slug> <task-id>` |
|
|
| `CREATE_REVIEW` | `/review-feature <slug>` |
|
|
| `CREATE_AUDIT` | `/audit-feature <slug>` |
|
|
| `RUN_QA` | `/run-qa <slug>` |
|
|
| `MERGE` | `/merge-feature <slug>` |
|
|
| `AWAIT_APPROVAL` | Needs human approval via rdev API |
|
|
| `BLOCKED` | Feature has blockers -- resolve via rdev API |
|
|
| `IDLE` | Nothing to do |
|
|
|
|
## Critical Rules
|
|
|
|
- ALWAYS present the classifier output clearly and completely
|
|
- NEVER automatically execute the next command without user confirmation
|
|
- ALWAYS show the suggested slash command so the user can invoke it
|