global-error-handling

Implement consistent error handling using custom exceptions, exception codes, and NestJS exception filters. Use this skill when creating custom exception classes (*.exception.ts), defining exception codes in the @imkdw-dev/exception package, implementing exception filters, or handling errors in use cases and controllers. This includes extending CustomException base class, using HttpStatus from NestJS, defining feature-specific exception codes (EXCEPTION_CODES), and providing user-friendly error messages. Apply when working with files in features/{feature}/exception/, common/exception/, packages/shared/exception/, or when throwing/catching exceptions anywhere in the codebase.

$ Installer

git clone https://github.com/imkdw/imkdw-dev /tmp/imkdw-dev && cp -r /tmp/imkdw-dev/.claude/skills/global-error-handling ~/.claude/skills/imkdw-dev

// tip: Run this command in your terminal to install the skill