Getting Started
Get started with RefactorAI
RefactorAI reviews and refactors local Git commits before they become PRs, so teams can keep their editor and Git workflow while reducing PR review load.
What you get
- A local Git hook that reviews commits created from terminal, VS Code, Cursor, JetBrains, or most Git GUIs.
- An always-on Refactor Terminal that shows commit status, gate verdicts, and Refactor Requests.
- Pre-push policy controls so teams can start in warn mode and graduate to strict.
- Traceable events and auditability for security and compliance teams.
Editor-neutral by design
Platform model
RefactorAI is organized around repositories, commits, and Refactor Requests. A repository has policy defaults. Each local commit creates a scoped review event. Actionable findings become requests that developers or agents resolve before push.
- Developers register at RefactorAI and generate developer keys.
- Teams install the CLI and hooks in repositories that accept AI-generated code.
- Developers keep refactor watch open while they work.
- Pre-push gates enforce configured policy before commits leave the machine.
Choose your onboarding path
Developer
Move from account signup to first commit-triggered review quickly.
Team lead or manager
Standardize quality gates without forcing every developer into one editor.
Account bootstrap checklist
Developers should authenticate with a platform-issued key before enabling hooks. The CLI connects to the hosted API by default; only self-hosted deployments need a custom platform URL.
# 1) Sign up at https://refactorai.codes
# 2) In the RefactorAI dashboard, create a Developer Key
refactor login --key <your_developer_key>
refactor whoami