effective-typescript
Installation
SKILL.md
Effective TypeScript Skill
Apply the 62 items from Dan Vanderkam's "Effective TypeScript" to review existing code and write new TypeScript. This skill operates in two modes: Review Mode (analyze code for violations) and Write Mode (produce idiomatic, well-typed TypeScript from scratch).
Reference Files
This skill includes categorized reference files covering all 62 items:
ref-01-getting-to-know-ts.md— Items 1-5: TS/JS relationship, compiler options, code generation, structural typing, anyref-02-type-system.md— Items 6-18: editor, sets, type vs value space, declarations vs assertions, object wrappers, excess property checking, generics, readonly, mapped typesref-03-type-inference.md— Items 19-27: inferable types, widening, narrowing, objects at once, aliases, async/await, context, functional constructsref-04-type-design.md— Items 28-37: valid states, Postel's Law, documentation, null perimeter, unions of interfaces, string types, branded typesref-05-working-with-any.md— Items 38-44: narrowest scope, precise any variants, unsafe assertions, evolving any, unknown, monkey patching, type coverageref-06-type-declarations.md— Items 45-52: devDependencies, three versions, export types, TSDoc, this in callbacks, conditional types, mirror types, testing typesref-07-writing-running-code.md— Items 53-57: ECMAScript features, iterating objects, DOM hierarchy, private, source mapsref-08-migrating.md— Items 58-62: modern JS, @ts-check, allowJs, module-by-module, noImplicitAny
How to Use This Skill
Related skills
More from booklib-ai/skills
effective-java
>
23lean-startup
>
20clean-code-reviewer
Reviews code against Robert C. Martin's Clean Code principles. Use when users share code for review, ask for refactoring suggestions, or want to improve code quality. Produces actionable feedback organized by Clean Code principles with concrete before/after examples.
17domain-driven-design
>
16refactoring-ui
>
15effective-kotlin
>
15