
Typescript Clean Code
bmad-labs/skills/skills/typescript-clean-code作者 bmad-labsf2e09b317c6f无许可证16 个星标收录于 2026年10月8日更新于 2026年10月8日仓库3周前更新
Clean Code for TypeScript — code smell catalogs (Martin's per-line heuristics, Fowler's change-shape smells, TypeScript-native type smells), a linter-first detection policy, and step-by-step review, refactoring, TDD, and estimation workflows. Use when the user: - Writes, reviews, or refactors TypeScript/JavaScript code, or asks whether code is clean, maintainable, or well-designed - Names a smell — Shotgun Surgery, Feature Envy, Data Clumps, Long Method, Divergent Change, Duplicated Code, Large Class, Long Parameter List, Primitive Obsession, Message Chains, Dead Code, Speculative Generality, god class, copy-paste, stringly typed, premature abstraction - Asks about TypeScript type hygiene — `any` leakage, `as` assertions, non-null `!`, discriminated unions, exhaustiveness, strict flags, branded types - Asks what to enforce with lint or tsconfig versus what needs judgment, or names knip, jscpd, dependency-cruiser, typescript-eslint, type-coverage - Runs TDD, fixes a bug with test coverage, or plans test strat
- f2e09b317c6f当前提交 f2e09b3发布于 2026年10月8日
来源与署名
来源:bmad-labs/skills位于skills/typescript-clean-code提交f2e09b3
许可证: 无许可证
内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。
更多Software Development技能

Playground
anthropics
构建自包含的交互式 HTML 演练场,包含控件、实时预览和可复制的提示词输出。

M5 Onboard
anthropics
通过 USB 检测 M5Stack ESP32 开发板,刷写 UIFlow 2.0 固件并安装 MicroPython 应用包。

Cardputer Buddy
anthropics
指导迭代 Cardputer-Adv 的 MicroPython 应用包:添加应用、通过 USB 串口推送文件、查看日志并运行 REPL 命令。

Web Design Guidelines
vercel-labs
依据从远程来源获取的 Web Interface Guidelines 审查 UI 代码,并以 file:line 形式报告问题。

Vercel React Native Skills
vercel-labs
React Native 与 Expo 最佳实践规则,涵盖列表性能、动画、导航、UI 模式、状态与 monorepo 配置。

Vercel React Best Practices
vercel-labs
Vercel 的 React 与 Next.js 性能指南,以 70 条规则的形式用于编写、审查和重构代码。