Review Code
Analyzes code for potential bugs, security vulnerabilities, and style inconsistencies based on best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add nesnilnehc-review-code npx -- -y @trustedskills/nesnilnehc-review-code
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"nesnilnehc-review-code": {
"command": "npx",
"args": [
"-y",
"@trustedskills/nesnilnehc-review-code"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, nesnilnehc-review-code, allows AI agents to analyze and provide feedback on code snippets. It can identify potential bugs, suggest improvements for readability and efficiency, and offer explanations of complex logic. The agent can also be prompted to adhere to specific coding style guides during its review process.
When to use it
- Code Review Assistance: Quickly get a second pair of eyes on your code before submitting it for formal review.
- Learning New Languages/Frameworks: Ask the agent to explain sections of unfamiliar code or suggest best practices.
- Refactoring Existing Code: Identify areas in existing code that could be improved for performance or maintainability.
- Debugging Support: Provide a snippet and ask the agent to identify potential causes of errors.
Key capabilities
- Code analysis
- Bug detection
- Style guide adherence
- Readability improvement suggestions
- Efficiency improvement suggestions
- Logic explanation
Example prompts
- "Review this Python code for potential bugs: [code snippet]"
- "Can you suggest improvements to the readability of this JavaScript function? [code snippet]"
- "Analyze this C++ code and ensure it follows Google's style guide. [code snippet]"
Tips & gotchas
The quality of the review depends heavily on the clarity and completeness of the provided code snippet. Larger, more complex codebases may require breaking down into smaller chunks for effective analysis.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.