AiSkillz

Early "As-Is" Access - free for the first 20 accounts. 18 of 20 places left: complete registration to claim one. No credit card needed.

← Back to skills
LanguagesVia MCPAny / model-agnosticLicense: My own work (all rights reserved)

TypeScript best practices & code review

Created by CodeCraft LLC

Write, advise on, and review TypeScript

Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.

by Jace (@jamick)v1.6.2 · updated 2026-12-01Report copyright infringement

Description

Write, advise on, and review TypeScript — tsconfig and strictness, modeling with unions/discriminated unions/generics, narrowing and type guards, unknown vs any, satisfies and as const, utility and mapped types, module settings (verbatimModuleSyntax, moduleResolution, erasable syntax for Node type stripping), runtime validation at boundaries (zod), declaration files, and type-level performance. Use whenever the project has tsconfig.json or .ts/.tsx files, the user hits a type error, asks how to type something, wants to remove `any`, tighten types, or upgrade TypeScript.

#languages#typescript

Included with all-access

$9.00 one-time, permanent access

Get all-access · $12.00/mo, billed yearly

or

Buy 2 or more together for up to 40% off · View cart

You get a licence, not ownership. Access lasts while this skill is available on AiSkillz; if it's removed within 90 days of purchase, we'll send you a copy to keep. Terms

Official and free skills are included with the all-access subscription

Changelog

Subscribers also see which files changed in each version.

v1.6.2Dec 1, 2026Latest

Added

  • README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.6.1Nov 29, 2026

Changed

  • Added a contents list to reference files over 100 lines (narrowing-and-type-guards.md, generics.md, strict-mode.md), so a partial read still shows every section.
v1.6.0Nov 29, 2026

Fixed

  • TypeScript 7.0's date corrected to the announcement post (June 18, 2026); ts6-and-ts7.md was missing from the Deep-dive list.

Added

  • TypeScript 7.1 beta (October 20, 2026): the new programmatic API (not the old ts.* API; tools still need 6.x until they adopt it), content mappers and the --runExternalCode trust note, ambient import attributes, source-phase imports, stricter distributive conditional types.

Changed

  • Deep-dive section made on-demand with open/skip triggers.
v1.5.0Nov 20, 2026

Added

  • Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.4.0Nov 6, 2026

Changed

  • Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.3.0Nov 4, 2026

Changed

  • Review report rule at the top of the skill, loaded before any review: one entry per finding as Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
v1.2.1Oct 31, 2026

Changed

  • References updated for renamed skills: supabase is now supabase-platform, eas-workflows is now eas-workflows-ci, skill-creator is now skill-creator-aiskillz.
v1.2.0Oct 16, 2026

Added

  • references/strict-mode.md: a strict-mode reference (common errors and fixes, flags beyond strict, incremental migration) - merged from the former typescript-strict-mode skill.
  • references/generics.md: a generics reference (constraints, conditional types and infer, mapped types, when not to use generics) - merged from the former typescript-generics skill.
  • references/narrowing-and-type-guards.md: a narrowing reference (type predicates, assertion functions, exhaustiveness, where narrowing is lost) - merged from the former typescript-type-guards skill.
v1.1.0Oct 3, 2026

Changed

  • Checked against the official documentation (October 2026).
  • Added a TypeScript 6.0 and 7.0 reference: 6.0's new defaults (strict, module esnext, types [], rootDir), removed and deprecated options (baseUrl, moduleResolution node, ES5, AMD/UMD/SystemJS, outFile), and how to adopt the native 7.0 compiler.
  • Noted that TypeScript 7.0 has no programmatic API until 7.1, so typescript-eslint and Vue/Svelte tooling still need 6.x side by side.
  • Added 3 pitfalls and 3 review checklist items.
v1.0.1Oct 3, 2026

Changed

  • Renamed the title to describe what the skill does with the product, so it doesn't read as an official or endorsed edition.
  • Added a trademark notice to the README.
v1.0.0Oct 2, 2026

Added

  • First release.