Skip to content

Conversation

@aiddun
Copy link
Contributor

@aiddun aiddun commented Dec 26, 2025

When Claude reviews PRs and identifies fixable issues, it now includes one click links to fix the issues in Claude Code web, with the context and repo filled in.

I reverse-engineered the Claude Code web site and found hidden query parameters you can use to pass in starting parameters.

Format: Fix this →

Two small issues currently exist on the web app that don't break the experience but make it slightly worse:

  1. The site persists prompts in sessionstorage, and if there's a persisted prompt and also one provided by the URL, it'll go with the persisted one instead.
  2. The text box doesn't recalculate its height based on a query-provided prompt, so it'll get squished until the user provides any sort of keystroke.

When Claude reviews PRs and identifies fixable issues, it now includes
inline links that open Claude Code with the fix request pre-loaded.

Format: [Fix this →](https://claude.ai/code?q=<URI_ENCODED_INSTRUCTIONS>&repo=<REPO>)

This enables one-click fix requests directly from code review comments.
Copy link
Collaborator

@ashwin-ant ashwin-ant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this, just one suggestion

Comment on lines 737 to 739
- Include relevant file paths and line numbers when applicable.${eventData.isPR ? `
- When identifying issues that could be fixed, include an inline link: [Fix this →](https://claude.ai/code?q=<URI_ENCODED_INSTRUCTIONS>&repo=${context.repository})
The query should be URI-encoded and include enough context for Claude Code to understand and fix the issue (file path, line numbers, branch name, what needs to change).` : ""}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Only thing I'd suggest is letting people opt out of this via an input like include_fix_links (fine to default it to true)

Adds a configurable input to enable/disable the "Fix this →" links
in PR code reviews. Defaults to true for backwards compatibility.
@ashwin-ant ashwin-ant merged commit 154d0de into anthropics:main Dec 27, 2025
4 of 20 checks passed
@aiddun
Copy link
Contributor Author

aiddun commented Dec 27, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants