--- 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 ` | | `CREATE_DESIGN` | `/design-feature ` | | `CREATE_TASKS` | `/breakdown-feature ` | | `CREATE_QA_PLAN` | `/create-qa-plan ` | | `IMPLEMENT_TASK` | `/implement-task ` | | `CREATE_REVIEW` | `/review-feature ` | | `CREATE_AUDIT` | `/audit-feature ` | | `RUN_QA` | `/run-qa ` | | `MERGE` | `/merge-feature ` | | `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