Skip to content
full-review logo

Full Review

full-review

Holistic review pipeline: simplification, correctness, security, overcautious check, lint/fix, all tests, fix failures, audits, and final review. The one command that checks everything.

SKILL.md

Full skill instructions

Full Review

The holistic review pipeline. Runs every review, every check, every test, fixes what it can, and reports what it can't. Use this before merge/​PR when you want maximum confidence.

Usage

/​full-review

Pipeline

Phase 1: Simplify

Run /​simplify on uncommitted changes. This refactors recently modified code for clarity, consistency, and maintainability while preserving functionality. If no changes are made, continue -- the rest of the pipeline still runs. This phase runs first so all subsequent validation runs against the simplified code.

Phase 2: Code Review (iterative)

Run /​review on uncommitted changes. If it reports P0 or P1 findings:

  1. Fix each finding
  2. Run /​review again on the updated diff
  3. Repeat until verdict is PASS
  4. If unsure how to fix a finding, ask the user before guessing

Phase 3: Security Review

Run /​security-review on uncommitted changes. Record verdict (SECURE / NEEDS FIXES).

If CRITICAL or HIGH findings, fix them before continuing.

Phase 4: Overcautious Check

Run /​overcautious-check on uncommitted changes. Record verdict (CLEAN / BLOCKED).

If BLOCK-level findings, fix them before continuing.

Phase 5: Quality Gate (lint + tests)

Run /​run-quality-gate. This runs:

  • /​lint --fix (auto-fixes formatting and lint errors, stages fixed files)
  • /​run-unit-tests all
  • /​run-integration-tests all

If all pass, continue. If tests fail, pass the failure output to Phase 6.

Phase 6: Fix Test Failures (if any)

If Phase 5 had test failures, run /​fix-tests with the failure output from Phase 5 (skip re-running the suite):

  • Diagnose each failure
  • Fix source code (not test assertions)
  • Iterate until all tests pass
  • If uncertain about intended behavior or what a correct fix looks like, ask the user before guessing

Record: fixes applied.

Phase 7: Test Coverage Review + Regression Tests

Run /​test-coverage-review on uncommitted changes. This identifies new or modified code lacking test coverage and creates the missing tests.

Additionally, create regression tests for every P0-P2 finding from Phases 2-4. For each finding that was fixed:

  1. Write a test that specifically reproduces the bug scenario
  2. The test must verify the correct behavior (pass with the fix, would fail without it)
  3. Choose the appropriate test type:
    • Unit test — for logic bugs, incorrect calculations, wrong return values
    • Integration/​API test — for endpoint bugs, query issues, missing headers
    • E2E test — for rendering bugs, UI regressions, page-level failures
  4. Name regression tests descriptively: test_<what_broke>_regression or "<what_broke> regression"

If the /​review phase already created regression tests inline (Step 6), verify they exist and are sufficient. If not, create them now.

If new tests are created, run the full suite again to verify they pass and don't cause regressions.

Record: tests created, coverage gaps filled, regression tests for N findings.

Phase 8: Audits (read-only)

Run these checks in sequence. Flag issues but don't auto-fix.

Skipped test audit: Search changed test files for skip patterns:

  • .skip, .only, xit(, xdescribe(, xtest(, @skip, pending(

Flag any found with file paths and line numbers.

Secret scan: Check the diff for potential secrets in added lines:

  • API keys: sk-, pk_, api_key, AKIA, aws_secret
  • Credentials: password, secret, token, credential
  • URLs with embedded creds
  • .env file contents being committed

If secrets detected: BLOCK. Do not continue. Warn the user.

Coverage check (if coverage script exists):

npx jest --coverage --findRelatedTests <changed-files> --coverageReporters=text-summary

Warn if coverage dropped on changed files. Do not block.

Phase 9: Final Review (conditional)

Only if changes were made in Phases 1-7 (fixes applied by review, lint, fix-tests, or test-coverage-review):

Run /​review one final time on the updated diff to verify fixes didn't introduce new issues.

If no changes were made (everything passed clean on first try), skip this phase.

Phase 10: Summarize Changes

Run /​summarize-changes to categorize all uncommitted changes and give the user a clear picture of what they're about to commit.

Enforcement

  • Any phase failure = overall failure.
  • No deferring issues. If you see it, you own it — fix it now.
  • Secrets detected = hard block. Do not proceed.
  • Do not dismiss test failures as flaky. Investigate and fix.

Output

## Full Review Report

### Phase Results
- Simplify: PASS / REFACTORED N files
- Code review: PASS / NEEDS FIXES (N iterations)
- Security review: SECURE / NEEDS FIXES
- Overcautious check: CLEAN / BLOCKED
- Quality gate: PASS / FAIL (includes lint --fix + all tests)
- Test fixes: N/​A / FIXED N failures
- Test coverage: PASS / CREATED N tests (N regression tests for findings)
- Audits: CLEAN / WARNINGS / BLOCKED

### Auto-Fixed
- [x] Formatted N files
- [x] Fixed N lint errors
- [x] Fixed N review findings
- [x] Fixed N test failures
- [x] Created N missing tests

### Warnings
- [ ] Coverage dropped N% in `file.ts`
- [ ] Skipped test in `file.test.ts:45`

### Blocked
- [ ] Possible secret in `file.ts:12`
- [ ] Unresolved P1 finding: ...

### Changes Summary
[Output from /​summarize-changes]

### Final Verdict: PASS / FAIL

PASS = no blockers, no unresolved P0/​P1/​CRITICAL/​HIGH/​BLOCK findings, all tests green. FAIL = has blockers or unresolved critical findings.

Rules

  • Compose, don't duplicate. Delegate to /​review, /​security-review, /​overcautious-check, /​run-quality-gate, /​fix-tests, /​test-coverage-review, and /​summarize-changes. Don't reimplement their logic.
  • Never modify test assertions to make tests pass.
  • Never commit if secrets are detected.
  • Stage auto-fix changes so the user sees them in the diff.
  • Report everything. Even if all checks pass, show the summary so the user knows what was validated.
  • Skip the final review if nothing was changed — don't waste time re-reviewing clean code.

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