Agent skill
code-review
Review code changes for bugs, style, and security issues
Install this agent skill to your Project
npx add-skill https://github.com/nearai/ironclaw/tree/staging/skills/code-review
SKILL.md
Code Review Workflow
When the user asks to review code:
- Get the changes: Run
shellwithgit diff(unstaged) orgit diff --cached(staged) orgit diff HEAD~1(last commit) depending on context. - Focus on what changed, not surrounding code. Don't review unchanged code unless it's directly relevant to the change.
- Check for these categories:
- Bugs: Logic errors, off-by-one, null/undefined handling, race conditions
- Security: Injection vulnerabilities, credential exposure, path traversal, XSS
- Error handling: Missing error cases, swallowed errors, unclear error messages
- Edge cases: Empty inputs, large inputs, concurrent access, unicode handling
- Style: Inconsistency with surrounding code, unclear naming, missing/excessive comments
- Provide actionable feedback with specific file:line references. Don't just say "this could be improved" - say what to change and why.
- Be proportional: A one-line typo fix doesn't need a full security audit. Match review depth to change scope.
- If the changes look good, say so clearly. Don't invent problems.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
mintlify
Build and maintain documentation sites with Mintlify. Use when creating docs pages, configuring navigation, adding components, or setting up API references.
product-prioritization
Product strategy and feature prioritization — score features by user demand evidence, effort (human vs AI-assisted), strategic alignment, and market signal. Anti-sycophantic forcing questions to cut through opinion.
qa-review
QA review for code changes — test coverage analysis, edge case identification, test plan generation, regression detection, test health tracking over time.
commit
Generate git commit messages from staged changes
content-creator-assistant
Commitment tracking tuned for content creators — content pipeline stages, trend expiration, cross-platform cascades, heavy idea parking.
trader-assistant
Commitment tracking tuned for financial traders — real-time alerts, position-aware relevance, decision journaling with outcome tracking.
Didn't find tool you were looking for?