agentleFS
AterDevAterDev/Perigon.CLI/.agents/skills/dotnet/SKILL.md

dotnet

Skill54 starsChanged 2 months agoApache-2.0View on GitHub

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.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the calling surface from CLI or Blazor before changing shared behavior.

    line 11
  2. Very specific:

    Check shared entities and DefaultDbContext before changing persistence.

    line 12
  3. Distinctive:

    Put cross-step workflows and external I/O in services.

    line 17
  4. Distinctive:

    Put MiniDb query/update behavior in managers.

    line 18
  5. Distinctive:

    Keep app-facing service methods stable when both CLI and Blazor consume them.

    line 19
  6. Very specific:

    Use existing DTO patterns and Mapster helpers (MapTo, Merge, Adapt) where nearby code does.

    line 20
  7. Distinctive:

    Keep MCP tools as protocol surfaces: stable parameter names, returned shapes, and no console output.

    line 24
  8. Very specific:

    Add tests under tests/StudioMod.Tests/Services, Managers, or Commands depending on the observable behavior.

    line 28

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

.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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.