You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick guide to catching bugs with Claude Code's /code-review command — even when you're the only developer. The idea: never merge straight to main. Always go through a branch and a pull request, and let /code-review be your second pair of eyes before you do.
What it does
/code-review runs inside any Claude Code session and reviews a diff right in your terminal. It looks for correctness bugs, plus reuse, simplification, and efficiency cleanups. No GitHub App or paid plan required — it works on solo repos out of the box.
By default it reviews your branch's commits ahead of its upstream, plus any uncommitted changes in your working tree.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Insights from Boris Cherny, Creator of Claude Code
Introduction
Claude Code is designed to be flexible and customizable, allowing each developer to use it in ways that best suit their workflow. While the tool works great out of the box, these practical tips from the creator himself can help you maximize your productivity with Claude Code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters