一键导入
error-taxonomy
Categorizes errors and defines consistent handling strategies. Ensures proper error boundaries, user-facing messages, and logging.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Categorizes errors and defines consistent handling strategies. Ensures proper error boundaries, user-facing messages, and logging.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enforces modularity, reusability (DRY), and high-level architectural patterns. Focuses on SOLID principles, Design Patterns, and Scalability.
Universal architectural auditor for any tech stack. Enforces Separation of Concerns, Clean Architecture, and best practices by identifying the project structure and detecting layer violations.
Defines rules for skill activation, including input requirements, output contracts, conflict lists, and performance costs. Enforces Lean Execution mode by default.
Implementation of Enterprise patterns: CQRS, Event Sourcing, Domain-Driven Design (DDD).
Generates robust, production-grade 3rd party API integrations with Retry, Rate Limiting, and DTOs.
Workflow for deeply researching and architecting a new module/feature. STRICTLY NO CODE EXAMPLES. Use this for high-level technical design and research before implementation.
| name | error-taxonomy |
| description | Categorizes errors and defines consistent handling strategies. Ensures proper error boundaries, user-facing messages, and logging. |
"Every error deserves a proper funeral."
| Category | Examples | Strategy |
|---|---|---|
| Validation | Invalid input, missing field | Return 422 + field-level errors |
| Authentication | Invalid token, expired session | Return 401 + redirect to login |
| Authorization | Forbidden resource | Return 403 + log attempt |
| Not Found | Missing record | Return 404 + user-friendly message |
| Business Logic | Insufficient balance, duplicate | Return 409/422 + business message |
| Infrastructure | DB down, service timeout | Return 503 + retry header + alert |
| Unknown | Uncaught exception | Return 500 + log full stack + alert |