- Write migration plan
- Agent edits in batches
- Tests per batch
Ship a 40-file refactor with a coding agent
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
Sphinx is a Git hook that quizzes developers on their AI's code before deployment, ensuring understanding and quality.
In the fast-paced world of AI development, it's easy to push code without fully understanding its implications. Sphinx addresses this issue by prompting developers with questions about their code before it goes live, fostering a deeper comprehension and reducing the risk of errors.
Use npm to install Sphinx globally with the command: npm install -g sphinx-understand.
Set up Sphinx as a Git hook in your existing coding workflow to trigger before code is pushed to production.
When you push your code to the main branch, Sphinx will automatically activate.
Respond to the questions generated by Sphinx to demonstrate your understanding of the code being deployed.
Once you have answered the questions, proceed with the deployment of your code.
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
Copilot and Claude review each PR for bugs, missing tests and risky changes before a human looks, so reviewers can focus on design.
Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.