v2.19.0 · Code reviews with /codereview
- New
/codereviewcommand: pick the language, paste your code (or attach a file), and get a review back covering bugs, security, performance, style and best practices, with line numbers, a score out of 10 and suggested fixes. - Choose a focus if you only care about one thing, like security or bugs, or pick "Explain it like I'm learning" for friendly, simple explanations.
- Your code is only read, never run. Reviews are written by Claude, an AI from Anthropic, and only you see the review unless you choose to share it in the channel.
- Tokens, passwords and other secrets are hidden before your code is sent for review, and neither your code nor the review is saved.
- Every member gets 5 reviews a day per server for code up to 12,000 characters. Premium servers get 25 a day and files up to 50,000 characters.