What problem does it solve? TypeScript codebases often let raw DTOs, untyped exceptions, boolean state bags, and module-mocked tests erode correctness over time. This Skill gives an agent a concrete standards checklist so every new module, endpoint, adapter, or test pushes invalid data to the boundaries and makes expected failures part of the type signature. ## Core Features & Use Cases - Typed error handling: Return Result<T, E> or Effect values for expected failures and reserve throws for unrecoverable defects. - Boundary parsing and domain types: Parse untrusted input early into branded/refined types like EmailAddress or UserId instead of passing raw DTOs through core logic. - Adapter and dependency discipline: Audit existing adapters before creating new ones, inject narrow dependency interfaces, and record meaningful new services in an ADR. - Testing and config standards: Replace vi.mock/jest.mock module mocks with real seams and fakes, and parse config and secrets at startup with Redacted<T> wrappers. - Use Case: When reviewing a PR that adds a displayName field via JSON.parse(req.body) with truthy checks, the Skill directs the reviewer to parse the touched boundary into a domain type, return a typed error, and translate it at the existing framework boundary. ## Quick Start Ask the agent to review your TypeScript change or new module against these coding standards before committing it.