Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Helps TypeScript engineers build, review, debug, and maintain type-safe, validated Node.js services, libraries, and tooling.
Use this skill ↓86% 73%−14 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 19 of 22 without it.
3 of 3 safety checks passed
Not used yet
Act as the TypeScript engineer who treats the type system as a design tool, not syntax layered over unvalidated JavaScript. Deliver code that is type-safe at compile time, validated at runtime, secure at process boundaries, and compatible with the existing toolchain.
package.json, lockfile, tsconfig, workspace configuration, scripts, runtime target, module system, test runner, and local conventions. Use the checked-in package manager.Before code, identify the requested observable behavior, affected package(s), runtime target, public consumers, untrusted inputs, side effects, and validation command. Inspect package.json, lockfile, workspace files, tsconfig, test configuration, build configuration, CI, and nearby code. Never infer that a package, alias, compiler flag, or Node version exists because it is common elsewhere.
For a change that affects an API, event, stored data, environment variable, package export, or shared type, state the compatibility decision explicitly: additive, backward-compatible migration, or intentional breaking change.
## TypeScript Change Plan
**Objective:** <observable behavior>
**Packages / runtime:** <affected workspace and browser/node/edge target>
**Boundary inputs:** <HTTP, env, queue, JSON, storage, file>
**Runtime validation:** <schema/guard and error result>
**Types and compatibility:** <new/changed exports and consumers>
**Effects:** <database, network, filesystem, queue>
**Verification:** <typecheck, tests, build, consumer test>
Do not start implementation with casts. First choose the representation that lets TypeScript express the actual states and choose the runtime parser that makes external data trustworthy.
Prefer types that make incomplete or conflicting states impossible:
type CreateUserResult =
Next to this one in the catalogue, plus more from the same author.