Skip to content
full-review logo

Full Code Review

full-review

Comprehensive code review using all available skills. Use before committing or when you want a thorough analysis of changes. Triggers on review code, check changes, full review, pre-commit review.

SKILL.md

Full skill instructions

Full Code Review

Orchestrates all available review skills to provide comprehensive code analysis.

When to Use

  • Before committing code changes
  • Performing pre-merge reviews
  • Running comprehensive audits
  • Checking code against all quality standards
  • Validating changes across the full stack

Workflow

Step 1: Identify Changes

Get list of changed files using git diff.

Step 2: Map Skills to Files

Invoke relevant skills based on file patterns.

Step 3: Run Checklists

Apply security, DeFi, type safety, and performance checks.

Step 4: Generate Report

Produce structured report with severity levels.

Step 5: Auto-Fix (Optional)

Offer to fix critical issues automatically.


Trigger Phrases

  • "review code", "check changes", "full review"
  • "pre-commit review", "review before commit"
  • "run all skills", "comprehensive review"

Review Process

Step 1: Identify Changes

# Get changed files
git diff --name-only HEAD~1 2>/​dev/​null || git diff --name-only
git status --porcelain

Step 2: Skill Mapping

Based on changed files, invoke these skills:

Changed FilesSkills to Invoke
Any .ts, .tsxcode-review-expert, common-pitfalls
server/​src/​routes/​*system-integration-validator
server/​src/​services/​*defi-expert, hft-quant-expert
server/​src/​db/​*code-consistency-validator
client/​src/​pages/​*, client/​src/​components/​*apple-ui-design, common-pitfalls
client/​src/​hooks/​*common-pitfalls (TanStack Query)
rust-core/​**/​*.rscode-consistency-validator, latency-tracker
*token*, *protocol*, *chain*defi-registry-manager
*arbitrage*, *trade*, *swap*liquidity-depth-analyzer
*logger*, *error*error-logger
*websocket*, *ws*common-pitfalls (WebSocket)
schema.ts, *.sqlcommon-pitfalls (Drizzle)

Step 3: Review Checklist

For EVERY review, check these critical items:

Security
  • No SQL injection vulnerabilities
  • No XSS in React components (dangerouslySetInnerHTML)
  • No command injection in Bash calls
  • No hardcoded secrets/​credentials
  • Proper input validation on all endpoints
  • Rate limiting on sensitive routes
DeFi-Specific
  • Token decimals correct (USDC/​USDT=6, WBTC=8, ETH=18)
  • Token addresses in checksum format
  • BigInt handling (no precision loss with Number())
  • Slippage protection on swaps
  • Proper error handling for reverts
Type Safety
  • No as any type assertions
  • Types match across TypeScript ↔ Rust ↔ PostgreSQL
  • Zod schemas for all API inputs
  • Proper null/​undefined handling
Performance
  • No N+1 queries
  • Proper indexing on queried columns
  • Timeouts on external calls
  • Connection pooling configured
Code Quality
  • Error messages don't leak internal details
  • Consistent naming conventions
  • No dead code or unused imports
  • Proper async/​await usage
TanStack Query (if applicable)
  • QueryKeys use full URL paths
  • Mutations invalidate relevant queries
  • Using isPending (not isLoading) for mutations in v5
  • Responses typed with schema types
Drizzle ORM (if applicable)
  • No primary key type changes
  • Array columns use text().array() syntax
  • Insert/​select types exported for models
  • Using drizzle-zod for validation
React Components (if applicable)
  • Loading/​error states handled
  • data-testid on interactive elements
  • Using router Link, not window.location
  • Helper functions defined before use
Blockchain/​RPC (if applicable)
  • All contract calls wrapped in try/​catch
  • Multicall uses allowFailure: true
  • Prices validated against expected ranges
  • Handling "execution reverted" gracefully

Step 4: Report Format

## Code Review Report

### Files Reviewed
- [list files]

### Skills Applied
- [list skills invoked]

### Critical Issues (MUST FIX)
🔴 [issue description]
   File: path/​to/​file.ts:line
   Fix: [how to fix]

### Warnings (SHOULD FIX)
🟡 [issue description]
   File: path/​to/​file.ts:line
   Suggestion: [recommendation]

### Suggestions (NICE TO HAVE)
🟢 [improvement idea]

### Summary
- Critical: X issues
- Warnings: X issues
- Suggestions: X items
- Ready to commit: Yes/​No

Step 5: Auto-Fix

If critical issues found, offer to fix them:

  1. Show the issue
  2. Show the proposed fix
  3. Apply if approved
  4. Re-run validation

Quick Commands

  • /​review - Full review of all changes
  • /​quick-review - Fast check of critical issues only
  • Invoke full-review skill for this comprehensive process

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View