REJECT if:
- Hardcoded secrets or credentials
anytype (TypeScript) or missing type hints (Python)- Empty catch blocks (silent error handling)
- Code duplication (violates DRY)
console.log/print()in production code
REJECT if:
import * as React→ useimport { useState }(named imports)var()or hex colors in className → use Tailwind utilitiesuseMemo/useCallbackwithout justification (React 19 Compiler handles this)- Missing
"use client"in client components
PREFER:
cn()for conditional class merging- Semantic HTML over divs
- Named exports over default exports
REJECT if:
- Missing type hints on public functions
- Bare
except:without specific exception print()instead oflogger
REJECT if:
- Exported functions without doc comments
- Ignored errors (no
_ = err) - Naked returns in long functions
REJECT if:
- Claves API o secretos en el repo (usar variables de entorno)
- Solo
divdonde encaje un elemento semántico (header,main,nav,section) - Imágenes sin
altdescriptivo
PREFER:
- Un solo
h1por página; jerarquía de encabezados coherente - Contraste y foco accesibles (teclado,
:focus-visible)
FIRST LINE must be exactly: STATUS: PASSED or STATUS: FAILED
If FAILED, list: file:line - rule violated - issue