context-sync
AGENTS.md190 starsChanged 14 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 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
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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
- Distinctive: line 22
Prefer explicit, descriptive function names.
- Very specific: line 25
No automated test suite is defined.
- Distinctive: line 26
If you add tests, keep them close to the feature area and document how to run them.
- Very specific: line 29
Commit messages follow Conventional Commits (examples: feat:, fix:, perf:, refactor:, chore(release):).
- Very specific: line 34
Update docs/RELEASE_NOTES.md when shipping user-facing changes.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
Repository Guidelines
Project Structure & Module Organization
src/: TypeScript source for the MCP server and integrations.bin/: CLI setup and install scripts (Node CJS).docs/: User documentation (CONFIG.md,TOOLS.md,DATA.md,TROUBLESHOOTING.md).assets/: Static assets used in docs.dist/: Build output generated bytsc(do not edit by hand).
Build, Test, and Development Commands
npm run build: Compile TypeScript todist/.npm run dev: Run the server from source viatsx.npm run watch: Run with file watching (tsx watch).npm start: Run the built server fromdist/.npm run setup: Launch interactive setup (bin/setup.cjs).npm test: Smoke test that prints readiness (no test runner).
Coding Style & Naming Conventions
- Language: TypeScript (ES2022 modules), strict mode enabled in
tsconfig.json. - Indentation: 2 spaces (match existing formatting).
- File naming: kebab-case in
src/(e.g.,git-context-engine.ts). - Prefer explicit, descriptive function names; keep modules focused.
Testing Guidelines
- No automated test suite is defined.
npm testis a placeholder. - If you add tests, keep them close to the feature area and document how to run them.
Commit & Pull Request Guidelines
- Commit messages follow Conventional Commits (examples:
feat:,fix:,perf:,refactor:,chore(release):). - PRs should include: a short description, rationale, and any user-facing changes. Link related issues when applicable. Add screenshots only for docs/UI changes.
Configuration & Release Notes
- User config and platform integration details live in
docs/CONFIG.md. - Update
docs/RELEASE_NOTES.mdwhen shipping user-facing changes. prepublishOnlyrunsnpm run build && npm test, so keep those scripts passing before publish.
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.

