| name | dyad:pr-fix |
| description | Address all outstanding issues on a GitHub Pull Request by handling both review comments and failing CI checks. |
PR Fix
Address all outstanding issues on a GitHub Pull Request by handling both review comments and failing CI checks.
Arguments
$ARGUMENTS: Optional PR number or URL. If not provided, uses the current branch's PR.
Task Tracking
You MUST use the TaskCreate and TaskUpdate tools to track your progress. At the start, create tasks for each step below. Mark each task as in_progress when you start it and completed when you finish. This ensures you complete ALL steps.
Product Principles
When making decisions about review comments, consult rules/product-principles.md. Use these principles to resolve ambiguous or subjective feedback autonomously. Only flag issues for human attention when the product principles do not provide enough guidance to make a decision.
Instructions
This is a meta-skill that orchestrates two sub-skills to comprehensively fix PR issues.
-
Run /dyad:pr-fix:comments to handle all unresolved review comments:
- Address valid code review concerns
- Resolve invalid concerns with explanations
- Use product principles to resolve ambiguous feedback autonomously
- Only flag issues for human attention when product principles are insufficient to decide
-
Run /dyad:pr-fix:ci to handle failing CI checks from the latest PR run:
- Fix failing tests (unit and E2E)
- Update snapshots if needed
- Ensure all checks pass
-
Run /dyad:pr-push to commit and push all changes: