finalize-pr - Finalize a Slice PR for human review
Validates a Slice PR against its criteria, records evidence and review results, updates the issue, and hands non-blocking PRs to the review workflow.
Tags
Updated: 2026-12-02Capabilities
Typical Inputs
What this skill does
- Validate PR preconditions
- Read linked Slice criteria
- Read the linked Spec
- Run Criterion commands
- Read CI quality gates
- Capture before and after Frames
- Report Criterion verification states
- Dispatch the PR-writer agent
- Tick verified issue Criteria
- Post a review comment
- Hand off non-blocking PRs
Inputs
- PR number
- Current Git branch
- Git repository
- Linked Slice issue
- Parent Spec issue
- CONTRACTS.md
- Context reference files
- GitHub CI results
- GitHub credentials
Outputs
- Pre-flight summary
- Criterion verification report
- Before and after Frames
- Updated Slice checkboxes
- PR review comment
- PR-writer agent dispatch
- Review-round background session
Requirements
- Git repository worktree
- Non-default Git branch
- Clean worktree
- Python 3
- GitHub CLI
- Authenticated GitHub access
- Repository push permission
- Issue and pull request access
- CI quality gates
