Catch bugs before they catch you.
A Claude Code skill for AI-powered code review of your uncommitted changes. Install from the marketplace, review instantly.
TuringMind Code Review is a Claude Code skill — a reusable, shareable plugin that extends Claude Code with specialized code review capabilities.
Claude Code skills are installed via the built-in plugin marketplace and add new slash commands to your Claude Code environment.
You're about to commit. ESLint passes. Types check. Tests are green.
But there's a SQL injection on line 23.
TuringMind catches what linters miss:
- 🐛 Logic errors that compile but fail at runtime
- 🔐 Security vulnerabilities (OWASP Top 10)
- 📐 Architecture violations your team agreed to avoid
- 🎯 Issues in your diff, not pre-existing tech debt
"Like having a senior engineer review every commit — in seconds."
Open Claude Code in your terminal and run:
# Step 1: Add the TuringMind marketplace
/plugin marketplace add turingmindai/turingmind-code-review# Step 2: Install the skill
/plugin install turingmind@turingmind# Quick review — fast, pre-commit check
/turingmind-code-review:review
# Deep review — thorough analysis before PRs
/turingmind-code-review:deep-reviewThat's it. No config files. No setup. Just code review.
- Claude Code installed and configured
- Git repository with uncommitted changes
Automatically run code review on staged changes before every commit:
# Manual install
cp hooks/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commitWhat it does:
- 🔴 Critical issues (95-100) → Blocks the commit
- 🟠 Warning issues (80-94) → Shows warning, allows commit
- ✅ No issues → Commit proceeds normally
To uninstall: rm .git/hooks/pre-commit
Automatically run code review before every git push:
# One-liner install (run in your project)
curl -sSL https://raw.githubusercontent.com/turingmindai/turingmind-code-review/main/scripts/install-hooks.sh | bashWhat it does:
- 🔴 Critical issues (95-100) → Blocks the push
- 🟠 Warning issues (80-94) → Shows warning, allows push
- ✅ No issues → Push proceeds normally
To uninstall: rm .git/hooks/pre-push
| Quick Review | Deep Review | |
|---|---|---|
| Command | /turingmind-code-review:review |
/turingmind-code-review:deep-review |
| Speed | ⚡ Fast | 🔍 Thorough |
| Best for | Pre-commit checks | Before PRs |
| Agents | 4 Sonnet | 6 Sonnet + 3 Haiku |
| Architecture analysis | — | ✅ |
| Impact analysis | — | ✅ |
| Test coverage check | — | ✅ |
|
🐛 Bugs & Logic
|
🔐 Security (OWASP Top 10)
|
|
📐 Architecture (deep only)
|
🎯 Project Rules
|
TuringMind won't waste your time. It automatically filters:
- ❌ Pre-existing issues (not your fault)
- ❌ Linter territory (let ESLint handle it)
- ❌ Pedantic nitpicks (no "add semicolon" spam)
- ❌ Intentional changes (you meant to do that)
## Code Review
**Summary:** Reviewed 3 files, 47 lines changed
### Critical (95-100) 🔴
Must fix before committing:
1. **api/auth.ts:23** - SQL injection vulnerability
User input directly interpolated into SQL query.
```diff
- const query = `SELECT * FROM users WHERE email = '${email}'`;
+ const query = `SELECT * FROM users WHERE email = $1`;
+ const result = await db.query(query, [email]);
Should fix:
-
utils/parse.ts:15 - Unchecked null access
data.user.nameaccessed without null check. Will throw if user is undefined.Suggested fix:
data.user?.name ?? 'Unknown'
### Deep Review
Includes everything above, plus:
- Pattern consistency: ✅ Follows existing patterns
- Test coverage:
⚠️ No tests for newvalidateEmailfunction - Documentation: ✅ JSDoc comments present
- Affected files:
routes/login.ts,middleware/auth.ts - Blast radius: Auth flow - high business impact
- Breaking changes: None detected
---
## 🏗️ Architecture
Modular design for easy customization:
```text
plugins/turingmind/
├── commands/ # Review orchestration
│ ├── review.md
│ └── deep-review.md
├── agents/ # Specialized reviewers
│ ├── bugs.md
│ ├── security.md
│ ├── compliance.md
│ ├── architecture.md
│ └── language-*.md
└── templates/ # Output & filtering
├── output-format.md
└── false-positive-rules.md
# Add Go support
cp agents/language-typescript.md agents/language-go.md
# Edit with Go-specific checks
# Add custom security rules
# Edit agents/security.mdThis is AI-assisted code review. It's powerful, but:
- 🔧 Complements, doesn't replace SAST tools (Semgrep, CodeQL, Snyk)
- 🔗 Can't trace complex multi-file data flows
- 🧪 Doesn't run tests or type checking
For security-critical code, layer this with dedicated security scanners.
Contributions welcome! Here's how:
- Add language support — Create
agents/language-{lang}.md - Improve detection — Enhance agent prompts in
agents/ - Fix false positives — Tune
templates/false-positive-rules.md - Report issues — Open a GitHub issue
MIT © TuringMind
Made with 🧠 by developers, for developers.