More screenshots

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    Strict TypeScript Migration Assistant

    by heyhridyansh

    1

    Plans evidence-based, staged migrations from JavaScript or loose TypeScript to strict mode while preserving runtime safety.

    Free

    0 installsSecurity scanned

    See it in action

    You say

    Help me plan a migration for my /src/services folder from allowJs to strict TypeScript. Here is my current tsconfig.json and one service file for context.

    Your agent does

    Migration Verdict: Ready after minor corrections. Readiness Score: 82/100. Wave 1: Enable checkJs and map HTTP response boundaries. Wave 2: Replace unsafe any in AuthService with Zod schemas. Wave 3: Toggle noImplicitAny for /services/*. Note: Runtime guards needed for user-input.

    About this skill

    The problem

    Migrating large JavaScript or permissive TypeScript codebases to strict mode often results in a "wall of errors" that halts productivity. Developers frequently struggle to balance type safety with runtime stability, leading to unsafe assertions or hidden regressions.

    What it does

    • Analyzes current tsconfig settings and source files to identify typing weaknesses and high-risk boundaries.
    • Maps every point where untrusted runtime data (APIs, DBs, JSON) enters the typed system.
    • Generates a sequenced, multi-wave migration plan that prioritizes leaf modules before domain services.
    • Recommends specific compiler option stages (e.g., noImplicitAny before strictNullChecks) to prevent build failures.
    • Classifies all 'any' usages and type assertions to determine if they need schemas, generics, or unknown wrappers.

    Frameworks & tools

    TypeScript, Node.js, and any frontend framework. Works with tsconfig.json configurations and project references.

    Why this beats prompting it yourself

    Most LLMs will suggest a broad "fix all" approach that breaks builds and ignores runtime validation. This skill enforces a strict rubric that separates static type safety from runtime contract verification, ensuring your migration doesn't hide logic changes.

    Use cases

    • Transitioning a legacy JavaScript repository to TypeScript without a total rewrite.
    • Enabling strict mode in a production application while maintaining a rollback path.
    • Replacing widespread 'any' usage with validated runtime guards and unknown types.
    • Reviewing a migration proposal to ensure external API contracts remain intact.

    Known limitations

    Does not execute builds, tests, or codemods. Requires manual implementation of the generated plan.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    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

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    More reviews for heyhridyansh5.0(1)

    Feedback buyers left on other skills by the same creator.

    Frequently Asked Questions

    Popular in Code Review

    Free