dotnet-backend — Claude Code skill for ASP.NET Core APIs
Guides Claude Code through building and changing ASP.NET Core services with EF Core, authentication, and background work. Useful for .NET backend tasks.
npx claude-code-templates@latest --skill development/dotnet-backendWhat dotnet-backend does
This skill guides Claude Code on ASP.NET Core API work, from Minimal APIs and controllers to input validation and error handling. It covers EF Core data access, migration setup and query patterns, plus authentication and authorization.
Background task examples use IHostedService, BackgroundService, and schedulers such as Hangfire or Quartz.NET. The material also includes patterns for JWT, SignalR, and tests. Its examples rely on specific libraries and storage options, so check that the technologies you want match the ones in your project.
What it helps with
- build an ASP.NET Core API with controllers or Minimal APIs
- add JWT authentication and authorization policies
- design EF Core queries and migrations
- run a background service or scheduled job
- test a .NET API
Example prompts for the agent
- Build a user API with ASP.NET Core Minimal APIs and EF Core.
- Add JWT authentication and role-based authorization to my .NET API.
- Create an EF Core background worker that processes pending emails.
How to install dotnet-backend
1claude-code-templates
npx claude-code-templates@latest --skill development/dotnet-backend2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill dotnet-backend -a claude-code3Manually: put the files in place
~/.claude/skills/dotnet-backend/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dotnet-backend/
Manually: put the files in place
.agents/skills/dotnet-backend/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/dotnet-backend/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates dotnet-backend2Manually: put the files in place
.github/skills/dotnet-backend/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/dotnet-backendManually: put the files in place
.devin/skills/dotnet-backend/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about dotnet-backend
How do I install dotnet-backend in Claude Code?
Run npx claude-code-templates@latest --skill development/dotnet-backend. A separate installation option is npx skills add davila7/claude-code-templates --skill dotnet-backend -a claude-code.
What does dotnet-backend do?
It guides Claude Code through building and refactoring ASP.NET Core APIs, using EF Core, setting up authentication, and adding background services.
Which technologies does the skill cover?
Examples cover ASP.NET Core 8+, EF Core 8+, JWT, SignalR, and background tasks with IHostedService or Hangfire.