Cmd. /autofix-pr
Start a cloud session that fixes PR failures and review comments.
Key takeaways
- Start a cloud session that fixes PR failures and review comments.
- Check the input surface and availability before using the examples below.
Purpose
Start a cloud session that fixes PR failures and review comments.
/autofix-pr [prompt]Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Conditional |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Claude Code 2.1.278 |
Requires gh and cloud-session access; watches the PR for the checked-out branch.
Examples
/autofix-pr only fix lint and type errorsEffects and persistence
Starts a cloud session watching the current branch's PR; that session can push fixes matching its instructions.
Cautions
The watcher can push fixes. State which failures or comments it should handle before starting it.