What problem does it solve? Untrusted data from HTTP requests, environment variables, external APIs, databases, caches, JSON.parse, and catch blocks often leaks into TypeScript code as any or unchecked casts, making type safety an illusion. This Skill forces disciplined reasoning about exactly where runtime data becomes trustworthy, what gets validated, and which policies govern unknown keys, normalization, and failure handling. ## Core Features & Use Cases - Boundary Design Workflow: A step-by-step pass that names the untrusted source, states the exact trusted claim, picks the minimal checked surface, and chooses between manual guards, assertion functions, schema-derived parsers, or boundary mappers. - Policy Decision Guidance: Concrete rules for throw versus structured result, reject versus strip versus passthrough for unknown keys, sync versus async parsing, and where normalization should live. - Trust-Leak Detection: Red-flag catalogs for as any, postfix !, truthiness narrowing, top-level-only validation, and DTO or DB record types leaking into core domain code. - Use Case: When a user says "make this API payload type-safe" or "why is unknown leaking from my cache reader", the Skill produces a concrete boundary design with a named parser signature like parseX(input: unknown): TrustedX, explicit unknown-key policy, and an honest confidence assessment. ## Quick Start Ask the assistant to design a validation boundary for an untrusted input, for example: "Design a runtime boundary that parses this external API response into a trusted internal type in strict-mode TypeScript."