error-handling-patterns – skill Lập trình cho agent AI
Xây dựng ứng dụng bền vững với chiến lược xử lý lỗi mạnh mẽ, xử lý êm các lỗi và mang lại trải nghiệm gỡ lỗi tốt.
Cài skill error-handling-patterns bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /error-handling-patterns – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $error-handling-patterns – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /error-handling-patterns – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/error-handling-patterns-aaf58.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /error-handling-patterns – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Error Handling Patterns
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.
Use this skill when
- Implementing error handling in new features
- Designing error-resilient APIs
- Debugging production issues
- Improving application reliability
- Creating better error messages for users and developers
- Implementing retry and circuit breaker patterns
- Handling async/concurrent errors
- Building fault-tolerant distributed systems
Do not use this skill when
- The task is unrelated to error handling patterns
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- uv-package-manager – Làm chủ trình quản lý gói uv để quản lý dependency Python nhanh, môi trường ảo và quy…
- test-driven-development – TDD: thực thi chu trình RED-GREEN-REFACTOR, viết test trước khi viết code.
- report – Tạo báo cáo kiểm thử. Dùng khi người dùng nói 'test report', 'results summary', 'test…
- examprep-ai – Trợ lý ôn thi chuyển đề cương, đề thi cũ hoặc ghi chú thành Lộ trình Điểm Cao được xếp…
- executing-plans – Dùng khi bạn có kế hoạch triển khai bằng văn bản cần thực hiện trong một phiên riêng với…
- expo-api-routes – Hướng dẫn tạo API routes trong Expo Router với EAS Hosting
- expo-brownfield – Tích hợp Expo và React Native vào ứng dụng iOS hoặc Android native có sẵn. Dùng khi…
- expo-module – Hướng dẫn tạo và viết module và view native của Expo bằng Expo Modules API (Swift…