review-clear-blocked
Installation
SKILL.md
Your objective is to resolve a BLOCKED CocoReview finding.
Before proceeding, verify that .cocoplus/ exists. If not, output: "CocoPlus not initialized in this directory. Run $pod init to begin." Then stop.
Parse arguments: $review clear-blocked --id <finding-id> --rationale <text>. Both are required. If either is missing: output "Usage: $review clear-blocked --id --rationale " Then stop.
Steps
- Read
.cocoplus/lifecycle/review-state.json. If it does not exist or the named finding is not present: output "Finding [id] not found in review-state.json." Then stop. - Verify the finding's
severityisBLOCKED. If it is not: output "Finding [id] is not a BLOCKED finding (severity: [severity]). $review clear-blocked only resolves BLOCKED findings." Then stop. - If already
resolved: true: output "Finding [id] is already resolved." Then stop. - Record the rationale in the audit trail via the same append logic
the PostToolUse hookuses forlifecycle/audit.md(if CocoAudit is enabled): event typeblocked-finding-resolved, artifact the finding ID, developer input the verbatim rationale. - Update the finding in
review-state.json: setresolved: true,resolved_at: <ISO 8601 timestamp>,resolution_rationale: <text>. - Check whether any other
BLOCKINGor unresolvedBLOCKEDfinding remains inreview-state.json.- If none remain: output "Finding [id] resolved. No other BLOCKING or BLOCKED findings remain — $ship is unblocked."
- If others remain: output "Finding [id] resolved. [N] BLOCKING/BLOCKED finding(s) still require resolution before $ship: [list IDs]."