agents-md
Skill10 starsChanged 39 days agoMITView on GitHub
Create and maintain AGENTS.md documentation for simple projects, complex monorepos, deterministic discovery, scoped instruction files, low-token navigation; use when generating AGENTS.md, updating agent docs, standardizing AI-facing project guidance.
37 other projects use a version of this.
Adopted by
Most recently taken up by
- Integralist/agent-skillstheir own version, first seen Nov 14, 2026
- arfar-x/agent-skillstheir own version, first seen Nov 14, 2026
- eugeniughelbur/agents-mdtheir own version, first seen Nov 10, 2026
- caidanw/skillstheir own version, first seen Nov 8, 2026
- d-o-hub/github-template-ai-agentstheir own version, first seen Nov 3, 2026
- Rvey/agent-engineering-kittheir own version, first seen Nov 2, 2026
Used with
Projects with it also use jira, adr and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilljira
Jira issue workflows for search, issue updates, transitions, comments, field discovery, and interactive credential setup via the Jira REST API. Use when you need to configure Jira access, search with JQL, inspect an issue, create or update work items, move an issue between statuses, post comments, or discover required fields for issue creation.
Also in 3 projects that use this
asterkinSkilladr
Create Architecture Decision Records (ADRs) following project standards. Guides template usage, process, and best practices for documenting architecturally significant decisions.
Also in 3 projects that use this
photon-groveSkillunslop
Detects and rewrites generic, overly polished, or AI-sounding prose while preserving meaning. Use when the user asks to "unslop", humanize, de-AI, tighten, or review whether writing sounds generated.
Also in 4 projects that use this
AWSSkillwait-what
Stop. That last message did not land: re-pitch it.
Also in 3 projects that use this
Harut8Skillarchitect
Also in 3 projects that use this
MicrosoftSkillwriting-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
Also in 3 projects that use this
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- agent-substrate/substrate★ 6.2ksame name
- Devolutions/IronRDP★ 3.3ksame name
- getsentry/skills★ 1.2ksame name
- mblode/agent-skills★ 203same name
- cumbucadev/cinemaempoa★ 145same name
- devbrother2024/skills★ 91same name
- Integralist/agent-skills★ 29same name
- arfar-x/agent-skills★ 14same name
- eugeniughelbur/agents-md★ 13same name
- getsentry/webvitals.com★ 12same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/development/biome-complete/AGENTS.mdAGENTS.md
- skills/development/bun-development/AGENTS.mdAGENTS.md
- skills/development/commanderjs/AGENTS.mdAGENTS.md
- skills/documentation/markdown-authoring/AGENTS.mdAGENTS.md
- skills/package-mgmt/mise-complete/AGENTS.mdAGENTS.md
- skills/testing/bdd-testing/AGENTS.mdAGENTS.md
- cache-auditSkill
- context-radar-auditSkill
- create-contextSkill
- guided-interviewSkill
- handover-document-creatorSkill
- load-contextSkill
- pick-modelSkill
- pinSkill
- professional-honestySkill
- rules-managementSkill
- save-contextSkill
- session-reflectionSkill
- socratic-methodSkill
- vault-captureSkill
- vault-consolidateSkill
- vault-fetchSkill
- vault-searchSkill
- bird-fortune-political-satireSkill
- brooker-esque-media-satireSkill
- clarke-dawe-esqueSkill
- comedy-style-skill-generatorSkill
- cunk-esque-mockumentarySkill
- gervais-esque-cringe-satireSkill
- monty-python-esqueSkill
- pryor-esque-confessional-standupSkill
- rock-esque-observational-standupSkill
- biome-completeSkill
- bun-developmentSkill
- commanderjsSkill
- conventional-commitsSkill
- humanizerSkill
- journal-entry-importSkill
- markdown-authoringSkill
- mermaid-diagramsSkill
- plain-englishSkill
- professional-communicationSkill
- sop-structureSkill
- logql-generatorSkill
- mise-completeSkill
- context-indexSkill
- create-context-fileSkill
- follow-upSkill
- goal-trackerSkill
- nasa-pm-lessonsSkill
- plan-createSkill
- plan-executeSkill
- plan-reviewSkill
- risk-registerSkill
- tech-debtSkill
- tech-evaluationSkill
- blast-radiusSkill
- bridgeSkill
- challengeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Keep instructions concise, concrete, and path-specific.
- Distinctive: line 24
Prefer references and indices over duplicated prose.
- Distinctive: line 44
Consider adding subdirectory files iteratively — start minimal, expand as complexity grows.
- Distinctive: line 89
GOOD: run discovery commands and map docs to the detected stack.
- Distinctive: line 97
GOOD: keep root concise and link to scoped files or references.
- Distinctive: line 105
GOOD: keep universal rules at root and package-specific rules locally.
- Distinctive: line 119
BAD: add a subdirectory AGENTS.md to every folder of a single-package repo.
- Distinctive: line 121
GOOD: use one root AGENTS.md when stack and patterns are uniform.
- Distinctive: line 129
GOOD: keep package commands in that package's own AGENTS.md.
- Very specific: line 135
BAD: write <your-project>/src or "run the tests".
- Distinctive: line 137
GOOD: write the real path and the real command found during discovery.
- Distinctive: line 145
GOOD: start minimal and add scoped files iteratively as complexity grows.
- Distinctive: line 151
BAD: keep Jest commands after the project moved to another runner.
“Common” is measured: kept by at least 6 in 10 of the 33 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.
Files
AGENTS.md Management
When to Use
- "Create AGENTS.md for this repo."
- "Update agent documentation for this monorepo."
- "Set up hierarchical AGENTS.md files by package."
- Repository shape or tooling changed and the existing agent guidance needs a refresh.
When Not to Use
- Pure code implementation work with no documentation update.
- One-off prompts where repository guidance files are unnecessary.
- Questions about a single function or file that need no standing project guidance.
Principles
- Keep instructions concise, concrete, and path-specific.
- Prefer references and indices over duplicated prose.
- Optimize for nearest-file relevance in hierarchical layouts.
Workflow
- Discover repository shape and technologies. Output: simple vs hierarchical documentation strategy.
- Select structure (single root file or root + sub-files). Output: file layout plan.
- Generate AGENTS.md content with concrete commands and paths. Output: actionable docs with JIT indexing.
- Validate command correctness and duplication boundaries. Output: clean, copy-paste-safe instruction files.
- Re-check after major repo changes. Output: synchronized documentation.
Structure Decision
- Simple project: one AGENTS.md when stack and patterns are uniform.
- Complex monorepo: root AGENTS.md + scoped subdirectory AGENTS.md files.
- Consider adding subdirectory files iteratively — start minimal, expand as complexity grows.
Minimal Template
# Project Agent Guide
## Commands
- Build: `bun run build`
- Test: `bun run test`
- Lint: `bun run lint`
## Conventions
- [describe key patterns here]
## Key Paths
- Source: `src/`
- Tests: colocated `*.test.ts`Quick Commands
# Discovery baseline
rg --files# Detect core config/tooling
rg -n "workspaces|nx|turbo|pnpm|yarn|packageManager|tsconfig|pytest|playwright" .# Locate existing AGENTS files
find . -name AGENTS.md -o -name AI-DOCS.mdAnti-Patterns
NEVER assume a technology stack without discovery
WHY: incorrect assumptions produce unusable instructions.
BAD: generate React/Jest guidance without evidence.
GOOD: run discovery commands and map docs to the detected stack.
NEVER dump encyclopedic content into root AGENTS.md
WHY: oversized docs increase token cost and reduce usability.
BAD: embed full framework manuals.
GOOD: keep root concise and link to scoped files or references.
NEVER duplicate the same instructions across root and sub-files
WHY: duplication creates drift and maintenance overhead.
BAD: copy/paste identical conventions in every file.
GOOD: keep universal rules at root and package-specific rules locally.
NEVER provide unverified commands
WHY: broken commands erode trust and block contributors.
BAD: include hypothetical commands.
GOOD: include only validated copy-paste commands.
NEVER create a hierarchy for a simple, uniform project
WHY: extra files add navigation cost and drift risk when one file would do.
BAD: add a subdirectory AGENTS.md to every folder of a single-package repo.
GOOD: use one root AGENTS.md when stack and patterns are uniform.
NEVER put package-specific rules in the root file
WHY: agents read the nearest file, so misplaced rules waste tokens and mislead other packages.
BAD: list UI build flags in the root file of a monorepo.
GOOD: keep package commands in that package's own AGENTS.md.
NEVER use generic placeholder commands or paths
WHY: placeholders cannot be copy-pasted and give the reader nothing concrete.
BAD: write <your-project>/src or "run the tests".
GOOD: write the real path and the real command found during discovery.
NEVER front-load every sub-file at once
WHY: speculative files describe complexity that does not exist yet and go stale.
BAD: generate an AGENTS.md for every package on the first pass.
GOOD: start minimal and add scoped files iteratively as complexity grows.
NEVER leave documentation stale after major repository changes
WHY: instructions for removed tooling mislead agents and break their commands.
BAD: keep Jest commands after the project moved to another runner.
GOOD: re-run discovery, remove obsolete content, and document new scripts.
Verification
rumdl check --include "**/AGENTS.md" .bun run lintReferences
| Topic | Reference |
| Repository discovery commands | references/discovery-commands.md |
| What to avoid | references/anti-patterns.md |
| API package template | references/api-template.md |
| Design-system template | references/design-system-template.md |
| Database package template | references/database-template.md |
| Testing package template | references/testing-template.md |
| Troubleshooting | references/troubleshooting.md |
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.

