Reusable guidance for TypeScript server work. Use when changing API routes, request or response schemas, middleware, services, repositories, auth flows, structured logging, data-validation boundaries, or server integration tests.
Apply this skill to keep server changes aligned with layered API design, runtime validation, structured logging, and integration-focused verification. Reuse nearby patterns before inventing a parallel server shape.
.parse(...) for values that must be correct and .safeParse(...) only when a graceful branch is intentional.console.* in server code when the repository has a structured logging path.Finish by stating: