KNOWLEDGE BASEVersioned Team Wiki • Standards • Runbooks • Snippets
Documentation & Runbooks
ARTICLES
Category: STANDARDS•Version: 3.0
DeepGya TypeScript & Next.js 16 Engineering Standards
Author: Subhadeep Jana (Founder & Owner)
### 1. Strict Typing Policy
- Never use `any`. Use generics or `unknown` with Zod schema validation.
- All server actions must validate input parameters with Zod before database execution.
### 2. Neo-Brutalist Design Tokens
- Borders: 3px to 4px solid black (in dark mode: #00E5FF cyan).
- Shadows: 4px to 6px flat hard offset (no blurred shadows).
- Fonts: Arial / Inter for headings, JetBrains Mono / Courier for labels and code.
- Colors: #0057FF (electric blue), #FFE500 (accent yellow), #00E5FF (cyan), #F2EFE6 (off-white).
### 3. PostgreSQL Row Level Security (RLS)
- Every Supabase table MUST have RLS enabled.
- Service role key is strictly restricted to server actions; client-side requests only use the anon key.