---
name: cursor-rules-architect
description: "Prevents Cursor from taking lazy shortcuts: forbids type assertions (as any), enforces readonly properties on domain models, and guarantees zero unused imports."
---

# SKILL: Cursor Rules Strict TypeScript Architect
## TypeScript Governance
1. The type "any" is strictly prohibited. If a type is uncertain, use unknown and narrow it via type guards or Zod schemas.
2. Exported functions must declare explicit return types.
3. Every component must be placed in its own dedicated file under 200 lines of code.
4. Server functions must never import browser-only dependencies.
