rey-code-review
Comprehensive code review for quality, security, and best practices. Quick review for small changes, full review for large changes.
Why use this skill?
Enhance your development workflow with the rey-code-review skill. Get comprehensive, severity-based code analysis, security checks, and best practices.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sa9saq/rey-code-reviewWhat This Skill Does
The rey-code-review skill is a powerful tool designed for the OpenClaw AI ecosystem to perform structured, high-quality code analysis. It functions as a professional pair programmer, providing feedback based on the scope and complexity of the code provided. The skill categorizes reviews into three distinct tiers: Quick Review for rapid checks of small snippets, Standard Review for moderate refactoring or logic adjustments, and Full Review for comprehensive architectural and security assessments. It evaluates code across five critical dimensions: Correctness, Readability, Maintainability, Security, and Performance. The output is structured using a standard severity-based grading system (CRITICAL, MAJOR, MINOR, NIT) to ensure the user understands the urgency of each recommendation.
Installation
To integrate this skill into your environment, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/sa9saq/rey-code-review
Use Cases
- Automating Code Quality: Ensuring that pull requests adhere to team standards before human review.
- Security Hardening: Identifying potential vulnerabilities like SQL injection or weak input validation before code hits production.
- Knowledge Transfer: Helping junior developers understand why certain patterns are preferred over others through detailed, constructive feedback.
- Technical Debt Management: Using the Full Review mode to identify performance bottlenecks and architectural flaws in large, legacy modules.
Example Prompts
- "Please run a standard code review on these three files I've uploaded to see if the error handling is sufficient."
- "I need a quick review of this small function; I'm mainly concerned about potential edge cases and type errors."
- "Perform a full review on the core authentication module. Pay extra attention to security vulnerabilities and long-term maintainability."
Tips & Limitations
- Context is Key: While the skill can review code in isolation, providing the surrounding context (e.g., project architecture, specific frameworks) will significantly increase the quality of the feedback.
- Balance Efficiency: Reserve 'Full Review' for major features or architectural changes, as it consumes more token budget and time compared to the 'Quick Review'.
- Security Note: While this skill checks for common vulnerabilities, it does not replace a dedicated penetration test or a deep dive by a security expert. Always cross-reference critical security findings with the
security-reviewskill.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sa9saq-rey-code-review": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
threat-model
Threat modeling and attack scenario design. Identify risks before they become vulnerabilities. STRIDE, attack trees, risk matrix.
Sns Auto Poster
Schedule and automate social media posts to X/Twitter with cron-based queue management.
security-review
Comprehensive security review for code, configs, and operations. OWASP, prompt injection, crypto security. Auto-triggers on security-related changes.
Process Monitor
Monitor system processes, identify top CPU/memory consumers, and alert on resource thresholds.
Readme Generator
Auto-generate comprehensive README.md files by analyzing project structure and configuration.