code-review
Code review for quality, security, performance, and architecture. Use when reviewing code, auditing OWASP, checking SOLID, or finding perf bottlenecks and test gaps.
What this skill does
## When to Use This Skill | Use this skill when... | Use something else instead when... | |------------------------|------------------------------------| | Running an end-to-end review across quality, security, perf, and tests | Walking a manual security/correctness checklist → `code-review-checklist` | | Auditing a directory or PR delta with delegated agent analysis | Specifically scanning for code smells → `code-antipatterns` | | Spotting missing test cases or weak assertions | Auditing test code quality on its own → `code-test-quality` | | Producing a consolidated review report | Refactoring after the review surfaces issues → `code-refactor` | ## Context - Review path: `$1` (defaults to current directory if not specified) ## Parameters - `$1`: Path to review (defaults to current directory) ## Your task **Delegate this task to the `code-review` agent.** Use the Agent tool with `subagent_type: code-review` to perform a comprehensive code review. First, use the Glob tool to discover source files to review: - `**/*.py`, `**/*.js`, `**/*.ts`, `**/*.go`, `**/*.rs` for source files - `**/*test*` patterns for test files Then pass the discovered files to the agent. The code-review agent should: 1. **Analyze code quality**: - Naming conventions and readability - Code structure and maintainability - SOLID principles adherence 2. **Security assessment**: - Input validation vulnerabilities - Authentication and authorization issues - Secrets and sensitive data exposure 3. **Performance evaluation**: - Bottlenecks and inefficiencies - Memory usage patterns - Optimization opportunities 4. **Architecture review**: - Design patterns usage - Component coupling - Dependency management 5. **Test coverage gaps**: - Missing test cases - Edge cases not covered - Integration test needs 6. **Apply fixes** where appropriate and safe 7. **Generate report** with: - Summary of issues found/fixed - Remaining manual interventions needed - Improvement recommendations Provide the agent with: - The review path from context - Project type (language/framework) - Any specific focus areas requested The agent has expertise in: - Multi-language code analysis (Python, TypeScript, Go, Rust) - LSP integration for accurate diagnostics - Security vulnerability patterns (OWASP) - Performance analysis and optimization ## Agent Teams (Optional) For comprehensive review of large codebases, spawn specialized review teammates in parallel: | Teammate | Focus | Value | |----------|-------|-------| | Security reviewer | OWASP, secrets, auth flaws | Deep security analysis without blocking quality review | | Performance reviewer | N+1 queries, algorithmic complexity, resource leaks | Performance-focused review in parallel | | Correctness reviewer | Logic errors, edge cases, type safety | Functional correctness in parallel | This is optional — the skill works without agent teams for standard reviews. ## Related Configure Skills - If security scanning not configured → `/configure:security` - If linting not set up → `/configure:linting` - If test coverage not tracked → `/configure:coverage`
Related in Security
mac-ops
IncludedComprehensive macOS workstation operations — diagnose kernel panics, identify failing drives, audit launchd startup items, decode wake reasons, triage TCC permission denials, manage APFS snapshots, recover from no-boot. Use for: Mac is slow, slow bootup, won't boot, kernel panic, kernel_task hot, mds_stores CPU, photoanalysisd, cloudd, login loop, gray screen, sleep wake failure, drive failing, IO errors, APFS snapshots eating space, Time Machine local snapshots, Spotlight indexing, launchd, LaunchAgent, LaunchDaemon, login items, TCC permissions, Full Disk Access, Screen Recording denied, Gatekeeper, quarantine, com.apple.quarantine, app is damaged, helper tool, /Library/PrivilegedHelperTools, pmset, wake reasons, dark wake, sysdiagnose, panic.ips, DiagnosticReports, configuration profile, MDM profile, remote diagnostics over SSH.
a11y-audit
IncludedRun accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions "accessibility audit", "a11y audit", "WCAG audit", "accessibility check", "compliance scan", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA/AODA).
erpclaw
IncludedAI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 413 actions across 14 domains, 43 expansion modules. Constitutional guardrails, adversarial audit, schema migration. Double-entry GL, immutable audit trail, US GAAP.
assess
IncludedAssesses and rates quality 0-10 across multiple dimensions (correctness, maintainability, security, performance, testability, simplicity) with pros/cons analysis. Compares against project conventions and prior decisions from memory. Produces structured evaluation reports with actionable improvement suggestions. Use when evaluating code, designs, architectures, or comparing alternative approaches.
spring-boot-security-jwt
IncludedProvides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based access control using Spring Security 6.x. Use when implementing authentication or authorization in Spring Boot applications.
code-hardcode-audit
IncludedDetect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.