Skip to content

Rework the skills so agents load less #131

Todo

Description

@stphnwlsh

The December work (#126) fixed what was wrong in the skills today. This is the rework that follows: the same standards, with less text loaded to follow them. Today "add an endpoint" pulls about 11 skills before an agent opens any code, and several carry pasted copies of the same example.

Phase 1: Let the build say what it can

  • An ignored result fails the build (_ =), and so does DateTime.Now or DateTime.UtcNow in src
  • Count what breaks in the existing code first, and fix it in the same change
  • AGENTS.md lists #region as style, not as a rule that fails a change, and the paragraphs the build now enforces go

Phase 2: Point at real files

  • Skills name the folder or file to copy instead of pasting its code
  • A snippet stays only where no single file shows the point, and stays under ten lines
  • writing-a-skill says so
  • packages-and-dependencies no longer ships a rule about the five templates

Phase 3: Fewer, tighter skills

  • The five testing skills become two
  • serilog and telemetry become one, with the settings tables in a reference file beside it
  • Docs site skill counts and the AGENTS.md table follow

Phase 4: Finding the skills

  • Try a generated solution in Codex and GitHub Copilot first, so the changes below rest on what each tool really loads
  • Claude Code only reads .claude/skills, so it finds ours through the AGENTS.md table alone. Choose a fix that survives packing and Windows
  • Then each description becomes one "use this when" line of 150 characters or less, and the AGENTS.md table shrinks to the starting points

Checks: dotnet build, dotnet test and dotnet format --verify-no-changes pass in every template, a solution made with dotnet new builds and tests, and Shared Layers Drift finds no differences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions