一键导入
error-handling
Result-type-based error handling without try-catch. Type-safe error flow using wrap/Ok/Err/AppError.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Result-type-based error handling without try-catch. Type-safe error flow using wrap/Ok/Err/AppError.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Next.js 15 Pages Router frontend development. Feature-based + Container/Presenter pattern, MUI v7 + Emotion CSS-in-JS.
Build API client tests with Vitest and MockHandler. Validate OpenAPI contract compliance with table-driven tests and minimal mocks.
Next.js 15 + Cloudflare Workers + @vspo-lab/api client. Result-type error handling, OpenAPI-generated client, feature-based architecture.
PR/code review based on architecture rules. Detects violations of UseCase implementation rules, Result type, and JSDoc conventions.
Create a conventional commit. No Co-Authored-By trailer.
Design tokens (OKLch), color palette, typography, UI patterns, accessibility (WCAG 2.2).
| name | Error Handling |
| description | Result-type-based error handling without try-catch. Type-safe error flow using wrap/Ok/Err/AppError. |
docs/web-frontend/error-handling.md - How to use the Result type, domain error code system (E1xxx-E4xxx)