Harness-engineering ts-type-guards
name: ts-type-guards
install
source · Clone the upstream repo
git clone https://github.com/Intense-Visions/harness-engineering
manifest:
agents/skills/claude-code/ts-type-guards/skill.yamlsource content
name: ts-type-guards version: "1.0.0" description: Narrow union types safely using type guards, assertion functions, and control flow stability: static cognitive_mode: advisory-guide type: knowledge tier: 3 triggers:
- manual platforms:
- claude-code
- gemini-cli
- cursor
- codex tools: [] paths:
- "**/*.ts"
- "**/*.tsx"
- "tsconfig.json"
- "tsconfig.*.json" related_skills:
- ts-discriminated-unions
- ts-branded-types
- ts-generics-pattern stack_signals:
- typescript keywords:
- type-guards
- narrowing
- is-predicate
- typeof
- instanceof
- assertion-functions metadata: author: community upstream: typescriptlang.org/docs/handbook/2/narrowing.html state: persistent: false files: [] depends_on: []