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.

TypeScript and tsconfig best practices v1.0.0

Use this resource to configure tsconfig and write robust TypeScript types

New

  • 466 downloads
  • 230 likes
  • 100 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install typescript-config-best-practices

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 sets tsconfig.json for a new or existing project, improves complex types and generics, then fixes async patterns and memory leaks. It accounts for TypeScript 7 migration points.

Mostly picked by

Updated November 2, 2026

Card for the “TypeScript and tsconfig best practices” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: rule categories, table of contents and how to use it
  • references/: advanced types, async code, modules, memory leaks and timers

Good fit for

  • You are creating a tsconfig.json for a new project
  • Your compilation is slow or your types have become unreadable

Not for

    Tags

    • typescript
    • tsconfig
    • types
    • async

    About

    You say

    “Check my tsconfig.json for a strict Next.js project and suggest the options to enable.”

    Card for the “TypeScript and tsconfig best practices” skill

    Skill published by pymodel 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 configure tsconfig and write robust TypeScript types
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/advanced-branded-types.md2.4 KB
    • references/advanced-satisfies-operator.md2.7 KB
    • references/advanced-template-literal-types.md2.7 KB
    • references/async-avoid-loop-await.md2.3 KB
    • references/async-avoid-unnecessary-async.md1.9 KB
    • references/async-defer-await.md2.2 KB
    • references/async-explicit-return-types.md2.6 KB
    • references/async-parallel-promises.md2.1 KB
    • references/mem-avoid-closure-leaks.md2.6 KB
    • references/mem-avoid-global-state.md2.5 KB
    • references/mem-cleanup-event-listeners.md3 KB
    • references/mem-clear-timers.md2.6 KB
    • references/mem-use-weakmap-for-metadata.md2.3 KB
    • references/module-avoid-barrel-imports.md1.8 KB
    • references/module-avoid-circular-dependencies.md1.9 KB
    • references/module-control-types-inclusion.md1.9 KB
    • references/module-dynamic-imports.md2.2 KB
    • references/module-use-type-imports.md2 KB
    • references/runtime-avoid-object-spread-in-loops.md2.2 KB
    • references/runtime-cache-property-access.md2.5 KB
    • references/runtime-prefer-array-methods.md2.4 KB
    • references/runtime-use-for-of-for-iteration.md2.1 KB
    • references/runtime-use-set-for-lookups.md1.9 KB
    • references/runtime-use-string-methods.md2.3 KB
    • references/safety-assertion-functions.md2.6 KB
    • references/safety-const-assertions.md2.3 KB
    • references/safety-exhaustive-checks.md2.5 KB
    • references/safety-prefer-unknown-over-any.md2 KB
    • references/safety-strict-null-checks.md2 KB
    • references/safety-use-type-guards.md2.2 KB
    • references/tscfg-enable-incremental.md1.5 KB
    • references/tscfg-exclude-properly.md2 KB
    • references/tscfg-isolate-modules.md2 KB
    • references/tscfg-project-references.md2.2 KB
    • references/tscfg-skip-lib-check.md2 KB
    • references/tscfg-strict-function-types.md2.2 KB
    • references/tscfg-typescript-7.md3.4 KB
    • references/type-avoid-deep-generics.md1.9 KB
    • references/type-avoid-large-unions.md1.7 KB
    • references/type-explicit-return-types.md2.3 KB
    • references/type-extract-conditional-types.md1.6 KB
    • references/type-interfaces-over-intersections.md1.4 KB
    • references/type-limit-recursion-depth.md1.8 KB
    • references/type-simplify-mapped-types.md1.8 KB
    • SKILL.md7.8 KB

    Origin and licence

    Listed unmodified

    Author
    pymodel
    Source
    github.com/pymodel/react-frontend-skills/tree/b210600fdf49441ee1efeca2cbdc05599ec03019/skills/typescript
    Licence
    MIT

    Notice

    « typescript » (pymodel, 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.