Agent Skills
› UsefulSoftwareCo/executor
› wrdn-typescript-type-safety
wrdn-typescript-type-safety
GitHub消除TypeScript类型绕过,修复@ts-nocheck等宽泛类型 bypass。通过缩小范围、添加守卫或改进局部类型来修正类型边界,确保类型安全而非禁用检查。
Trigger Scenarios
代码中存在 @ts-nocheck
存在其他宽泛的类型绕过指令
Install
npx skills add UsefulSoftwareCo/executor --skill wrdn-typescript-type-safety -g -y
SKILL.md
Frontmatter
{
"name": "wrdn-typescript-type-safety",
"description": "Remove TypeScript escape hatches. Use when lint flags @ts-nocheck or similar broad type bypasses.",
"allowed-tools": "Read Grep Glob Bash"
}
Fix the type boundary instead of disabling TypeScript.
Fix Shape
- Remove
@ts-nocheck. - Narrow the failing expression, add a schema/guard at an unknown boundary, or improve the local type.
- If a cast is unavoidable, keep it narrow and document the invariant at the cast site.
- Do not silence an entire file for a localized mismatch.
Version History
- fd4fb02 Current 2026-07-05 10:55


