Back to skills
SKILL.md
Review
ASecurityAudit existing code for hallucinations. Runs Logic + Security reviewers on any code without generating anything new. The pure review mode — read, analyze, and report only.
- 7 stars
- 0 votes
- 0 copies
- 4 views
- Added November 9, 2026
Works with
Security analysis
100/100npx -y skills add Harmitx7/tribunal-kit --skill review --agent claude-codeAre you the author of Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-review)---
name: review
description: Audit existing code for hallucinations. Runs Logic + Security reviewers on any code without generating anything new. The pure review mode — read, analyze, and report only.
tools: Read, Grep, Glob, Bash, Edit, Write
version: 3.0.0
last-updated: 2026-07-30
required-skills:
- code-review-checklist
- vulnerability-scanner
- clean-code
scripts-binding:
- .agent/scripts/security_scan.js
- .agent/scripts/lint_runner.js
---
# /review — Hallucination Audit (Read-Only)
$ARGUMENTS
---
## Mandatory Pre-Flight Context Inspection
Before auditing code for hallucinations or structural flaws, you MUST inspect:
1. Target Source Code & Dependent Modules → Read target files and their import declarations
2. Package Manifest (`package.json`) → Cross-reference imported packages against installed dependencies
3. Pure Read-Only Constraint → Prohibit any file mutations or generation; output findings in structured audit tables strictly
4. Required Skills → Before executing, load and follow procedural rules from:
- `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
- `vulnerability-scanner` (.agent/skills/vulnerability-scanner/SKILL.md): OWASP vulnerability scanning patterns and severity classification
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
---
## When to Use /review
| Use `/review` when... | Use something else when... |
| :---------------------------------------- | :------------------------------------------ |
| Auditing code you didn't write | AI-specific code review → `/review-ai` |
| Checking existing code for hallucinations | Need Tribunal with generation → `/generate` |
| Pre-merge code review | Full pre-deploy audit → `/audit` |
| Validating AI-generated output | Security only → `/tribunal-backend` |
| Reviewing code from a junior developer | |
---
## The Review Contract
```
/review is READ ONLY.
No files are modified.
No code is generated.
Only findings and recommendations are produced.
```
---
## Active Reviewers
Logic + Security run on ALL code by default.
**Additional reviewers auto-activated by content:**
| Code Contains | Additional Reviewers |
| :-------------------------------- | :----------------------- |
| SQL, Prisma, database operations | `sql-reviewer` |
| React, hooks, components | `frontend-reviewer` |
| TypeScript types, generics | `type-safety-reviewer` |
| npm imports, package.json | `dependency-reviewer` |
| Tests, specs, describe/it blocks | `test-coverage-reviewer` |
| LLM API calls (OpenAI, Anthropic) | `ai-code-reviewer` |
| ARIA, disability, a11y | `accessibility-reviewer` |
---
## Review Output Format
```
━━━ Code Review — [filename or description] ━━━━━
Logic Review: ✅ APPROVED | ⚠️ [N] warnings | ❌ [N] critical
Security: ✅ APPROVED | ⚠️ [N] warnings | ❌ [N] critical
━━━ Findings (sorted by severity) ━━━━━━━━━━━━━━
[CRITICAL] [File:Line] [description] → [specific fix]
[HIGH] [File:Line] [description] → [specific fix]
[MEDIUM] [File:Line] [description] → [note]
━━━ Verdict: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ APPROVED — code is production-ready
⚠️ WARNINGS — [N] items to address before release
❌ CRITICAL — [N] blockers must be resolved
```
---
## What Each Reviewer Looks For
### logic-reviewer
- Methods called on wrong object types
- Impossible states that will throw at runtime
- Functions called before they're defined
- Missing null checks on potentially-undefined values
### security-auditor
- SQL injection (string interpolation in queries)
- XSS (user content in innerHTML or dangerouslySetInnerHTML)
- JWT issues (no algorithm enforcement, weak secrets)
- Auth order (business logic before auth check)
- Hardcoded secrets
---
## Hallucination-Specific Checks
The review specifically catches:
```
□ Methods imported from packages that don't export them
□ React hooks that don't exist (fabricated hook names)
□ Prisma methods removed in current version (findOne, upsertMany)
□ Next.js 15 dynamic APIs used without await (cookies, headers, params)
□ React 19 deprecated API usage (useFormState instead of useActionState)
□ Parameters passed to LLM APIs that don't exist (max_length, format, memory)
□ Model names that don't exist (gpt-5, claude-4, gemini-ultra)
```
---
## Usage Examples
```
/review src/lib/auth.ts
/review the entire src/app/api/checkout/ directory
/review the PaymentForm component
/review this code: [paste code inline]
/review src/lib/ai-chat.ts for AI API hallucinations
/review the last generated code before we write it to disk
```
---
## After /review — Next Steps
| Outcome | Next Command |
| :----------------------------- | :----------------------------------- |
| Review reveals bugs | → `/debug` to isolate and fix |
| Review reveals security issues | → `/tribunal-backend` to apply fixes |
| Review is clean | → `/deploy` or commit code |
---
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.