symbol-collector
AGENTS.md38 starsChanged 11 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use var for all variable declarations
- Distinctive: line 14
Always use braces for control flow statements
- Distinctive: line 17
Use expression-bodied members for simple properties/accessors
- Very specific: line 18
Prefer pattern matching, null propagation (?.), and null coalescing (??)
- Distinctive: line 23
Use nullable annotations; avoid suppressing nullability warnings
- Distinctive: line 24
Prefer throwing specific exceptions over generic ones
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md 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.
Files
Agent Guidelines
Build & Test Commands
- Build:
dotnet build - Test all:
dotnet test - Single test:
dotnet test --filter "FullyQualifiedName~TestClassName.TestMethodName" - Test project:
dotnet test test/SymbolCollector.Core.Tests/ - Run server:
dotnet run --project src/SymbolCollector.Server/
Code Style (C#)
- Use
varfor all variable declarations - Private fields:
_camelCaseprefix with underscore - Constants/static fields:
PascalCase - Always use braces for control flow statements
- Sort usings with
System.*first (implicit usings enabled) - Nullable reference types enabled; treat warnings as errors
- Use expression-bodied members for simple properties/accessors
- Prefer pattern matching, null propagation (
?.), and null coalescing (??) - Allman brace style (opening brace on new line)
- 4-space indentation for C#, 2-space for JSON/csproj
Error Handling
- Use nullable annotations; avoid suppressing nullability warnings
- Prefer throwing specific exceptions over generic ones
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
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.

