Getting Started with CodeScene's PR Refactoring Agent

CodeScene’s PR Refactoring Agent turns code health insights into instant action.

ℹ️ Currently this feature is only available to customers using GitHub and Gitlab. Support for other git providers will follow.

When a PR shows issues, developers can click “Fix” to trigger guided refactoring, automatically updating the PR and ensuring it passes quality gates before merge.

Fix Code Health degradations button in a pull request.

Fully centralised and repeatable across teams. The result? Faster delivery, fewer defects, and cleaner, AI-ready code every time.

📖 Check out this documentation page for details on how it works + privacy & security.