skills / github-repo
AGENTS.md100 starsChanged 7 months agoMITView on GitHub
Detailed recipes for Phase 2 (Generate or Improve Files). Read this file when you need to implement a specific fix flagged by the audit. The parent SKILL.md has the workflow and audit checklist. When writing or rewriting a README: When generating these files, tailor them to the specific project — avoid generic boilerplate that ignores the project's language, tooling, and conventions. Should cover: Should include: Use the Contributor Covenant 2.1 unless the user has a different preference. Generate YAML-based issue…
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 31,774 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.
In this repository17 other files it gives its agents.
- astro-seo/AGENTS.mdAGENTS.md
- github-profile/AGENTS.mdAGENTS.md
- static-seo/AGENTS.mdAGENTS.md
- wp-readme-optimizer/AGENTS.mdAGENTS.md
- wp-static-clone/AGENTS.mdAGENTS.md
- astro-github-actionsSkill
- astro-seoSkill
- content-seoSkill
- emdash-github-actionsSkill
- github-profileSkill
- github-repoSkill
- metadata-checkSkill
- readability-checkSkill
- static-seoSkill
- wp-github-actionsSkill
- wp-readme-optimizerSkill
- wp-static-cloneSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
When writing or rewriting a README:
- Distinctive: line 9
Start with the project name and a one-liner that clearly states what it does
- Distinctive: line 11
Add a quick start section that gets someone running in 3 steps or fewer
- Distinctive: line 13
If the project has a visual component, strongly recommend adding a screenshot or GIF
- Very specific: line 14
Keep it under 500 lines; point to /docs for detailed documentation
- Very specific: line 15
Use collapsible <details> sections for optional/advanced content
- Distinctive: line 19
When generating these files, tailor them to the specific project — avoid generic boilerplate that ignores the project's language, tooling, …
- Distinctive: line 42
Use the Contributor Covenant 2.1 unless the user has a different preference.
- Distinctive: line 104
If the user mentions they're setting up an organization (not just a single repo), guide them through:
- Very specific: line 119
Create profile/README.md in the .github repo — this is the organization's public profile page.
- Distinctive: line 121
Should explain what the organization does
- Very specific: line 128
Create a .github-private repository with profile/README.md — visible only to org members.
- Distinctive: line 136
Consider repository rulesets — the newer, more flexible alternative to branch protection.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
GitHub Repository Optimizer — Implementation recipes
Detailed recipes for Phase 2 (Generate or Improve Files). Read this file when you need to implement a specific fix flagged by the audit. The parent SKILL.md has the workflow and audit checklist.
README generation
When writing or rewriting a README:
- Start with the project name and a one-liner that clearly states what it does
- Include a badge row — at minimum: build status, license, version. Use shields.io format
- Add a quick start section that gets someone running in 3 steps or fewer
- Code examples should be complete, copy-pasteable, and use appropriate syntax highlighting
- If the project has a visual component, strongly recommend adding a screenshot or GIF
- Keep it under 500 lines; point to
/docsfor detailed documentation - Use collapsible
<details>sections for optional/advanced content
Community health files
When generating these files, tailor them to the specific project — avoid generic boilerplate that ignores the project's language, tooling, and conventions.
CONTRIBUTING.md
Should cover:
- How to set up the development environment
- Code style and linting rules (reference actual tools the project uses)
- How to run tests
- PR process and expectations
- Issue labeling conventions if applicable
SECURITY.md
Should include:
- Supported versions (which versions receive security fixes)
- How to report a vulnerability (private email or GitHub Private Vulnerability Reporting)
- Expected response timeline
- Explicit instruction to NOT use the public issue tracker for security issues
CODE_OF_CONDUCT.md
Use the Contributor Covenant 2.1 unless the user has a different preference.
Issue templates
Generate YAML-based issue forms, not markdown templates. Example structure for a bug report:
name: Bug Report
description: Report a bug to help us improve
title: "[Bug]: "
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: Thanks for reporting a bug! Please fill out the sections below.
- type: textarea
id: description
attributes:
label: Bug Description
description: A clear description of what the bug is
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior
placeholder: |
1. Go to '...'
2. Click on '...'
3. See error
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What you expected to happen
validations:
required: true
- type: dropdown
id: severity
attributes:
label: Severity
options:
- Low (cosmetic, minor inconvenience)
- Medium (feature partially broken)
- High (feature completely broken)
- Critical (data loss, security issue)
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: Version, OS, browser, etc.Adapt the fields to the specific project type (e.g., a CLI tool wouldn't ask for browser info).
Organization-level setup
If the user mentions they're setting up an organization (not just a single repo), guide them through:
1. Create a .github repository
Public, with default community health files that apply org-wide:
CODE_OF_CONDUCT.mdCONTRIBUTING.md(generic enough for all repos)SECURITY.mdSUPPORT.mdFUNDING.yml- Issue and PR templates (note: if an individual repo has ANY files in
.github/ISSUE_TEMPLATE/, none of the org defaults apply for that repo)
2. Organization profile README
Create profile/README.md in the .github repo — this is the organization's public profile page. Different from personal profiles:
- Should explain what the organization does
- Link to key repositories
- Include contact/social links
- Can use the same enhancement tools as personal profiles (badges, stats)
3. Private member profile (optional)
Create a .github-private repository with profile/README.md — visible only to org members. Use this for internal resources, onboarding links, and private repo navigation.
4. Verify the organization's domain
Settings -> Verified & approved domains. This displays a verified badge that significantly boosts credibility.
5. Repository rulesets
Consider repository rulesets — the newer, more flexible alternative to branch protection. They support multiple concurrent rulesets, Evaluate mode for testing, and can be imported/exported as JSON. Start in Evaluate mode, track violations, then enforce.
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.

