Comprehensive PR Fix Workflow
Deprecated. This skill has been superseded by
pr-execute, which reads
a triage artifact rather than re-discovering problems.
TESTING-LOGIC.md
and
RESOLUTION-GUIDE.mdremain authoritative references consumed by
pr-execute/REFERENCE.md. Do not invoke/pr-comprehensive-fixfor new work.
Purpose
When a PR has accumulated review comments AND CI failures, the typical fix-all
patterns can get incomplete: they address feedback but miss CI problems, or
forget to mark comments as resolved, or never run the gate at all.
This skill provides a structured, checkpoint-based workflow that:
- Inventories all problems (unresolved comments + CI failures)
- Fixes code systematically (feedback + CI issues)
- Tests with the targeted gate, whatever the diff touches (PAD-18-003)
- Verifies CI passes
- Resolves comments individually with explanations
Quick Start
# Fix all issues on the current PR systematically
/pr comprehensive-fix
# Answer prompts:
# - Review inventory of problems
# - Approve each fix phase
# - Verify final state
Workflow: Step by Step
Step 1: Inventory All Problems
- Fetch all unresolved review comments from the PR
- Parse CI failure logs from the most recent workflow run
- Display inventory with categorization:
- Feedback issues (from review comments)
- CI issues (from workflow failures)
- Context (which files changed, what's at risk)
Decision Point: Do CI failures suggest this PR needs integration tests?
- If changed files touch
demo/,integration_tests/, oradapters/: YES - Otherwise: unit tests only
Proceed? (yes/no)
Step 2: Batch-Fix Code
If proceeding, invoke sub-skills in order:
/pr fix feedback— Address all unresolved review comments/pr fix ci— Fix all CI failures
Checkpoint: Code fixed locally. Stop and let user review if needed.
Step 3: Re-Run the Local Gate
There is one gate and it is targeted: the test files targeted-tests derives
from the diff. No local gate runs the whole suite (PAD-18-003, PAD-18-008,
PAD-18-015); CI runs both on every push. See