Apply code suggestions from PR comments
One step with Harness. We can help you get access.
Get something done
Apply code suggestions from PR comments
with Harness
Works with AI assistants
Use Harness: its Harness Pullreq API lets you apply code suggestions from PR comments in a single step (POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/apply-suggestions). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I commit the code suggestions reviewers left in comments straight to my PR branch?
- How do I accept several suggested changes on a pull request in one commit?
Say it to your AI assistant
- Apply the suggested code changes {suggestions} to PR #{pullreq_number} in {repo_identifier}.
- Commit the review suggestions on pull request {pullreq_number} in repo {repo_identifier} with message {message}.
For your developer
POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/apply-suggestions in Harness Pullreq API. Full spec on APIs.io.