Skip to main content

typescript-strict

Rust-style strict TypeScript discipline for silkdown — branded types, exhaustive discriminated unions over enums, `assertNever` exhaustiveness checks, `as const` and `satisfies` for literal preservation, parse-don't-validate at boundaries, Result-style explicit errors over throws where it pays off, and type-level tests. Auto-trigger when adding or modifying types in packages/*/src/**/*.ts, when introducing a switch on `node.name` or any other discriminated union, when defining or extending the public API in packages/*/src/index.ts, when validating untrusted input (URL policy, options objects, parse callbacks), when writing `as` casts, or when reviewing PRs for `any`/unchecked `unknown`. Also fires on: "branded type", "newtype", "discriminated union", "exhaustive", "assertNever", "Result type", "neverthrow", "ts-pattern", "ts-reset", "type guard", "satisfies", "as const", "type-level test", "expect-type".

Jump to install

Source facts

Repository
magarcia/silkdown
Last source activity
May 5, 2026 at 23:23
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.