搜索

PythonReactSEOPDF
GitHub Skill

error-handling-patterns

Standardized error handling patterns including exception hierarchy, error message formatting, security audit logging, and graceful degradation. Use when raising exceptions, handling errors, or implementing validation.

akaszubski☆ 10 仓库 Stars2 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Error Handling Patterns Skill

Standardized error handling patterns for all libraries to ensure consistent error reporting, security audit logging, and graceful degradation across the autonomous development system.

When This Skill Activates

  • Raising custom exceptions
  • Handling errors and validation failures
  • Implementing security audit logging
  • Designing graceful degradation
  • Formatting error messages
  • Creating exception hierarchies
  • Keywords: "error", "exception", "validation", "raise", "try", "catch", "audit"

Core Concepts

Overview

This skill provides comprehensive guidance on error handling patterns. For detailed patterns and implementation examples, see the documentation files in docs/.

Key Topics:

  • Detailed methodologies and best practices
  • Implementation patterns and examples
  • Common pitfalls and anti-patterns
  • Cross-references to related skills

See: Documentation files in docs/ directory for complete details


Quick Reference

Topic Details
Detailed Guide 1 docs/detailed-guide-1.md
Detailed Guide 2 docs/detailed-guide-2.md
Detailed Guide 3 docs/detailed-guide-3.md
Detailed Guide 4 docs/detailed-guide-4.md

Progressive Disclosure

This skill uses progressive disclosure to prevent context bloat:

  • Index (this file): High-level concepts and quick reference (<500 lines)
  • Detailed docs: docs/*.md files with implementation details (loaded on-demand)

Available Documentation:

  • docs/detailed-guide-1.md - Detailed implementation guide
  • docs/detailed-guide-2.md - Detailed implementation guide
  • docs/detailed-guide-3.md - Detailed implementation guide
  • docs/detailed-guide-4.md - Detailed implementation guide

Cross-References

Related Skills:

  • See PROJECT.md for complete skill dependencies

Related Tools:

  • See documentation files for tool-specific guidance

Key Takeaways

  1. Research existing patterns before implementing
  2. Follow established best practices
  3. Refer to detailed documentation for implementation specifics
  4. Cross-reference related skills for comprehensive understanding

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!