Agent SkillsUsefulSoftwareCo/executor › wrdn-typescript-type-safety

wrdn-typescript-type-safety

GitHub

修复TypeScript类型边界,移除@ts-nocheck等全局类型绕过手段。通过收窄表达式、添加Schema守卫或改进局部类型来解决错误,避免为局部不匹配静默整个文件。

.agents/skills/wrdn-typescript-type-safety/SKILL.md UsefulSoftwareCo/executor

Trigger Scenarios

代码中存在 @ts-nocheck 指令 存在其他宽泛的 TypeScript 类型绕过机制 Lint 工具报告类型检查被禁用

Install

npx skills add UsefulSoftwareCo/executor --skill wrdn-typescript-type-safety -g -y
More Options

Non-standard path

npx skills add https://github.com/UsefulSoftwareCo/executor/tree/main/.agents/skills/wrdn-typescript-type-safety -g -y

Use without installing

npx skills use UsefulSoftwareCo/executor@wrdn-typescript-type-safety

指定 Agent (Claude Code)

npx skills add UsefulSoftwareCo/executor --skill wrdn-typescript-type-safety -a claude-code -g -y

安装 repo 全部 skill

npx skills add UsefulSoftwareCo/executor --all -g -y

预览 repo 内 skill

npx skills add UsefulSoftwareCo/executor --list

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

Same Skill Collection

.agents/skills/stack/SKILL.md
.agents/skills/wrdn-effect-atom-optimistic/SKILL.md
.agents/skills/wrdn-effect-atom-reactivity-keys/SKILL.md
.agents/skills/wrdn-effect-promise-exit/SKILL.md
.agents/skills/wrdn-effect-raw-fetch-boundary/SKILL.md
.agents/skills/wrdn-effect-schema-boundaries/SKILL.md
.agents/skills/wrdn-effect-schema-inferred-types/SKILL.md
.agents/skills/wrdn-effect-typed-errors/SKILL.md
.agents/skills/wrdn-effect-value-inferred-types/SKILL.md
.agents/skills/wrdn-effect-vitest-tests/SKILL.md
.agents/skills/wrdn-package-boundaries/SKILL.md
.claude/skills/emulate/SKILL.md
.claude/skills/prod-telemetry/SKILL.md
.claude/skills/self-contained-modals/SKILL.md
.skills/cli-release/SKILL.md
.skills/effect-atom-optimistic-updates/SKILL.md
.skills/effect-http-testing/SKILL.md
.skills/effect-use-pattern/SKILL.md
.skills/graphite/SKILL.md
.skills/warden-security-review/SKILL.md

Metadata

Files
0
Version
8bc037d
Hash
4f55dfca
Indexed
2026-07-05 10:55

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-17 10:05
浙ICP备14020137号-1 $Carte des visiteurs$