Review Code
Review code with risk-first analysis, reproducible evidence, and patch-ready guidance for correctness, security, performance, and maintainability.
Why use this skill?
Enhance code quality with the OpenClaw Review Code skill. Get evidence-based, risk-ranked analysis, security audits, and patch-ready fixes for your PRs.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/review-codeWhat This Skill Does
The Review Code skill is a sophisticated, agent-driven utility designed to elevate the standard of code quality through a risk-first analytical framework. Rather than simply scanning for syntax errors, it performs deep-dive audits focused on security, performance, correctness, and maintainability. It acts as an expert pair programmer that evaluates code based on established team baselines, industry best practices, and objective, reproducible evidence.
This skill is built on a structured memory system located in ~/review-code/, which acts as the 'brain' of the agent. By maintaining persistent context on team conventions and prior project findings, the Review Code skill ensures that your codebase evolves with consistency. It enforces a strict triage process where blocking, high-impact issues are separated from minor advisory notes, ensuring that critical bugs—especially those related to auth, data integrity, and concurrency—are never buried under low-priority suggestions.
Installation
To add this capability to your agent, run the following command in your terminal:
clawhub install openclaw/skills/skills/ivangdavila/review-code
Once installed, initialize the local directory by executing the setup script found in the package documentation to establish the memory schema and configuration templates.
Use Cases
- Pull Request Audits: Automatically analyze incoming PRs to identify potential regressions or security vulnerabilities before they are merged into the main branch.
- Bug-Risk Assessment: Identify high-risk code blocks that are prone to race conditions or data loss during system migrations or refactors.
- Compliance & Standard Check: Verify that new commits adhere to defined organizational security policies and performance benchmarks stored in your
baselines/memory directory. - Refactoring Guidance: Receive actionable, patch-ready advice on how to improve complex, legacy modules without introducing breaking changes.
Example Prompts
- "Review this PR against the security guidelines in our
baselines/folder. Highlight any critical vulnerabilities in the authentication logic." - "Perform a risk-first audit on the
user-paymentsmodule. I am concerned about potential concurrency issues during high-traffic events." - "Analyze these three files for performance bottlenecks. Provide a fix path for any blocking items and suggest a suite of regression tests."
Tips & Limitations
- Define Scope: The agent is most effective when the review contract is clear. Always specify the branch, target files, and the context (e.g., 'hotfix' vs 'feature release').
- Evidence-Backed Results: The agent is trained to ignore vague claims. If a finding doesn't include a reproduction path or a specific business impact, feel free to ask the agent to clarify its reasoning.
- File Management: Ensure you review all proposed changes to your local
~/review-code/directory if the agent suggests updates to your memory or baselines. - Constraint: This tool is designed to augment human judgment, not replace it. Always verify the suggested patches in a local sandbox before applying them to production.
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-ivangdavila-review-code": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.