Skill / SKILL.md

Ts Best Practices

poteto/noodle

TypeScript type safety guidelines for writing maximally type-safe code. Apply these patterns when writing or reviewing any TypeScript: discriminated unions, type narrowing, type guards, exhaustiveness checks, avoiding `as` casts, preferring `unknown` over `any`, and making impossible states unrepresentable. Use this skill whenever writing TypeScript code, reviewing TypeScript for type safety issues, or when the user mentions type safety, type narrowing, discriminated unions, or asks to make types stricter/more explicit.
3 views 756 repository stars 0 commentsUpdated Nov 28, 2026
Overview

TypeScript type safety guidelines for writing maximally type-safe code. Apply these patterns when writing or reviewing any TypeScript: discriminated unions, type narrowing, type guards, exhaustiveness checks, avoiding `as` casts, preferring `unknown` over `any`, and making impossible states unrepresentable. Use this skill whenever writing TypeScript code, reviewing TypeScript for type safety issues, or when the user mentions type safety, type narrowing, discriminated unions, or asks to make types stricter/more explicit.

Installation & variants

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

git clone -- 'https://github.com/poteto/noodle' skill-source

Use the complete skill-source/.agents/skills/ts-best-practices directory with your client’s skill installer.

  • .agents/skills/ts-best-practices

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/ts-best-practices

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e8aa4dde97d7c73f88e60004956d05001a9a47e00d8a1a9dcba16da9124285e9
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills