typescript-standards
These standards describe how to design and write TypeScript code in this codebase. They are especially intended for agents: inspect existing code before adding patterns, libraries, Adapters, or abstractions, but apply these standards to all new and refactored behavior. Follow existing conventions only when they are compatible with these standards.
Rule ownership
This skill owns types, schemas, module design, comments, and general tests. Use tanstack-frontend for FSD, React, queries, mutations, and UI conventions. Use cloudflare-backend for application boundaries, transport contracts, retries, and persistence.
Those skills define their assigned topics. An internal Result convention does not prescribe a transport envelope. Explicit task instructions and global workflow constraints still apply. Apply these standards to new and refactored behavior. Contain incompatible existing patterns at their boundary. Keep unrelated code unchanged. Record lasting architectural decisions when they need an ADR.