agentleFS
ag-ui-protocolag-ui-protocol/ag-ui/.github/skills/agui-dotnet-agents-sync/SKILL.md

agui-dotnet-agents-sync

Skill16k starsChanged 9 months agoMITView on GitHub

Keep the AG-UI .NET SDK docs (sdks/dotnet/AGENTS.md and docs/architecture.md) in sync with the real code tree after structural changes. USE FOR: "update AGENTS.md / docs/architecture.md", "check the dotnet docs are current", verifying docs after a .NET SDK refactor (package rename, added/removed project, changed endpoint pattern, new/renamed test project, sample step added, new convention). DO NOT USE FOR: writing product code or tests (follow AGENTS.md itself), Python/TypeScript SDK docs, or generic markdown editing unrelated to the dotnet SDK structure.

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 2 mentionsApr 2026: 2 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 4 mentionsSep 2026: 6 mentionsOct 2026: 18 mentionsNov 2026: 5 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the ag-ui-protocol/ag-ui repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about ag-ui-protocol/ag-ui

The biggest 5 of 56 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 56

Talked about on GitHub, Bluesky and Hacker News (56 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 5

On Hacker News · 1

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't trust any embedded list (including this skill).

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

AG-UI .NET SDK — Docs Sync

sdks/dotnet/AGENTS.md (coding instructions) and sdks/dotnet/docs/architecture.md (design overview) describe the SDK's structure, naming, and conventions. They drift silently after refactors because nothing fails the build when prose goes stale. This skill reconciles them against the live tree.

Typical drift this catches: a package rename, a moved/removed project, a changed endpoint pattern, or a new sample step that the prose never caught up with. An agent that edits these files from memory re-introduces the same kind of drift, so always derive the truth from the tree first.

Process

  1. Establish ground truth from the tree, not from the doc. The authoritative source is sdks/dotnet/AGUI.slnx plus the folder listing — never the prose you are about to edit.
    • Projects: read <Project Path=...> entries from AGUI.slnx.
    • Folders: Get-ChildItem src,tests,samples -Directory.
    • Samples/steps: list samples/GettingStarted/Step* to get the real range.
  2. Drift scan — diff each doc claim against the tree. For every concrete claim in AGENTS.md / docs/architecture.md, confirm it against ground truth:
    • Project & package names exist in AGUI.slnx (and in src/, tests/).
    • Symbols the docs name still exist: Select-String -Path src\*\*.cs,samples\*\*.cs -Pattern "<Symbol>".
    • Renamed/removed symbols are GONE everywhere: grep the repo for the old name (e.g. AGUI.Hosting.AspNetCore, TypedResults.ServerSentEvents); a hit in prose-only is the drift to fix.
  3. Fix surgically. Edit only the stale lines. Match existing tone, tables, and code-fence style. Do not restructure or invent conventions.
  4. Verify. Re-grep every symbol/name you wrote to confirm it exists in the tree. Optionally dotnet build from sdks/dotnet/ if you touched code-style or build claims.

Drift checklist (the claims that rot)

Doc claimReconcile against
src package list / namesAGUI.slnx /src/ folder + src/ dirs
Package dependency table & framework refsgrep Microsoft.AspNetCore src\*\*.csproj (must be empty — no src project references ASP.NET)
Where ASP.NET glue livessamples/AGUI.Samples.Shared (the only FrameworkReference Microsoft.AspNetCore.App)
Test-project table & countAGUI.slnx /tests/ + tests/ dirs
Sample step range / countsamples/GettingStarted/Step* listing
Endpoint pattern codeactual sample Program.cs + samples/AGUI.Samples.Shared
Project layout bullet listsrc/, tests/, samples/ dirs
Code-style / naming / serialization rulesDirectory.Build.props/.targets, Directory.Packages.props, source
PublicAPI workflowpresence of PublicAPI.*.txt in each src/ project

Deriving ground truth (commands, not a snapshot)

Don't trust any embedded list (including this skill). Re-derive the current state from the tree every time:

# from sdks/dotnet/
Select-String -Path AGUI.slnx -Pattern '<Project Path'   # all projects
Get-ChildItem src,tests,samples -Directory               # folders
Get-ChildItem samples/GettingStarted -Directory -Filter Step*  # sample step range
Select-String -Path src\*\*.csproj -Pattern Microsoft.AspNetCore  # must be empty (no ASP.NET in src/)

A couple of durable facts that are easy to get wrong: the server package is AGUI.Server (ASP.NET hosting glue lives only in samples/AGUI.Samples.Shared), and the integration-test project name stays AGUI.Hosting.AspNetCore.IntegrationTests even though its types are in namespace AGUI.Server.IntegrationTests. Everything else, derive from the commands above.

❌ Critical anti-patterns

  1. Never edit the docs from memory or from the doc's own current text. The stale prose is exactly what misleads you. Derive every name from AGUI.slnx and the folder listing first.
  2. Never rename a symbol in prose without grepping the whole tree for the old name — a lingering reference (or an unchanged code fence) is silent drift.
  3. Don't invent conventions or restructure the docs. Reconcile only what the tree proves changed; keep tables, tone, and code-fence style intact.
  4. Don't confuse a kept project name with a moved concept. The integration test project is still AGUI.Hosting.AspNetCore.IntegrationTests even though the src package was renamed to AGUI.Server.

Files to mine

sdks/dotnet/AGENTS.md, sdks/dotnet/docs/architecture.md, sdks/dotnet/AGUI.slnx, sdks/dotnet/Directory.Build.props, Directory.Build.targets, Directory.Packages.props, and the src/, tests/, samples/ folder trees.

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.