Skip to content
rd-skills
All skills

typescript-professional-usage

FoundationJIT only

analysis-agent/task-agent/review-agent: use when TypeScript runtime validation, structural typing, async, numeric, or module semantics change; skip generic work.

Group
Language usage
Supported roles
MainAnalysisTaskReview
Source
SKILL.md

Use when

Trigger signals that make this skill the right owner

  • TypeScript runtime validation structural typing excess property brand discriminant any assertion non-null suppression
  • Promise rejection AbortSignal cancellation stale completion safe integer NaN infinity bigint decimal unit serialization
  • type-only import ESM CJS conditional exports module resolution declaration emission generated client public type runtime skew

Do not use when

Anti-triggers — as binding as the triggers above

  • the open decision is generic frontend state API policy package build performance testing or style without TypeScript-specific semantics
  • no TypeScript source declaration generated compiler or emitted-runtime boundary changes

Required inputs

What must be supplied before this skill can decide anything

  • changed TypeScript trust type async numeric module or declaration paths
  • current tsconfig runtime bundler package exports generated authority and supported consumers
  • malformed input async cancellation numeric emission consumer-compile and runtime-skew proof evidence

Output contract

What this skill owes the next role

  • TypeScript semantic decision with runtime boundary structural-type limit bounded escape async cancellation numeric behavior module emission public/generated compatibility proof limits and specialist routes

Escalation signals

When this skill must hand the decision back

  • Type erasure structural assignability floating work numeric coercion or module emission can violate runtime and consumer behavior despite a green typecheck

Loaded by

This skill never owns a task. These professionals may pull it in as Layer 3.

Targeted references

Each reference carries its own load condition. None of them enter context by default.

ReferenceLoad whenDo not load whenRequired by
benchmarks-and-patterns.mdbenchmark-patternA TypeScript change affects runtime validation structural typing unsafe escapes async numeric module-emission or public-type semanticsThe TypeScript edit preserves these boundaries and established compiler plus runtime behavior resolves the mechanismTaskAnalysisReview