一键导入
handling-errors
Manages TypeScript/JavaScript error handling best practices. Use to ensure proper error propagation, typed errors, and async error handling.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manages TypeScript/JavaScript error handling best practices. Use to ensure proper error propagation, typed errors, and async error handling.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manages TypeScript async/await and Promise patterns. Use to prevent common async mistakes, optimize concurrency, and handle promise rejections correctly.
Enforces TypeScript type system best practices. Use to detect unsafe type usage, verify strict mode, and prevent runtime type errors.
Guides the application of Gang of Four (GoF) design patterns in TypeScript. Focuses on identifying "code smells" and refactoring to patterns that improve extensibility and maintainability.
Enforces Clean Architecture principles in TypeScript. Use to ensure layer isolation, dependency inversion, and business logic purity in Node.js applications.
| name | handling-errors |
| description | Manages TypeScript/JavaScript error handling best practices. Use to ensure proper error propagation, typed errors, and async error handling. |
| metadata | {"sources":["You Don't Know JS - Async & Performance (Kyle Simpson)","Node.js Best Practices (goldbergyoni)","Effective TypeScript (Dan Vanderkam)"]} |
Proper error handling prevents silent failures, improves debugging, and ensures reliability.
Detailed guidance, examples, and detection criteria for these rules are available in the Detailed Rule Catalog.
Proper error handling ensures:
Following these rules prevents production incidents and enables effective debugging.