Dotnet is an AI agent skill from the GitHub repository AterDev/Perigon.CLI. Use for .NET application development involving services, managers, dependency injection, Microsoft.Extensions.Hosting, dependency direction, MiniDb persistence, DTOs, Mapster mapping, shared entities/helpers, MCP tools, module workflows, solution analysis, cancellation, logging, and logic shared by
Claude Code: save it as .claude/skills/dotnet/SKILL.md
Cursor: save it as .cursor/rules/dotnet.md
Codex: save it as .agents/skills/dotnet/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
.NET Application Development
Workflow
Identify whether the change belongs in an app surface, service, manager, MCP tool, DTO/model, CodeGenerator, or Share.
Read the calling surface from CLI or Blazor before changing shared behavior.
Check shared entities and DefaultDbContext before changing persistence.
Preserve dependency direction: app projects depend on CoreMod; CoreMod depends on CodeGenerator and Share; Share stays foundational.
Conventions
Put cross-step workflows and external I/O in services.
Put MiniDb query/update behavior in managers.
Keep app-facing service methods stable when both CLI and Blazor consume them.
Use existing DTO patterns and Mapster helpers (MapTo, Merge, Adapt) where nearby code does.
Pass CancellationToken through file, HTTP, and long-running async operations.
Make HTTP services testable with injectable clients or handlers.
Log exceptions with structured logging before wrapping them in localized, user-friendly errors.
Keep MCP tools as protocol surfaces: stable parameter names, returned shapes, and no console output.
Tests
Add tests under tests/StudioMod.Tests/Services, Managers, or Commands depending on the observable behavior.
Stub HTTP and isolate filesystem/MiniDb state.
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.