plugins/review/skills/deep-review/SKILL.md
Orchestrates comprehensive code review by auto-detecting stack and routing to specialized review skills (security, database, API, UX, business). Use after completing significant code changes, before deploy to production, or when you want a thorough multi-perspective audit. Trigger phrases include "deep review", "review my changes", "code audit", "hloubkova analyza". Not for quick spot checks — use individual specialist skills (security-review, database-review, api-design-review) directly for focused single-domain reviews.
npx skillsauth add petrogurcak/skills 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.
This skill orchestrates comprehensive code review by auto-detecting stack and routing to specialized review skills. It does NOT implement reviews itself - it coordinates specialists.
Philosophy:
Orchestrator = Conductor
Specialized Skills = Musicians
The conductor coordinates, musicians play.
Announce: "I'm using deep-review to analyze your code changes."
Branch: !git branch --show-current
!git diff --cached --name-only
!git diff --name-only
!git diff HEAD --stat
USE this skill:
/deep-review command issuedDON'T use this skill:
security-reviewdatabase-reviewdigraph deep_review_flow {
"Changes detected" [shape=doublecircle];
"Scope detection" [shape=box];
"Stack detection" [shape=box];
"Route to specialists" [shape=box];
"Execute checklists" [shape=box];
"Generate report" [shape=box];
"Done" [shape=doublecircle];
"Changes detected" -> "Scope detection";
"Scope detection" -> "Stack detection";
"Stack detection" -> "Route to specialists";
"Route to specialists" -> "Execute checklists";
"Execute checklists" -> "Generate report";
"Generate report" -> "Done";
}
Changed files are auto-injected above (staged + unstaged). Use them directly.
If argument provided, narrow scope:
| Argument | Scope |
|----------|-------|
| backend, api | Server-side focus |
| frontend, ui | Client-side focus |
| security | Security-only review |
| database, db | Database-only review |
| /path/to/file | Specific path only |
| Indicator | Detected Stack |
| ------------------------------------ | --------------- |
| pyproject.toml, requirements.txt | Python |
| FastAPI imports | FastAPI |
| composer.json, .neon | PHP/Nette |
| package.json + React/Vue | Frontend |
| .latte files | Nette templates |
| checkout, cart, product | E-commerce |
| REST endpoints | API |
| SQL files, migrations | Database |
Technical specialists:
| Detected Stack | Skills to Invoke |
| ---------------- | -------------------------------------------------------- |
| Python/FastAPI | fastapi-workflow, security-review, database-review |
| PHP/Nette | nette-framework, security-review |
| Frontend | frontend-workflow, ux-optimization |
| E-commerce | ux-optimization (e-commerce practices) |
| API endpoints | api-design-review, security-review |
| Database changes | database-review |
| Any code | security-review (always) |
Perspective checks (auto-detected):
| Scope Signal | Perspective | What It Checks |
| -------------------------------------------------------------------- | ------------------------ | --------------------------------------------------------- |
| UI/frontend files changed (.tsx, .vue, .latte, templates, CSS) | UX Perspective | Usability, flow clarity, error states, accessibility |
| New feature (not a fix/refactor) | Business Perspective | Does it solve a real problem? Is scope right? Edge cases? |
These run IN ADDITION to technical specialists, in parallel.
For each invoked skill, run its checklist and record findings.
Priority order:
## Deep Review: [scope]
**Stack:** [detected]
**Files:** [count] analyzed
**Skills used:** [list]
---
### 🔴 CRITICAL (blocks deploy)
| File:line | Issue | Fix |
| -------------- | ------------- | ----------------------- |
| api/auth.py:45 | SQL injection | Use parameterized query |
---
### 🟠 HIGH (technical debt)
| File:line | Issue | Recommendation |
| --------- | ----- | -------------- |
| ... | ... | ... |
---
### 🟡 MEDIUM (improvements)
- [ ] ...
---
### ⚪ LOW (nice to have)
- [ ] ...
---
### Checklist Summary
| Skill | Issues Found | Critical | High |
| -------------------- | ------------ | -------- | ---- |
| security-review | 3 | 1 | 2 |
| database-review | 2 | 0 | 1 |
| api-design-review | 1 | 0 | 0 |
| ux-perspective | 1 | 0 | 1 |
| business-perspective | 0 | 0 | 0 |
security-review)database-review)api-design-review)abstraction-review)Auto-trigger: diff adds/modifies a helper, wrapper, dispatcher, shared module, OR consolidates duplicates.
Invoke via: Skill tool → review:abstraction-review. Folds its output into the deep-review findings. Shares the 12-principle taxonomy with development:designing-abstractions (design-time counterpart).
fastapi-workflow - FastAPI patternsnette-framework - Nette patternsfrontend-workflow - Frontend patternsux-optimization - For frontend/e-commerceTrigger: Changes include .tsx, .vue, .latte, template files, CSS/Tailwind, or components.
Review questions (answer each with finding or "OK"):
Output format:
### UX Perspective
| Area | Status | Finding |
|------|--------|---------|
| Flow clarity | OK / Issue | ... |
| Error states | OK / Issue | ... |
| Loading states | OK / Issue | ... |
| Empty states | OK / Issue | ... |
| Accessibility | OK / Issue | ... |
| Mobile | OK / Issue | ... |
Trigger: Change is a new feature (not a bug fix, refactor, or config change). Detected from branch name (feature/), commit messages, or plan context.
Review questions (answer each with finding or "OK"):
Output format:
### Business Perspective
| Area | Status | Finding |
|------|--------|---------|
| Problem-solution fit | OK / Issue | ... |
| Scope check | OK / Issue | ... |
| Edge cases | OK / Issue | ... |
| User impact | OK / Issue | ... |
| Reversibility | OK / Issue | ... |
These require IMMEDIATE attention:
🚨 CRITICAL SECURITY ISSUES:
- Hardcoded secrets/credentials
- SQL injection vulnerabilities
- No auth on sensitive endpoints
- Plaintext passwords
- Debug mode in production
Action: Stop review, alert user, fix before continuing.
| Review Type | Specialist Skill | Focus |
| -------------------- | ------------------- | -------------------------------- |
| Security | security-review | OWASP Top 10 |
| Database | database-review | N+1, indexes, transactions |
| API | api-design-review | REST, errors, pagination |
| FastAPI | fastapi-workflow | Pydantic, async, DI |
| Nette | nette-framework | DI, Latte, Tracy |
| Frontend | frontend-workflow | Components, state |
| UX | ux-optimization | Forms, e-commerce |
| UX Perspective | inline (auto) | Flow, errors, empty states, a11y |
| Business Perspective | inline (auto) | Problem fit, scope, edge cases |
❌ Skipping security review: "It's just internal API" → Security review ALWAYS runs.
❌ Ignoring low severity: Low ≠ unimportant. Track for later cleanup.
❌ Not prioritizing: Fix CRITICAL before touching MEDIUM issues.
❌ Missing stack detection: Check multiple indicators, not just one file.
Triggering deep-review:
/deep-review or "review my changes"After review:
development
Builds a pre-launch social proof strategy through structured beta programs using D'Souza Brain Audit interviews. Use when launching new products/services and need compelling testimonials, planning a beta cohort, designing interview questions to harvest objection-busting social proof, improving video testimonials for landing pages, or designing case studies with metrics. Trigger phrases include "beta tester program for testimonials", "pre-launch social proof", "Brain Audit testimonial framework", "case study harvest", "reverse testimonial", "video testimonial mechanics", "social proof landing page", "sběr referencí", "beta tester program", "testimonial pro landing page", "social proof před launchem", "rozhovor s klientem", "case study sběr", "reference před spuštěním". NOT for ongoing case study production (use growth-hacking case-study approach), offer design (use offer-creation), or conversion optimization (use ux-optimization).
development
Use when planning a product launch and the product type is unclear or could be either generic (SaaS/app/physical) or info-product. Routes between marketing:launch-strategy (generic launches) and marketing:info-product-launch (courses, memberships, ebooks, cohorts, communities). Trigger phrases - "launch", "spuštění", "go-to-market", "product launch", "release strategy", "uvedení na trh", "launch plan", "spuštění produktu", "launch sequence", "launch strategy". Do NOT trigger when product type is already clear (use specific skill directly).
testing
Specialized 8-week launch cadence for info-products — online courses, cohort programs, memberships, communities, ebooks, masterminds. Combines Jeff Walker's Product Launch Formula (Seed/Internal/JV variants, PLC sequence, open-cart day-by-day) with Stu McLaren's membership mechanics (closed cart, Success Path) and Hormozi Grand Slam Offer stacking. Use when planning "launch online kurzu", "info-product launch", "PLF launch", "course launch", "membership launch", "cohort launch", "ebook launch", "open cart close cart", "8-week launch of online course", "beta cohort to launch sequence", "spuštění kurzu", "launch členské sekce", "open cart strategie". Differentiates from marketing:launch-strategy (generic SaaS/app launches) — info-product-specific. NOT for SaaS launches, physical products, or services.
development
Use when releasing an Expo/React Native mobile app to App Store and Google Play - covers eas submit, ASC "Submit for Review", Play promote Internal→Production, OTA update, and decoding common silent failures (Apple agreement expiry, missing English locale, Background Location declaration, web bundle failure on react-native-maps).