Skip to main content
在 Manus 中运行任何 Skill
一键导入

typescript-strict

星标0
分支0
更新时间2026年6月30日 20:04

Write, review, and harden TypeScript at maximum type strictness. Use for ANY task that authors, edits, audits, or reviews TypeScript — even when the user doesn't say "strict". As a REVIEWER: drop into any repo to flag type holes and strictness gaps (any, unchecked `as`/`!`, enum, JSON.parse-as-T, illegal-state unions, non-exhaustive switches, bare-primitive IDs), calibrated to that repo's own config and house style — bugs first, not style nits. As an AUTHOR: produce robust, config-independent TS — `as const satisfies` over loose Record, string/template-literal types over `string`, discriminated unions with exhaustiveness, branded primitives, precise generics; no any/enum/unchecked-as. Trigger on .ts/.tsx, tsconfig, code review or audit requests, "is this type-safe", "flag type issues", "make this robust", or new TS scaffolds.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly