code-review-assistant
About
This Claude Skill provides systematic code review checklists and pre-commit quality gates for evaluating pull requests and code quality. It offers categorized checklists (functionality, design, quality, readability) and a standardized comment prefix system to classify feedback severity. Use it when reviewing PRs or before committing code to enforce consistent quality standards.
Documentation
Code Review Assistant
This skill provides systematic checklists for code review and pre-commit verification.
Quick Reference
Comment Prefixes
| Prefix | Meaning | Action Required |
|---|---|---|
| ❗ BLOCKING | Must fix before merge | 🔴 Required |
| ⚠️ IMPORTANT | Should fix, but not blocking | 🟡 Recommended |
| 💡 SUGGESTION | Nice-to-have improvement | 🟢 Optional |
| ❓ QUESTION | Need clarification | 🔵 Discuss |
| 📝 NOTE | Informational, no action | ⚪ Informational |
Review Checklist Categories
- Functionality - Does it work?
- Design - Right architecture?
- Quality - Clean code?
- Readability - Easy to understand?
- Tests - Adequate coverage?
- Security - No vulnerabilities?
- Performance - Efficient?
- Errors - Properly handled?
- Docs - Updated?
- Dependencies - Necessary?
Pre-Commit Checklist
- Build succeeds (zero errors, zero warnings)
- All tests pass
- Code follows project standards
- No security vulnerabilities
- Documentation updated
- Branch synced with target
Detailed Guidelines
For complete standards, see:
Example Review Comments
❗ BLOCKING: Potential SQL injection vulnerability here.
Please use parameterized queries instead of string concatenation.
⚠️ IMPORTANT: This method is doing too much (120 lines).
Consider extracting validation logic to a separate method.
💡 SUGGESTION: Consider using a Map here instead of an array for O(1) lookup.
❓ QUESTION: Why are we using setTimeout here instead of async/await?
📝 NOTE: This is a clever solution! Nice use of reduce here.
Core Principles
- Be Respectful - Review code, not the person
- Be Thorough - Check functionality, not just syntax
- Be Timely - Review within 24 hours
- Be Clear - Explain WHY, not just WHAT
Configuration Detection
This skill supports project-specific configuration.
Detection Order
- Check
CONTRIBUTING.mdfor "Disabled Skills" section- If this skill is listed, it is disabled for this project
- Check
CONTRIBUTING.mdfor "Code Review Language" section - If not found, default to English
First-Time Setup
If no configuration found and context is unclear:
- Ask the user: "This project hasn't configured code review language. Which option would you like? (English / 中文)"
- After user selection, suggest documenting in
CONTRIBUTING.md:
## Code Review Language
This project uses **[chosen option]** for code review comments.
<!-- Options: English | 中文 -->
Configuration Example
In project's CONTRIBUTING.md:
## Code Review Language
This project uses **English** for code review comments.
<!-- Options: English | 中文 -->
### Comment Prefixes
BLOCKING, IMPORTANT, SUGGESTION, QUESTION, NOTE
License: CC BY 4.0 | Source: universal-doc-standards
Quick Install
/plugin add https://github.com/AsiaOstrich/universal-dev-skills/tree/main/code-review-assistantCopy and paste this command in Claude Code to install this skill
GitHub 仓库
Related Skills
go-test
MetaThe go-test skill provides expertise in Go's standard testing package and best practices. It helps developers implement table-driven tests, subtests, benchmarks, and coverage strategies while following Go conventions. Use it when writing test files, creating mocks, detecting race conditions, or organizing integration tests in Go projects.
canvas-design
MetaThe canvas-design skill generates original visual art in PNG and PDF formats for creating posters, designs, and other static artwork. It operates through a two-step process: first creating a design philosophy document, then visually expressing it on a canvas. The skill focuses on original compositions using form, color, and space while avoiding copyright infringement by never copying existing artists' work.
llamaindex
MetaLlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.
business-rule-documentation
MetaThis skill provides standardized templates for systematically documenting business logic and domain knowledge following Domain-Driven Design principles. It helps developers capture business rules, process flows, decision trees, and terminology glossaries to maintain consistency between requirements and implementation. Use it when documenting domain models, creating business rule repositories, or bridging communication between business and technical teams.
