agentleFS
1mcp-app1mcp-app/agent/docs/AGENTS.md

agent

AGENTS.md513 starsChanged 15 months agoApache-2.0View on GitHub

This file tells coding agents how to edit the docs/ site in this repository. Improve the docs without breaking the existing public path structure. Use the current site model: Do not turn one page into multiple content types at once. VitePress renders through Vue. If docs need literal <span v-pre>{{ }}</span> syntax: Before finishing a docs change: Use the matching zh/ pages whenever you change user-facing content.

  • 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,773 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 repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

29 rules. About 0 are common, 23 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈23

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the current site model:

    line 9
  2. Distinctive:

    Do not turn one page into multiple content types at once.

    line 16
  3. Very specific:

    Keep the current docs/en/ and docs/zh/ file layout unless explicitly asked to restructure it.

    line 20
  4. Distinctive:

    Update both locales for any user-facing page you materially change.

    line 22
  5. Distinctive:

    Use absolute internal links.

    line 23
  6. Very specific:

    Run pnpm docs:build after docs edits.

    line 24
  7. Distinctive:

    Keep them short and directional.

    line 38
  8. Distinctive:

    Do not paste a full tutorial into the homepage.

    line 41
  9. Distinctive:

    Keep conceptual depth light and push deep explanation elsewhere.

    line 47
  10. Distinctive:

    Use them for path selection, task guidance, and concept framing.

    line 51
  11. Distinctive:

    Document syntax, option semantics, examples, and related commands.

    line 57
  12. Distinctive:

    Prefer exactness over narrative.

    line 58
  13. Distinctive:

    Keep examples realistic and copy-pasteable.

    line 59
  14. Distinctive:

    Use these for architecture, behavior, interfaces, and constraints.

    line 63
  15. Distinctive:

    If you tighten or reroute a top-level page in English, make the parallel change in Chinese in the same patch.

    line 70
  16. Distinctive:

    Keep headings clear and shallow.

    line 75
  17. Distinctive:

    Prefer direct prose over decorative formatting.

    line 76
  18. Distinctive:

    Add success criteria for setup flows.

    line 78
  19. Distinctive:

    Add “when to use this page” framing when a page could otherwise overlap with another section.

    line 79
  20. Distinctive:

    Use Mermaid when a diagram is the clearest explanation.

    line 87
  21. Very specific:

    Use <span v-pre> for short inline examples.

    line 93
  22. Very specific:

    Use ::: v-pre for code blocks that contain template expressions.

    line 94
  23. Very specific:

    If inline dot-notation such as <span v-pre>{{project.path}}</span> still causes SSR issues, isolate that section with <ClientOnly>.

    line 95
  24. Distinctive:

    Before finishing a docs change:

    line 99
  25. Distinctive:

    Keep the current path unless explicitly asked to migrate it.

    line 102
  26. Distinctive:

    Update both locales for touched public pages.

    line 103
  27. Distinctive:

    Check internal links and cross-links.

    line 104
  28. Distinctive:

    Verify examples still match the current product story.

    line 105
  29. Very specific:

    Use the matching zh/ pages whenever you change user-facing content.

    line 119

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.

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

AGENTS.md

This file tells coding agents how to edit the docs/ site in this repository.

Mission

Improve the docs without breaking the existing public path structure.

Use the current site model:

  • index.md pages are entrypoints.
  • guide/ teaches or helps complete tasks.
  • commands/ documents CLI behavior precisely.
  • reference/ is for exact lookup and architecture.

Do not turn one page into multiple content types at once.

Non-Negotiables

  • Keep the current docs/en/** and docs/zh/** file layout unless explicitly asked to restructure it.
  • Preserve SEO-sensitive URLs.
  • Update both locales for any user-facing page you materially change.
  • Use absolute internal links.
  • Run pnpm docs:build after docs edits.

Docs-Specific Commands

pnpm docs:dev
pnpm docs:build
pnpm docs:preview

Content-Type Rules

Home and landing pages

  • Keep them short and directional.
  • Explain what 1MCP is.
  • Route readers to the correct next page.
  • Do not paste a full tutorial into the homepage.

Quick start

  • Optimize for the fastest successful outcome.
  • Include prerequisites, exact steps, expected output, and next steps.
  • Keep conceptual depth light and push deep explanation elsewhere.

Getting started and other guides

  • Use them for path selection, task guidance, and concept framing.
  • Split “what path should I take?” from “what exact flags does this command support?”
  • Link to command and reference pages rather than duplicating them.

Command docs

  • Document syntax, option semantics, examples, and related commands.
  • Prefer exactness over narrative.
  • Keep examples realistic and copy-pasteable.

Reference docs

  • Use these for architecture, behavior, interfaces, and constraints.
  • Avoid tutorial-style repetition.

Bilingual Editing Rules

  • English and Chinese pages should match in intent and structure.
  • Translation can be idiomatic, but the workflow and conclusions should stay aligned.
  • If you tighten or reroute a top-level page in English, make the parallel change in Chinese in the same patch.

Writing Standards

  • One page, one primary reader question.
  • Keep headings clear and shallow.
  • Prefer direct prose over decorative formatting.
  • Keep commands runnable.
  • Add success criteria for setup flows.
  • Add “when to use this page” framing when a page could otherwise overlap with another section.

VitePress and Markdown Notes

  • Frontmatter is required for public pages.
  • English content is served from root paths; Chinese content is served from /zh/.
  • Locale navigation lives in .vitepress/config/en.ts and .vitepress/config/zh.ts.
  • Assets belong in docs/public/images/.
  • Use Mermaid when a diagram is the clearest explanation.

Literal Template Syntax

VitePress renders through Vue. If docs need literal <span v-pre>{{ }}</span> syntax:

  • Use <span v-pre> for short inline examples.
  • Use ::: v-pre for code blocks that contain template expressions.
  • If inline dot-notation such as <span v-pre>{{project.path}}</span> still causes SSR issues, isolate that section with <ClientOnly>.

Editing Checklist

Before finishing a docs change:

  1. Confirm the page type.
  2. Keep the current path unless explicitly asked to migrate it.
  3. Update both locales for touched public pages.
  4. Check internal links and cross-links.
  5. Verify examples still match the current product story.
  6. Run pnpm docs:build.

Useful Files

  • .vitepress/config/index.ts
  • .vitepress/config/en.ts
  • .vitepress/config/zh.ts
  • docs/README.md
  • docs/en/index.md
  • docs/en/guide/quick-start.md
  • docs/en/guide/getting-started.md
  • docs/en/commands/index.md

Use the matching zh/ pages whenever you change user-facing content.

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.