skills/89jobrien/code-review/SKILL.md
Expert code review specialist for quality, security, and maintainability. Use when reviewing code changes, ensuring high development standards, or conducting security audits. Provides actionable feedback organized by priority.
npx skillsauth add aiskillstore/marketplace code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides expert code review capabilities focusing on code quality, security vulnerabilities, and maintainability. It analyzes code changes and provides prioritized, actionable feedback.
Review the recent code changes in this branch
Check this file for security issues and code quality
Review src/auth.js for security vulnerabilities
Review the changes in this pull request
When invoked:
Get Recent Changes: Run git diff to see what changed
git diff $(git merge-base HEAD main)..HEAD
Focus on Modified Files: Prioritize files with actual changes
Review Context: Understand the purpose of changes from commit messages or conversation
For each file, check:
Code Quality:
Security:
Maintainability:
Best Practices:
Provide feedback in three priority levels:
Critical Issues (Must Fix):
Warnings (Should Fix):
Suggestions (Consider Improving):
For each issue found:
Input: Review src/api/auth.js
Output:
## Code Review: src/api/auth.js
### Critical Issues
**1. Exposed API Key**
- **Location**: `src/api/auth.js:23`
- **Issue**: Hardcoded API key in source code
- **Code**:
```javascript
const API_KEY = "sk_live_1234567890abcdef"; // ❌ Exposed secret
Fix: Use environment variables
const API_KEY = process.env.API_KEY; // ✅ Secure
Impact: This exposes your API key in version control, allowing unauthorized access
2. Missing Input Validation
src/api/auth.js:45Input: Review recent changes
Output:
## Code Review Summary
**Files Reviewed**: 5
**Critical Issues**: 0
**Warnings**: 3
**Suggestions**: 5
### Warnings
**1. Duplicated Code**
- **Files**: `src/utils/format.js:12-25` and `src/utils/display.js:8-21`
- **Issue**: Same formatting logic duplicated
- **Fix**: Extract to shared utility function
**2. Missing Error Handling**
- **Location**: `src/api/users.js:34`
- **Issue**: No try/catch for async operation
- **Fix**: Add proper error handling
### Suggestions
**1. Improve Variable Naming**
- **Location**: `src/components/List.jsx:15`
- **Current**: `const d = data.map(...)`
- **Suggested**: `const formattedItems = data.map(...)`
For comprehensive review checklists, load reference files as needed:
references/review_checklist.md - Detailed checklists for security, code quality, performance, testing, documentation, and best practicesreferences/CODE_ANALYSIS.template.md - Code analysis report template with security, performance, and maintainability sectionsWhen conducting thorough reviews, load references/review_checklist.md and use the appropriate checklist sections.
Security:
Code Quality:
Performance:
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.