levnikolaevich avatar

Ln 772 Error Handler Setup

This is a 7XX series worker that sets up centralized error handling middleware for .NET and Python backends. It generates exception handling middleware, custom exception classes, and ProblemDetails-formatted error responses that follow RFC 7807. The standout detail is the environment-aware approach: stack traces and inner exceptions show in development but get stripped in production. It's designed to run once during project bootstrap, checks for existing error handlers to avoid duplication, and uses MCP tools to pull current framework patterns instead of relying on hardcoded templates. If you're starting a new API and don't want to write the same validation and exception mapping boilerplate again, this handles the setup.

skills.sh installs
382
GitHub stars
591
last updated
Aug 21, 2026

Install

$ npx -y skills add levnikolaevich/claude-code-skills --skill ln-772-error-handler-setup --agent claude-code

Installs into .claude/skills of the current project.

Files

This is a 7XX series worker that sets up centralized error handling middleware for .NET and Python backends. It generates exception handling middleware, custom exception classes, and ProblemDetails-formatted error responses that follow RFC 7807. The standout detail is the environment-aware approach: stack traces and inner exceptions show in development but get stripped in production. It's designed to run once during project bootstrap, checks for existing error handlers to avoid duplication, and uses MCP tools to pull current framework patterns instead of relying on hardcoded templates. If you're starting a new API and don't want to write the same validation and exception mapping boilerplate again, this handles the setup.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/levnikolaevich/claude-code-skills
Categories
Backend & APIs, Debugging, Python, .NET & C#
First seen
Jun 3, 2026

More from levnikolaevich/claude-code-skills

All 128
1tomlord1122 avatargolang-architecttomlord1122/tomtom-skillSoftware Architect specializing in Go projects. Use when designing any Go application — backend services, CLI tools, libraries, infrastructure tooling, or distr382skills.sh installs
2umbraco avatarumbraco-msw-testingumbraco/umbraco-cms-backoffice-skillsMSW (Mock Service Worker) patterns for testing Umbraco backoffice extensions with mocked APIs379skills.sh installs
3levnikolaevich avatarln-771-logging-configuratorlevnikolaevich/claude-code-skillsConfigures structured JSON logging with Serilog (.NET) or structlog (Python). Use when adding logging to backend projects.376skills.sh installs
4kernel avatarkernel-python-sdkkernel/skillsBuild and debug Python browser automation with the Kernel SDK, including browser lifecycle, server-side Playwright, CDP, profiles, proxies, and reliable cleanup373skills.sh installs
50xindiebruh avataropenclaw-mission-control0xindiebruh/openclaw-mission-control-skillCoordinate AI agent teams via a Kanban task board with local JSON storage. Enables multi-agent workflows with a Team Lead assigning work and Worker Agents execu371skills.sh installs
6syncfusion avatarsyncfusion-blazor-speech-to-textsyncfusion/blazor-ui-components-skillsImplement speech-to-text voice input in Blazor applications using Syncfusion SpeechToText component. ALWAYS use this when users need voice input, speech recogni367skills.sh installs