home/common/ai/resources/codex/skills/deep-review/SKILL.md
Comprehensive code review using 9 specialized reviewer agents. Use when the user asks for a deep review, thorough code review, or comprehensive analysis. For faster review, suggest codex-review instead.
npx skillsauth add kamushadenes/nix deep-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.
Comprehensive review using 9 specialized agents for thorough analysis.
Ask the user what to review:
git diff HEADgit diff ${base_branch}...HEADIf the user doesn't specify, default to branch changes if on a feature branch, otherwise uncommitted changes.
Based on scope, collect:
# For uncommitted
git diff HEAD
# For branch
git remote show origin | grep 'HEAD branch' | awk '{print $NF}'
git diff ${base_branch}...HEAD
git log --oneline $(git merge-base HEAD origin/${base_branch})..HEAD
# For codebase
# Read key files, package configs, entry points
Also gather:
git diff ${scope} --stat # Changed files summary
Spawn all agents in parallel, each receiving the review context and their focus area:
Logic errors, edge cases, error handling, race conditions, resource leaks, API contracts.
Injection, auth, secrets, input validation, SSRF/XSS/CSRF, unsafe patterns.
Coverage gaps, missing edge case tests, test quality, mocking correctness, assertions.
Algorithm complexity, unnecessary allocations, N+1 queries, missing caching, blocking operations, memory leaks.
Swallowed exceptions, ignored returns, missing error propagation, logging gaps.
Type safety, implicit coercions, generic misuse, null safety, type narrowing gaps.
Unnecessary complexity, over-abstraction, dead code, redundant logic, opportunities to simplify.
Code duplication, single responsibility violations, coupling issues, naming, module boundaries.
Outdated dependencies, known vulnerabilities, unused dependencies, version conflicts, license issues.
Each agent returns findings as:
[SEVERITY] file:line - Description
Context: <code snippet>
Suggestion: <fix>
Confidence: HIGH/MEDIUM/LOW
After all 9 agents complete, run a suggestion-critic agent:
Brief overview of code health across all dimensions.
Must fix. Include consensus markers if multiple agents flagged the same issue.
Should address.
Nice-to-have improvements.
Good patterns and practices observed.
Issues identified by 2+ agents, indicating higher confidence.
data-ai
Show MemPalace status — room counts, storage usage, and palace health.
tools
Search your MemPalace — semantic search across all mined memories, projects, and conversations.
tools
Mine a project or conversation into your MemPalace — extract and store memories for later retrieval.
development
Initialize a new MemPalace — guided setup for your AI memory palace with ChromaDB backend.