skills/smithery.ai/critical-rules

critical-rules

Installation
SKILL.md

Critical Rules

MANDATORY rules that must NEVER be violated. These prevent common bugs and ensure code quality.

Checklist

Rule 1: TypeScript Type Safety

  • NEVER use any type - no exceptions, including tests
    • const data: any = response
    • const data: unknown = response
    • const data = response as UserData
    • ✅ For test mocks: as unknown as Type

Why: any disables all type checking and hides bugs. Use proper types, unknown, or type assertions instead.

Examples:

Installs
1
First Seen
Apr 10, 2026
critical-rules from smithery.ai