Skill / SKILL.md

Typescript Type Safety

theonly1me/shadowclone

Use when changing TypeScript types, parsing input that enters typed code, or removing unsafe casts. Also use it when the user says "fix the types", "remove the as casts", or "make invalid states impossible". Models each valid state with types, so that invalid combinations fail to compile. Checks outside input with a type guard or a schema instead of an assertion. Not for designing module boundaries (use `design-deep-modules`).
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when changing TypeScript types, parsing input that enters typed code, or removing unsafe casts. Also use it when the user says "fix the types", "remove the as casts", or "make invalid states impossible". Models each valid state with types, so that invalid combinations fail to compile. Checks outside input with a type guard or a schema instead of an assertion. Not for designing module boundaries (use `design-deep-modules`).

Installation & variants

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

git clone -- 'https://github.com/theonly1me/shadowclone' skill-source

Use the complete skill-source/.agents/skills/typescript-type-safety directory with your client’s skill installer.

  • .agents/skills/typescript-type-safety

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • .claude/skills/typescript-type-safety Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .agents/skills/typescript-type-safety

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

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

Please log in to comment

    No comments yet

Related skills