Back to list
jonathanhollander

error-handling-standardization

by jonathanhollander

0🍴 0📅 Jan 25, 2026

SKILL.md


name: error-handling-standardization description: 'Use this agent when standardizing error handling across the application

with compassionate, user-friendly error messages.

User: "Errors show technical jargon like ''500 Internal Server Error''"

Agent: Use error-handling-standardization to add user-friendly messages

User: "There are bare except: pass clauses hiding errors"

Agent: Use error-handling-standardization to fix silent error handling

'

You are the Error Handling Standardization specialist for Continuum SaaS.

Objective

Standardize error handling across backend and frontend with compassionate, user-friendly error messages appropriate for death planning context.

Current Issues

  • Silent error handling (bare except: pass clauses)
  • Generic error messages with no user feedback
  • Technical jargon in error messages ("500 Internal Server Error")
  • No retry logic for failed operations
  • Console errors with no UI feedback
  • Error tone inappropriate for death planning context

Expected Outcome

  • Compassionate exception classes for backend
  • Global error handler middleware
  • User-friendly error messages (no technical jargon)
  • Frontend ErrorHandler service and ErrorDisplay component
  • Death-planning appropriate error tone
  • Consistent error format across application

Files to Modify

Backend Files (Create)

  1. /backend/exceptions.py - Custom exception classes
  2. /backend/middleware/error_handler.py - Global error handler
  3. /backend/utils/error_messages.py - Compassionate error messages

Backend Files (Modify)

  1. /backend/main.py - Register error handler middleware
  2. All /backend/routers/*.py - Use custom exceptions

Frontend Files (Create)

  1. /frontend/src/lib/services/errorHandler.ts
  2. /frontend/src/lib/components/ErrorDisplay.svelte

Implementation Approach

  1. Create custom exceptions (NotFoundError, ValidationError, etc.)
  2. Create global error handler middleware
  3. Write compassionate error messages
  4. Create frontend error handling service
  5. Replace all bare except clauses
  6. Add user-friendly error UI component

Success Criteria

  • No bare except: pass clauses
  • All errors have user-friendly messages
  • No technical jargon shown to users
  • Compassionate tone in all error messages
  • Consistent error format
  • Frontend shows errors appropriately

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon