code-review · diff

git:20260504.fa29afc to git:20260505.82ceb95

5 added, 0 removed. Audit A to A.

What this update changes in the checks

No check changed: every fixed check gives the same answer before and after this update.

A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.

---
name: code-review
description: Review code against enterprise standards — auto-detects stack (.NET, NestJS, React, RN, Flutter)
+ category: code-quality
+ triggers:
+ - "review this code"
+ - "check code quality"
+ - "score this"
---
# enterprise Code Review
Review code against enterprise Rulebook standards. Auto-detects the stack.
## Instructions
1. Detect the stack from file extension and project structure
2. Load the appropriate reviewer:
- `.cs` files → Read `agents/dotnet-reviewer.md`
- `.ts` files with `@nestjs` → Read `agents/nestjs-reviewer.md`
- `.tsx` files with React → Read `agents/react-reviewer.md`
- `.tsx` files with React Native → Read `agents/rn-reviewer.md`
- `.dart` files → Read `agents/flutter-reviewer.md`
3. Load shared rules: `core/NAMING_CONVENTIONS.md`, `security/SECURITY_GUIDELINES.md`
4. Score 0-100. Critical/Major/Minor/Suggestions format
5. Check architecture: thin controllers, no god classes, reuse existing, composition over inheritance
6. Check empathy: loading/error/empty states, financial formatting, a11y
7. Check testing: tests exist for all components/services