{"name":"\/autofix-pr","slug":"autofix-pr","family":"slash","title":"Slash commands","noun":"slash command","description":"Spawn a [cloud session](\/docs\/en\/claude-code-on-the-web#auto-fix-pull-requests) that watches the current branch's PR and pushes fixes when CI fails or reviewers leave comments. Detects the open PR from your checked-out branch with `gh pr view`; to watch a different PR, check out its branch first. By default the cloud session is told to fix every CI failure and review comment; pass a prompt to give it different instructions, for example `\/autofix-pr only fix lint and type errors`. Requires the `gh` CLI and access to [cloud sessions](\/docs\/en\/claude-code-on-the-web)","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.300","anchor":"autofix-pr-slash-command-now-available-to-console-profile-au","heading":"\/autofix-pr can now be offered to console-profile sign-ins","line":"`\/autofix-pr` was limited to claude.ai sign-ins and can now also be offered to people signed in through a console profile","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text, named in this entry"},{"version":"2.1.284","anchor":"autofix-pr-stands-down-on-prs-already-handled-by-pr-steward","heading":"\/autofix-pr can step aside when PR Steward already looks after a pull request","line":"`\/autofix-pr` can now refuse a pull request that PR Steward is watching or working on, so two agents don't push to it at once","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text, named in this entry"},{"version":"2.1.245","anchor":"groundwork-for-running-autofix-pr-without-the-interactive-ui","heading":"Groundwork for running \/autofix-pr without the interactive UI","line":"A non-interactive version of \/autofix-pr exists in the build but nothing calls it yet.","released_at":"2026-08-25 04:45:52","reason":"named in this entry, found in this entry's text"},{"version":"2.1.245","anchor":"an-unused-internal-setting-slot-named-autofixprmode","heading":"An unused internal setting slot named autofixPrMode","line":"A settings key named autofixPrMode is listed but undefined, so setting it does nothing.","released_at":"2026-08-25 04:45:52","reason":"found in this entry's text"},{"version":"2.1.119","anchor":"autofix-pr-inline-component","heading":"Autofix PR Inline Component","line":null,"released_at":"2026-04-23 21:36:46","reason":"found in this entry's text"},{"version":"2.1.118","anchor":"autofix-pr-command","heading":"\/autofix-pr Command","line":null,"released_at":"2026-04-22 23:48:56","reason":"found in this entry's text"},{"version":"2.1.110","anchor":"remote-workflow-commands-autopilot-bugfix-dashboard-docs-inv","heading":"Remote Workflow Commands ( \/autopilot , \/bugfix , \/dashboard , \/docs , \/investigate )","line":null,"released_at":"2026-04-15 20:40:53","reason":"found in this entry's text"}],"entries_total":7,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"claude-code-on-the-web","title":"Use Claude Code in the cloud","documented":false},{"source":"claude-code","path":"whats-new\/2026-w15","title":"Week 15 \u00b7 April 6\u201310, 2026","documented":false},{"source":"claude-code","path":"whats-new\/index","title":"What's new","documented":false}],"docs_total":5,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/autofix-pr","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}