Add review-diff command and remove production-readiness feature#4
Merged
Add review-diff command and remove production-readiness feature#4
Conversation
Adds /review-diff command that validates implementation work against planning artifacts after completing a task from /implement-next-task. Features: - Validates acceptance criteria from TASKS.md - Checks design alignment with referenced SDD section - Verifies requirements coverage from PRD.md - Auto-completes task [x] if all validations pass - Uses git diff to detect changed files - Supports both feature planning and production readiness workflows Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
No issues found. Checked for bugs and CLAUDE.md compliance. |
- Add explicit overlap handling for mixed workflow artifacts inline with detection logic (both files) - Remove redundant Edge Cases sections now that priority rules are documented at point of use - Add BLOCKED verdict for tasks missing acceptance criteria in review-diff to prevent vacuous auto-approval - Make design alignment and requirements coverage steps workflow-aware in review-diff (skip for Production Readiness workflow) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change production-readiness-review output from .shipspec/planning/ to .shipspec/production-readiness/ - Add auto-detect logic to implement-next-task and review-diff to check both directories and determine workflow type by location - Add cleanup of intermediate production-signals.md file - Update README with new directory structure and command references Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Step 5.5 uses `rm -f` to clean up intermediate production-signals.md file, but allowed-tools header was missing Bash(rm:*) permission. This caused the cleanup step to fail or require manual permission. Matches the pattern already used in feature-planning.md for context.md cleanup. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The success message now correctly indicates that Design Alignment and Requirements validations may be N/A for Production Readiness workflows, matching the summary table format in Step 8. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add handling for when task references exist but target content is missing: - Step 6: If referenced SDD section not found, show warning and mark BLOCKED - Step 7: If referenced PRD requirements not found, show warning and mark CANNOT_VERIFY (partial) or BLOCKED (all missing) Previously only handled "no reference in task" but not "reference exists, target missing" which could cause undefined behavior. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove /production-readiness-review command and related components: - agents/production-analyzer.md - agents/production-interviewer.md - agents/production-reporter.md - skills/production-analysis/SKILL.md - skills/production-signals/SKILL.md - Fix review-diff.md bugs: - Use `git diff HEAD --stat` to capture both staged and unstaged changes - Add BLOCKED state handling for design/requirements validation in verdict logic - Simplify implement-next-task.md to only support feature planning workflow - Update README to reflect simplified plugin (feature planning only) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/review-diff <feature-name>command that validates implementation work against planning artifacts/production-readiness-reviewcommand and all related components to simplify the pluginChanges
Added: /review-diff command
Validates implementation against planning artifacts:
Removed: /production-readiness-review
Removed to simplify the plugin scope:
commands/production-readiness-review.mdagents/production-analyzer.mdagents/production-interviewer.mdagents/production-reporter.mdskills/production-analysis/SKILL.mdskills/production-signals/SKILL.mdBug Fixes
git diff --statto capture both staged and unstaged changes (git diff HEAD --stat)Workflow
Test plan
/feature-planning test-featureto create planning artifacts/implement-next-task test-featureto start a taskgit add)/review-diff test-featureto validate[x]on success🤖 Generated with Claude Code