agentleFS
sunxiayisunxiayi/agents-md-starter-kit/skills/create-agentsmd/SKILL.md

create-agentsmd

Skill0 starsChanged 3 months agoMITView on GitHub

Create, revise, or audit repository AGENTS.md files using codebase evidence, verified commands, and correctly scoped monorepo instructions.

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use skill-creator.

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.
  • MicrosoftSkill

    skill-creator

    Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.

    Also in 3 projects that use this

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. github/awesome-copilot★ 40ksame name
    2. xeroc/skills★ 1same name
    3. zz-zhi54/skills★ 1same name
    4. DarkRader/agents★ 0same name
    5. ukeSJTU/agents★ 0same name

    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 repository3 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 11

    Distinctive

    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
  1. Distinctive:

    Treat the user's request as the editing scope.

    line 14
  2. Very specific:

    Read existing AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, and relevant .github/instructions/*.instructions.md files …

    line 16
  3. Distinctive:

    If an AGENTS.md exists, improve it in place.

    line 19
  4. Distinctive:

    Do not silently resolve conflicting instructions.

    line 21
  5. Very specific:

    Read the project overview and contribution guidance (README*, CONTRIBUTING*, and relevant documentation).

    line 29
  6. Distinctive:

    Read package and workspace manifests, lockfiles, task runners, and build configuration to identify the supported package manager and exact …

    line 31
  7. Distinctive:

    Read CI workflows to learn the checks maintainers require.

    line 33
  8. Distinctive:

    Check for generated files, migrations, vendored code, large fixtures, secrets boundaries, and deployment-only operations that an agent …

    line 37
  9. Very specific:

    Prefer rg and rg --files for discovery when available.

    line 41
  10. Distinctive:

    Use a root AGENTS.md for repository-wide instructions.

    line 47
  11. Distinctive:

    Keep shared rules at the root and put only differences in nested files.

    line 51
  12. Distinctive:

    Use headings that fit the repository instead of forcing a fixed template.

    line 58
  13. Distinctive:

    Write direct, testable statements.

    line 73
  14. Distinctive:

    If nested files were added, confirm each contains only rules needed for its subtree and does not accidentally conflict with the root.

    line 114

“Common” is measured: kept by at least 6 in 10 of the 5 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create or improve AGENTS.md

Produce an AGENTS.md that helps a coding agent make correct changes without rediscovering the repository workflow. Base every repository-specific claim on files or safe checks in the current checkout.

Preserve intent

  • Treat the user's request as the editing scope. Do not add unrelated policy or reorganize the repository.
  • Read existing AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, and relevant .github/instructions/*.instructions.md files before writing.
  • If an AGENTS.md exists, improve it in place. Preserve accurate maintainer-authored rules and make a focused diff.
  • Do not silently resolve conflicting instructions. Preserve the higher-priority rule or ask when repository evidence cannot establish the intended behavior.

Build an evidence map

Inspect only the files needed to establish how the repository works:

  1. Read the project overview and contribution guidance (README*, CONTRIBUTING*, and relevant documentation).
  2. Read package and workspace manifests, lockfiles, task runners, and build configuration to identify the supported package manager and exact commands.
  3. Read CI workflows to learn the checks maintainers require. Do not assume every CI job is appropriate to run locally.
  4. Inspect representative source and test files for naming, layout, and testing conventions. Avoid exhaustive scans when a few files establish the pattern.
  5. Check for generated files, migrations, vendored code, large fixtures, secrets boundaries, and deployment-only operations that an agent should not modify or run casually.

Prefer rg and rg --files for discovery when available. Keep track of the source for each command, path, or non-obvious rule so unsupported claims do not enter the final file.

Choose the right scope

Use a root AGENTS.md for repository-wide instructions. Add or revise a nested AGENTS.md only when a subproject has materially different commands, architecture, safety boundaries, or conventions.

Keep shared rules at the root and put only differences in nested files. When multiple files apply, the nearest AGENTS.md in the directory tree takes precedence for implementations that follow the public AGENTS.md convention. Do not duplicate the complete root file in every package.

Write high-signal instructions

Use headings that fit the repository instead of forcing a fixed template. When the evidence exists, cover:

  • Repository map: the few directories and boundaries an agent must know.
  • Setup and commands: exact install, development, build, lint, type-check, and test commands, including working directory and targeted-test forms.
  • Change rules: generated-file ownership, migrations, API or schema contracts, dependency policy, and cross-package coordination.
  • Validation: the smallest relevant check for a focused change and broader checks required before handoff.
  • Safety: secrets, production data, destructive commands, deployment, and operations that require explicit authorization.
  • Contribution conventions: repository-specific naming, formatting, pull-request, or commit rules that affect implementation or handoff.

Write direct, testable statements. Prefer:

- Run `npm test -- path/to/file.test.ts` for a focused test from the repository root.

over:

- Make sure the tests pass and follow best practices.

State where each command runs when that is not obvious. Distinguish required checks from optional or expensive checks. Link to maintained documentation instead of copying it into AGENTS.md.

Exclude low-value or unsafe content

Do not include:

  • placeholder commands, guessed paths, or claims inferred only from a tool's popularity;
  • long project descriptions already maintained in the README;
  • style advice already enforced by a formatter or linter unless an agent needs a non-obvious invocation or exception;
  • secrets, credentials, internal URLs, personal data, or environment values;
  • instructions to deploy, publish, delete data, rewrite history, or run other consequential operations without the authorization they require;
  • blanket mandates such as "fix every failing test" when failures may be pre-existing or unrelated.

Validate the result

Before finishing:

  1. Re-read every changed AGENTS.md completely and remove duplication, contradictions, placeholders, and stale claims.
  2. Confirm every mentioned file and directory exists.
  3. Cross-check commands against manifests or CI. Run safe, proportionate checks when useful; do not run deployments or destructive commands merely to validate documentation.
  4. If nested files were added, confirm each contains only rules needed for its subtree and does not accidentally conflict with the root.
  5. Review the diff as a maintainer would: each added line should change an agent's decision or prevent a realistic mistake.

Report the files changed, repository evidence used, checks performed, and any unresolved uncertainty. Never claim a command was tested when it was only read from configuration.

Optional independent check

For a browser-local second opinion, paste the finished file into the free Repo Agent Kit checker. This is optional and must not replace repository evidence or local validation.

Primary format guidance: agents.md. GitHub Copilot support and precedence details: GitHub Docs.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.