backend-dotnet
Deliver C# and .NET backends with explicit API, validation, auth, async, and operational patterns centered on ASP.NET Core.
от HanTechnology★ 38 звёзд на GitHub
Установить backend-dotnet в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Backend .NET
Use this pack for .NET backend work: ASP.NET Core APIs, service layers, auth flows, background processing, data access, and server-side delivery patterns that live in the C# ecosystem.
Defer first-pass route choice and lane selection to ../../reference/routing-matrix.md.
This is the general .NET backend pack for the repo. Use the overlay in reference/aspnet-core.md to tune decisions for controllers, minimal APIs, middleware pipelines, and hosted-service behavior while preserving the same quality bar for contracts, validation, documentation, and runtime clarity.
Setup posture
- Prefer modernizing, refining, or extending an existing project in place.
- Treat scaffold,
create,init, ornewflows as greenfield-only and explicit-request-only. Defer to.opencode/reference/project-setup-policy.md.
Core focus
- Design API contracts that are stable across controllers, minimal APIs, filters, and client integrations.
- Keep validation, model binding, and error responses explicit so failures are predictable.
- Choose authentication and authorization flows deliberately: cookies, JWTs, OAuth2, policy-based auth, claims, or service credentials.
- Treat async I/O, hosted services, queue consumers, and cancellation as part of the service design.
- Keep OpenAPI, health signals, and failure semantics visible at the backend edge.
Shared .NET backend standards
- Keep endpoints thin and move orchestration plus business rules into services that are not coupled to transport or EF internals.
- Decide deliberately between controllers and minimal APIs based on surface area, reuse, and clarity.
- Use request models, validation rules, and
ProblemDetails-style errors so contracts stay consistent under change. - Keep dependency-injection lifetimes explicit and make background work, retries, and scheduled execution easy to trace.
- Honor
CancellationToken, timeouts, and graceful shutdown expectations on I/O-heavy paths. - Document shared APIs with OpenAPI and keep auth policies, claims, and role checks close to the endpoint surface.
Default workflow
- Inspect the current endpoint style, DI setup, and hosting model.
- Choose the ASP.NET Core overlay in
reference/aspnet-core.md. - Define contracts, validation, auth flow, background behavior, and cancellation boundaries before widening the implementation.
- Implement endpoints, services, and docs together so runtime behavior stays legible.
- Run
review-workafter substantial backend changes.
Collaboration in this repo
- Use
Explorebefore editing so the new work matches local endpoint, middleware, and service patterns. - Use
LibrarianorContext7when framework APIs, auth configuration, or hosting behavior need a source-of-truth check. - Pair with
architecture-integrationwhen the hard part is really service boundaries, contracts, or client coordination.
Overlays
reference/aspnet-core.mdfor controllers, minimal APIs, middleware pipelines, endpoint filters, EF-adjacent services, and hosted background work.
Guardrails
- Do not leak EF entities, request objects, or framework-specific state through the whole service layer.
- Do not ignore cancellation, retry, and graceful shutdown semantics on long-running paths.
- Do not let DI lifetime mistakes turn background or request behavior into production-only bugs.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/aspnet-core.md
FAQ
Что делает скилл backend-dotnet?
Deliver C# and .NET backends with explicit API, validation, auth, async, and operational patterns centered on ASP.NET Core.
Как установить скилл backend-dotnet?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл backend-dotnet запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…