Skill / SKILL.md

Typescript Clean Code

bmad-labs/skills

Use when the user writes, reviews, or refactors TypeScript/JavaScript code, or asks whether code is clean, maintainable, or well-designed; names a smell (Shotgun Surgery, Feature Envy, Data Clumps, Long Method, Divergent Change, Duplicated Code, Large Class, Long Parameter List, Primitive Obsession, Message Chains, Dead Code, Speculative Generality, god class, stringly typed); asks about TypeScript type hygiene (`any` leakage, `as` assertions, non-null `!`, discriminated unions, exhaustiveness, strict flags, branded types); asks what to enforce with lint or tsconfig (knip, jscpd, dependency-cruiser, typescript-eslint); runs TDD or plans test strategy; or estimates tasks and negotiates deadlines.
3 views 20 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Use when the user writes, reviews, or refactors TypeScript/JavaScript code, or asks whether code is clean, maintainable, or well-designed; names a smell (Shotgun Surgery, Feature Envy, Data Clumps, Long Method, Divergent Change, Duplicated Code, Large Class, Long Parameter List, Primitive Obsession, Message Chains, Dead Code, Speculative Generality, god class, stringly typed); asks about TypeScript type hygiene (`any` leakage, `as` assertions, non-null `!`, discriminated unions, exhaustiveness, strict flags, branded types); asks what to enforce with lint or tsconfig (knip, jscpd, dependency-cruiser, typescript-eslint); runs TDD or plans test strategy; or estimates tasks and negotiates deadlines.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/bmad-labs/skills' skill-source

Use the complete skill-source/skills/typescript-clean-code directory with your client’s skill installer.

  • skills/typescript-clean-code

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/typescript-clean-code

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
50 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
0af89125d73fdee777cca1efb002465532b6ff23c1f8aeb8aab952b00db5a059
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills