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".

Ir para a instalação

Informações da origem

Repositório
magarcia/silkdown
Última atividade na origem
5 de maio de 2026 às 23:23
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.