Fix PR
Apply suggested PR changes to the codebase.
Workflow
- •Identify the relevant local branch and remote for the PR using
ghCLI - •Read all files changed in the PR or current diff
- •Read all suggested changes, review comments, or instructions
- •Understand the intent behind each suggestion
- •Apply suggested changes to relevant files
- •Fix bugs, unsafe patterns, or incorrect logic discovered
- •Refactor minimally to keep code correct and maintainable
- •Preserve existing behavior unless change is explicitly requested
- •Avoid breaking public APIs unless explicitly instructed
Rules
- •Make the smallest possible changes that fully satisfy suggestions
- •Do not introduce new dependencies unless required
- •Prefer clarity and correctness over cleverness
- •If a suggestion is ambiguous, choose the safest reasonable implementation
After Completing
- •Summarize all modifications made
- •List assumptions, trade-offs, or remaining risks
- •Call out anything that could not be safely fixed