Evaluates code for robust error handling and mentors developers on implementing senior-level resilience patterns.
The Error Handling Gate is part of the mentor-spec framework designed to transform Claude from a simple code generator into a senior engineering mentor. This skill guides developers through a rigorous evaluation process of their error states, focusing on failure scenario mapping, user-facing feedback, and production visibility. By employing Socratic questioning and structured checklists, it ensures that code handles async operations safely, avoids silent failures, and provides actionable guidance to end-users rather than exposing technical jargon.
主な機能
01Automated detection of empty catch blocks and stuck loading states
02Logging and production debuggability verification
030 GitHub stars
04Socratic review process to build developer intuition
05User experience audit for error message clarity and actionability
06Structured 'Pass/Warning' reporting for code reviews
ユースケース
01Auditing critical async workflows for potential silent failures
02Standardizing error reporting and logging across a team project
03Mentoring junior developers during PR reviews to improve code quality