Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Migrating a JavaScript project to strict TypeScript v1.0.0

Use this resource to migrate a JavaScript project to TypeScript file by file, keeping the build working

New

  • 447 downloads
  • 169 likes
  • 140 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install js-to-typescript-migration

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent runs a JavaScript-to-TypeScript migration against 42 rules: tsconfig and allowJs setup, gradual strict flags, typing public surfaces, replacing any and validating external data. The build stays green at every step. You get a typed project without a big-bang rewrite.

Mostly picked by

Updated November 2, 2026

Card for the “Migrating a JavaScript project to strict TypeScript” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/: cards on type imports, enums and ESM modules
  • references/: cards on types derived from schemas and typed environment variables

Good fit for

  • Your project mixes .js and .ts files and must become strict
  • You want to convert CommonJS modules to ESM while adding types

Not for

    Tags

    • typescript
    • migration
    • javascript
    • tsconfig
    • strict

    About

    You say

    “Migrate this folder of JavaScript services to TypeScript, turning on noImplicitAny file by file without breaking the build.”

    Card for the “Migrating a JavaScript project to strict TypeScript” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to migrate a JavaScript project to TypeScript file by file, keeping the build working
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md9.5 KB
    • assets/templates/_template.md1.3 KB
    • LICENSE1.1 KB
    • metadata.json1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.5 KB
    • references/idiom-default-export-to-named.md1.2 KB
    • references/idiom-enum-to-union-or-const.md1.5 KB
    • references/idiom-optional-chaining-over-guards.md1.2 KB
    • references/idiom-prototype-to-class.md1.2 KB
    • references/idiom-replace-arguments-object.md1.1 KB
    • references/idiom-require-to-import.md1.1 KB
    • references/idiom-type-only-imports.md1.3 KB
    • references/runtime-derive-types-from-schemas.md1.3 KB
    • references/runtime-type-environment-variables.md1.3 KB
    • references/runtime-type-guards-at-boundaries.md1.5 KB
    • references/runtime-type-json-parse.md1.3 KB
    • references/runtime-validate-external-data.md1.3 KB
    • references/setup-allowjs-checkjs-bridge.md1.5 KB
    • references/setup-jsdoc-before-rename.md1.5 KB
    • references/setup-migrate-leaves-first.md1.7 KB
    • references/setup-modern-module-resolution.md1.4 KB
    • references/setup-noemitonerror-isolatedmodules.md1.2 KB
    • references/setup-prefer-ts-expect-error.md1.4 KB
    • references/setup-skiplibcheck-during-migration.md1.4 KB
    • references/strict-enable-flags-incrementally.md1.4 KB
    • references/strict-exact-optional-property-types.md1.5 KB
    • references/strict-no-implicit-any.md1.1 KB
    • references/strict-no-unchecked-indexed-access.md1.5 KB
    • references/strict-prioritize-null-checks.md1.3 KB
    • references/strict-use-unknown-in-catch.md1.1 KB
    • references/surface-annotate-exported-signatures.md1.4 KB
    • references/surface-interface-for-object-args.md1.2 KB
    • references/surface-replace-jsdoc-with-types.md1.3 KB
    • references/surface-type-callbacks.md1.2 KB
    • references/surface-type-class-fields.md1.3 KB
    • references/surface-type-default-params.md1.2 KB
    • references/tooling-declare-untyped-modules.md1.3 KB
    • references/tooling-emit-declaration-files.md1.3 KB
    • references/tooling-install-types-packages.md1.2 KB
    • references/tooling-typecheck-in-ci.md1.2 KB
    • references/tooling-use-tsx-over-ts-node.md1.2 KB
    • references/unsafe-avoid-double-assertion.md1.2 KB
    • references/unsafe-eliminate-as-casts.md1.2 KB
    • references/unsafe-narrow-instead-of-nonnull.md1.4 KB
    • references/unsafe-prefer-unknown-over-any.md1.3 KB
    • references/unsafe-replace-function-type.md1.3 KB
    • references/unsafe-type-dynamic-property-access.md1.4 KB
    • SKILL.md9.5 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/migrate-js-to-modern-typescript
    Licence
    MIT

    Notice

    « migrate-js-to-modern-typescript » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.