An Agent Skill that performs structured, comprehensive code reviews with automatic stack detection and severity-based reporting.
Compatible with any LLM that supports the Agent Skills Standard - Claude Code, OpenCode, Cursor, and any other AI coding assistant that implements the skills protocol.
- Automatic Stack Detection - Identifies project technology from config files
- Multi-Stack Support - 17+ technology stacks covered
- Pattern-Specific Rules - Apply Clean Architecture, DDD, CQRS, Microservices guidelines
- Severity-Based Reporting - Critical, Warning, and Suggestion levels
- 15 Review Categories - From Security to Privacy Compliance
- 15 Review Scopes - Uncommitted changes, staged, branch comparison, specific commits
- Universal Compatibility - Works with any LLM supporting Agent Skills
Works with any AI assistant:
git clone https://github.com/felipereisdev/code-review-skill.gitThen configure your AI assistant to load skills from the cloned directory.
# Clone into your global skills
mkdir -p ~/.claude/skills
ln -s "$(pwd)/code-review-skill" ~/.claude/skills/code-review# Clone into your global skills
mkdir -p ~/.codex/skills
ln -s "$(pwd)/code-review-skill" ~/.codex/skills/code-review# Clone into your Cursor skills directory
mkdir -p ~/.cursor/skills
ln -s "$(pwd)/code-review-skill" ~/.cursor/skills/code-reviewInvoke the skill to review your code:
/code-review
/code-review@code-review
/code-review
The skill will ask you to choose the review scope:
- Uncommitted changes - files modified but not staged (
git diff HEAD) - Staged changes only - files added to index (
git diff --cached) - Current branch vs base - all commits compared to merge base
- Specific commit - changes in a single commit
- Commit range - changes across a range
| Category | What It Checks |
|---|---|
| Security | Injection vulnerabilities, auth, secrets, input validation |
| Performance | N+1 queries, caching, pagination, memory leaks |
| Tests | Coverage, edge cases, mocking, assertions |
| Architecture | SOLID, DRY, KISS, separation of concerns |
| Potential Bugs | Null dereferences, off-by-one errors, race conditions |
| Accessibility | Semantic HTML, ARIA, keyboard navigation |
| Observability | Logging, metrics, error tracking |
| API Design | HTTP methods, status codes, versioning |
| Resilience | Timeouts, retries, circuit breakers |
| Database | Zero-downtime migrations, indexing |
| Concurrency | Thread safety, atomic operations |
| i18n | Translation keys, locale formatting |
| Privacy | PII handling, data retention, consent |
- React
- Vue.js
- Angular
- Svelte
- Nuxt
- Node.js
- Python
- Laravel (PHP)
- Go
- Java Spring
- .NET
- React Native
- Flutter
- Docker
- Terraform
- Kafka
- TypeScript
- Tailwind CSS
- Clean Architecture - Layer separation, dependency inversion
- DDD - Domain-driven design patterns
- Event-Driven - Async messaging, event sourcing
- Microservices - Service boundaries, inter-service communication
- CQRS - Command query responsibility segregation
Findings are reported with severity levels:
### [Category] β [Severity]
**File:** `path/to/file.ext:line`
**Issue:** Brief description of the problem.
**Fix:** Suggested correction or approach.
Plus a comprehensive summary table:
| Category | Critical | Warning | Suggestion | N/A |
|-----------------------|----------|---------|------------|-----|
| Security | 0 | 1 | 2 | |
| Performance | 0 | 0 | 1 | |
...
This skill follows the Agent Skills Standard, making it compatible with any AI assistant that supports:
- Tool Calling: Read, Grep, Glob, Bash
- Subagents: Forked execution for safe analysis
- Skill Discovery: Automatic loading from skills directories
Read- Codebase exploration and stack filesGrep- Pattern searching in codeGlob- File discoveryBash- Git operations and diff extraction
Runs with automatic stack detection and loads only relevant pattern/stack rules.
code-review-skill/
βββ SKILL.md # Main skill definition
βββ README.md # This file
βββ .gitignore # Git ignore rules
βββ patterns/ # Architectural pattern guidelines
β βββ clean-architecture.md
β βββ cqrs.md
β βββ ddd.md
β βββ event-driven.md
β βββ microservices.md
βββ stacks/ # Technology-specific rules
βββ angular.md
βββ docker.md
βββ dotnet.md
βββ flutter.md
βββ go.md
βββ java-spring.md
βββ kafka.md
βββ laravel.md
βββ node.md
βββ nuxt.md
βββ python.md
βββ react-native.md
βββ react.md
βββ svelte.md
βββ tailwind.md
βββ terraform.md
βββ typescript.md
βββ vue.md
Contributions welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by industry code review best practices
- Built following the Agent Skills Standard
- Compatible with Claude Code, OpenCode, Cursor, and any Agent Skills-compatible AI
- Community-driven development
If your favorite AI assistant doesn't support Agent Skills yet, open an issue or reach out to their team! This skill is designed to work with any tool that implements the standard.
β Star this repo if it helps you write better code!
Made with β€οΈ for the AI coding community