一键导入
clean-typescript
Write clean, efficient TypeScript code that follows common best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write clean, efficient TypeScript code that follows common best practices
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Describes efficient usage of Bun and Bun APIs instead of Node.js (and its APIs)
Write clean, modern, and highly accessible HTML & JSX code, using semantically correct elements and attributes
Build modern Next.js apps with App Router and best practices
Build clean, modern React components that apply common best practices and avoid common pitfalls like unnecessary state management or useEffect usage
Utilize built-in browser APIs (like Popover API, View Transitions etc) instead of building features manually via JavaScript
Build clean, scalable UIs with Tailwind CSS using modern utilities and variants
| name | clean-typescript |
| description | Write clean, efficient TypeScript code that follows common best practices |
We use TypeScript as a correctness and clarity tool, not as ceremony. Types should reduce bugs and cognitive load.
any and unsafe type assertionsunknown instead of any when necessarytype aliases for most use casesinterface primarily for public, extendable object shapesnull and undefined explicitly!) except as a last resortenumas const objects