Back to list
adigunners

global-error-handling

by adigunners

2🍴 0📅 Jan 24, 2026

SKILL.md


name: Global Error Handling description: Implement robust error handling in client-side JavaScript code to gracefully manage failures in static site operations. Use this skill when working with error scenarios in API calls, DOM manipulation, data parsing, and user interactions.

Global Error Handling

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global error handling in the adigunners.github.io static website project.

When to use this skill

  • Handling errors when fetching JSON data files from the data/ directory in JavaScript modules
  • Implementing try-catch blocks around DOM manipulation code to prevent silent failures when HTML elements are missing
  • Adding error handlers to event listeners for user interactions (clicks, form submissions) in the static site
  • Managing errors that occur during JSON parsing when loading data into the page
  • Creating user-friendly error messages when resources fail to load or data is unavailable
  • Logging errors to browser console in development while providing graceful fallbacks to users
  • Implementing fallback rendering when CSS fails to load or JavaScript modules encounter runtime errors

Instructions

For details, refer to the information provided in this file: global error handling

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