Typescript Type Auditor

    1

    Deep audit of TypeScript codebases for type safety violations, unsafe casts, and runtime-risk anti-patterns.

    Free

    6 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    typescript-type-auditor

    Example session with this skill installed

    Audit the ./src directory for type safety. Focus on unsafe 'as' assertions, missing null checks on optional properties, and any suppressed errors.

    • Read your context and instructions
    • Compiled the typescript-type-auditor

    TypeScript Audit Results: 12 Issues Found

    [Critical] src/api.ts:22 - Unsafe cast: 'as UserData'

    • Risk: Bypasses runtime validation.
    • Fix: Use a Zod schema to parse the response.

    [High] src/state.ts:45 - Missing null check on 'user.profile.zip'

    • Risk: Potential TypeError if profile is undefined.
    Missing null check on 'user.profile.zip

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Deep Type Safety Auditing for TypeScript

    The TypeScript Type Auditor is a specialized developer tool designed to bridge the gap between basic compiler checks and production-ready type safety. While `tsc` catches syntax errors, it often misses semantic risks like unsafe type assertions, hidden null pointers, and incomplete type narrowing that lead to runtime crashes.

    What it does

    This skill systematically scans your TypeScript codebase to identify high-risk anti-patterns. It goes beyond simple linting by analyzing the impact of code patterns on runtime stability. Key features include:

    • Unsafe Pattern Detection: Identifies `as` assertions that bypass safety and `@ts-ignore` flags that hide bugs.
    • Null & Exhaustiveness Checks: Flags missing null guards on optional properties and incomplete switch/if logic in discriminated unions.
    • Severity Classification: Categorizes findings into Critical, High, Medium, and Low risks with prioritized remediation steps.
    • Migration Support: Perfect for upgrading legacy projects or progressively tightening strict mode.

    Why use this skill?

    Manual type auditing is tedious and error-prone. This skill automates the discovery of "silent killers"—code that compiles perfectly but fails in production. It provides clear, actionable fix suggestions (like Zod schema validation for API calls) rather than just flagging errors. The output is a structured report that quantifies your type safety debt, making it an essential tool for PR reviews and sprint planning.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    6 installs

    Downloaded by developers to date

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    • Free to download with an account

    Listed3 months ago

    Frequently Asked Questions