AterDev/Perigon.CLI / .agents/skills/dotnet
dotnet
VerifiedUse 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 CLI and Blazor.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.6 KB |
SKILL.md
View on GitHub---
name: dotnet
description: "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 CLI and Blazor."
---
# .NET Application Development
## Workflow
1. Identify whether the change belongs in an app surface, service, manager, MCP tool, DTO/model, CodeGenerator, or Share.
2. Read the calling surface from CLI or Blazor before changing shared behavior.
3. Check shared entities and `DefaultDbContext` before changing persistence.
4. 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.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 470k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |