Code review
Skill next-open-ai/openclawx/presets/workspaces/code-assistant/skills/code-review
a simple openclaw desktop u
npx -y skills add next-open-ai/openclawx --skill code-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Reads and analyzes source code files or project structures, identifies bugs, and suggests structural architectural or security improvements.
SKILL.md
1.2 KB, as published. Nobody here has run it
Code Review Skill
Use this skill when the user asks you to review code, understand a project structure, or suggest improvements to existing files.
Guidelines
- Understand Context: Before making suggestions, use the
readorbashtools (e.g.,ls -R,cat) to understand the surrounding project structure, package dependencies (package.json,pom.xml, etc.), and related files. - Analysis Focus:
- Bugs/Logic Errors: Identify edge cases, null pointer risks, race conditions, etc.
- Clean Code: Suggest naming improvements, refactorings to reduce complexity, or adherence to SOLID principles.
- Performance: Identify O(N^2) loops where O(N) is possible, memory leaks, unoptimized queries, etc.
- Security: Check for hardcoded credentials, SQL injection vectors, or XSS vulnerabilities.
- Actionable Output: Always provide actionable feedback. Instead of just saying "this is bad", provide the corrected code snippet.