// Deep code quality review with web research. Use when user explicitly requests verification against latest docs ('double check against latest', 'verify versions', 'check security'), needs deeper analysis beyond automatic hook, or is working on projects without SAFEWORD.md/CLAUDE.md. Fetches current documentation (WebFetch), checks latest versions (WebSearch), and provides deep analysis (performance, security, alternatives).
| name | quality-reviewer |
| description | Deep code quality review with web research. Use when user explicitly requests verification against latest docs ('double check against latest', 'verify versions', 'check security'), needs deeper analysis beyond automatic hook, or is working on projects without SAFEWORD.md/CLAUDE.md. Fetches current documentation (WebFetch), checks latest versions (WebSearch), and provides deep analysis (performance, security, alternatives). |
| allowed-tools | * |
Deep quality review with web research to verify code against the latest ecosystem state.
Primary differentiator: Web research (WebSearch, WebFetch) to verify against current versions, documentation, and best practices.
Triggers:
Relationship to automatic quality hook:
Understand context:
ls CLAUDE.md SAFEWORD.md ARCHITECTURE.md .claude/
Read relevant standards:
CLAUDE.md or SAFEWORD.md - Project-specific guidelinesARCHITECTURE.md - Architectural principles@./.safeword/guides/code-philosophy.md - Core coding principlesWill it work?
Edge cases:
Error handling:
Logic errors:
Project standards (from CLAUDE.md/SAFEWORD.md/ARCHITECTURE.md):
Library best practices:
CRITICAL: This is your main differentiator from automatic hook. ALWAYS check versions.
WebSearch: "[library name] latest stable version 2025"
WebSearch: "[library name] security vulnerabilities"
Flag if outdated:
Common libraries: React, TypeScript, Vite, Next.js, Node.js, Vitest, Playwright, Jest, esbuild
Check even if dependencies didn't change - User might be using outdated patterns.
CRITICAL: This is your main differentiator from automatic hook. ALWAYS verify against current docs.
WebFetch: https://react.dev (for React)
WebFetch: https://vitejs.dev (for Vite)
WebFetch: https://www.electronjs.org/docs (for Electron)
Look for:
Cache results: If you checked docs recently in this session, don't re-fetch.
Simple question ("is it correct?"):
**Correctness:** โ Logic is sound, edge cases handled, no obvious errors.
Full review ("double check and critique"):
## Quality Review
**Correctness:** [โ/โ ๏ธ/โ] [Brief assessment]
**Anti-Bloat:** [โ/โ ๏ธ/โ] [Brief assessment]
**Elegance:** [โ/โ ๏ธ/โ] [Brief assessment]
**Standards:** [โ/โ ๏ธ/โ] [Brief assessment]
**Versions:** [โ/โ ๏ธ/โ] [Latest version check with WebSearch]
**Documentation:** [โ/โ ๏ธ/โ] [Current docs check with WebFetch]
**Verdict:** [APPROVE / REQUEST CHANGES / NEEDS DISCUSSION]
**Critical issues:** [List or "None"]
**Suggested improvements:** [List or "None"]
Use structured format for "double check"/"critique". Use brief format for specific questions.
## Quality Review
**Correctness:** โ Logic sound, edge cases covered, error handling adequate
**Anti-Bloat:** โ Minimal dependencies, appropriate abstractions
**Elegance:** โ Clear code, good naming, well-structured
**Standards:** โ Follows CLAUDE.md patterns
**Versions:** โ React 19.0.0 (latest stable), TypeScript 5.7.2 (latest)
**Documentation:** โ Using current React patterns per https://react.dev
**Verdict:** APPROVE - Production ready
**Critical issues:** None
**Suggested improvements:** None
User requests review after automatic hook ran:
WebSearch/WebFetch fails:
Project has no CLAUDE.md/SAFEWORD.md:
@./.safeword/guides/code-philosophy.md as fallback