typescript-review

Analyze TypeScript changes for typing accuracy, runtime behavior, and contract adherence.

2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/RichardGeorgeDavis/Codex-Workspace --skill typescript-review-richardgeorgedavis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-review
Source: https://github.com/RichardGeorgeDavis/Codex-Workspace/tree/main/tools/templates/skills/typescript/review
Command: npx skills add https://github.com/RichardGeorgeDavis/Codex-Workspace --skill typescript-review-richardgeorgedavis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript changes often drift from intended typing, runtime behavior, and verification expectations, leading to hidden bugs and brittle code. This skill helps reviewers focus on type-safety, runtime correctness, and contract adherence.

Core Features & Use Cases

  • Focused TypeScript review: checks for typing accuracy, API surface stability, and compliance with existing contracts.
  • Runtime considerations: identifies potential runtime pitfalls such as asynchronous paths, error handling, and coercion issues.
  • Use Case: When a change touches typing or APIs, apply this skill to validate type safety and behavioral contracts before merging.

Quick Start

Review the latest TypeScript change focusing on typing accuracy, runtime behavior, and verification tests.

Frequently Asked Questions about typescript-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review TypeScript code for typing accuracy and runtime behavior?

To review TypeScript code for typing accuracy and runtime behavior, analyze changes to verify type safety, API surface stability, and compliance with existing contracts. This approach validates static types, asynchronous paths, and error handling during the review process.

What is static analysis for TypeScript contract adherence?

Static analysis for TypeScript contract adherence is the process of verifying that code changes comply with established API contracts and type definitions. It identifies potential runtime pitfalls, such as coercion issues, ensuring behavioral correctness before merging.

How do I validate TypeScript API surface stability during a library update?

To validate TypeScript API surface stability during a library update, apply focused static type checks to verify that refactored code maintains compliance with existing contracts and prevents hidden behavioral drift in asynchronous paths.

Does TypeScript static analysis catch runtime pitfalls like coercion issues?

TypeScript static analysis catches runtime pitfalls like coercion issues by validating typing accuracy and identifying asynchronous path errors. It ensures runtime considerations are addressed and verification tests align with behavioral expectations during review.

What is the best way to verify test coverage alignment for TypeScript refactors?

The best way to verify test coverage alignment for TypeScript refactors is to analyze changes against intended typing and runtime behavior. This validates that static type checks and runtime behavior expectations are met before merging features.

When do I need TypeScript static type checks for code reviews?

You need TypeScript static type checks for code reviews when changes touch typing, APIs, or library updates. Applying these checks validates type safety, runtime correctness, and contract adherence in projects where strong typing matters.