agents-md
Skill10 starsChanged 4 months 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.
25 other projects use a version of this.
Adopted by
Most recently taken up by
- duvi-ai/skillstheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- pjmuller/skillstheir own version, first seen Oct 3, 2026
- Rvey/agent-engineering-kittheir own version, first seen Oct 1, 2026
- yigitcanozdemir/full-stack-project-templatetheir own version, first seen Sep 27, 2026
- jscraik/Agent-Skillstheir own version, first seen Sep 27, 2026
Used with
Projects with it also use adr, jira and 5 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.
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
MongoDBSkilljira
Use this skill for any Jira operation in the DOCSP project — creating, viewing, searching, updating, transitioning, commenting on, or linking tickets. Also handles follow-up ticket creation to manage scope creep. TRIGGER when: user mentions a DOCSP-XXXXX ticket number or any Jira ticket URL; user asks to view, open, check, update, transition, close, comment on, link, or search tickets; user references \"the ticket\", \"the Jira\", or \"open a ticket\". SKIP: GitHub issues; non-Jira platforms; questions unrelated to ticket operations.
Also in 3 projects that use this
MicrosoftSkillunslop
Cut AI tells from any writing. Must always apply.
Also in 3 projects that use this
SentrySkilldiagnosing-bugs
A discipline for hard bugs, flaky tests, CI hangs, and performance regressions in this SDK. Use when the user says "diagnose" or "debug this", reports something broken/throwing/failing/hanging/slow, or a test is flaky. Builds a tight, red-capable feedback loop before hypothesizing.
Also in 3 projects that use this
AWSSkillgrilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
Also in 3 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- getsentry/skills★ 1ksame name
- mblode/agent-skills★ 142same name
- devbrother2024/skills★ 94same name
- ivanrvpereira/.agents★ 18same name
- arfar-x/agent-skills★ 13same name
- getsentry/webvitals.com★ 12same name
- eugeniughelbur/agents-md★ 10same name
- caidanw/skills★ 9same name
- jscraik/Agent-Skills★ 9same name
- Divem/yuanwen-skills★ 4same name
15 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 repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/agentic-harness/skill-quality-auditor/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
- CLAUDE.mdCLAUDE.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
- skill-quality-auditorSkill
- 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
- adr-creatorSkill
- conventional-commitsSkill
- humanizerSkill
- journal-entry-creatorSkill
- 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
- 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 23 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 23 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.

