claude-code - 💡(How to fix) Fix [Bug] Claude incorrectly interprets "create a pr" as refactoring request instead of pull request creation [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46685Fetched 2026-04-12 13:35:44
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Bug Description Repo on a branch, fresh claude code session I typed:

"create a pr"

Sonnet started refactoring the code. When I interrupted an asked:

what happened here? I asked you to create a pr (pull request), you started refactoring the code!!!

⏺ You're right, I'm sorry. When you said "create a pr", I accidentally invoked the simplify skill instead of just creating the pull request. I also made two small edits to the code — let me revert those first.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.101
  • Feedback ID: 844dc814-be4b-4397-a6b6-b908a9c35d63

extent analysis

TL;DR

The issue can be resolved by improving the accuracy of voice commands or using a different method to create a pull request.

Guidance

  • Verify that the voice command "create a pr" is correctly interpreted by the system to avoid invoking the simplify skill instead of creating a pull request.
  • Check if there are any alternative methods to create a pull request, such as using a graphical user interface or a different voice command.
  • Consider providing more specific voice commands to avoid confusion between different actions, such as "create a new pull request" instead of "create a pr".
  • Review the system's documentation to see if there are any known issues or limitations with voice commands that may be contributing to the problem.

Notes

The issue seems to be related to the accuracy of voice commands, and improving this accuracy or using alternative methods may help resolve the problem. However, without more information about the system and its capabilities, it is difficult to provide a more specific solution.

Recommendation

Apply workaround: use a different method to create a pull request, such as a graphical user interface, to avoid relying on voice commands that may be prone to errors.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING