Unify task workflows and rename productionalize command#3
Conversation
- Rename /productionalize to /production-readiness-review for clarity - Change production-reporter output from fix-prompts.md to TASKS.md format - Update implement-next-task to support both TASK-XXX and FINDING-XXX IDs - Add argument validation and workflow detection to implement-next-task - Add MIT license - Rename plugin to "ShipSpec Claude Code Plugin" in README This enables using /implement-next-task for both feature development and production remediation workflows with a consistent task format. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
|
|
||
| - If `PRD.md` and `SDD.md` exist → **Feature Planning** workflow (uses TASK-XXX IDs) | ||
| - If `production-report.md` exists → **Production Readiness** workflow (uses FINDING-XXX IDs) | ||
| - If neither → Error: "Directory exists but contains no recognized planning artifacts. Expected either PRD.md/SDD.md (feature planning) or production-report.md (production readiness)." |
There was a problem hiding this comment.
Workflow detection lacks inline priority for overlapping artifacts
Medium Severity
The workflow detection rules at lines 49-51 are written as independent conditions without handling the overlap case where both feature planning artifacts (PRD.md/SDD.md) and production readiness artifacts (production-report.md) exist in the same directory. The bash script on lines 45-46 outputs both FEATURE_PLANNING and PRODUCTION_READINESS when all files exist. The priority rule at lines 231-232 clarifies that production readiness should take precedence, but this edge case handling is separated from the main detection logic, which could cause an agent to select the wrong workflow type, resulting in incorrect task ID format (TASK-XXX vs FINDING-XXX).
Summary
/productionalizeto/production-readiness-reviewfor clearer namingTASKS.mdinstead offix-prompts.md/implement-next-taskto support both feature planning (TASK-XXX) and production readiness (FINDING-XXX) workflowsTest plan
/production-readiness-reviewand verify it generatesTASKS.mdwithFINDING-XXXformat/implement-next-taskon a production readiness context and verify workflow detection/implement-next-taskon a feature planning context and verify it still works🤖 Generated with Claude Code
Note
Production readiness workflow changes
/production-readiness-reviewand updates output to generateproduction-report.mdplus unifiedTASKS.md(replacesfix-prompts.md)production-reporterto document findings inproduction-report.mdand emit structured remediation tasks inTASKS.mdTask execution improvements
/implement-next-taskto detect workflow type (feature vs production), handleFINDING-XXXandTASK-XXX, add argument validation, dependency handling, and edge-case checksDocs and housekeeping
README.mdLICENSE(MIT)Written by Cursor Bugbot for commit 382633d. This will update automatically on new commits. Configure here.