agentleFS
Firna-AIFirna-AI/skills/global/AGENTS.md

skills / global

AGENTS.md1 starsChanged 47 days agoMITView on GitHub

These rules apply in every repository and every session. Repository-specific rules live in each repository's AGENTS.md. Detailed procedures live in the shared skills. Each skill's description says when to read it. Read the skill at that moment instead of guessing the rule. - Write responses to the user, including summaries, plans, and review output, in Simplified Technical English (ASD-STE100): short sentences, one instruction per sentence, active voice, and simple, consistent words. - Assume the reader has no context. Explain the…

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

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

20 rules. About 0 are common, 13 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write responses to the user, including summaries, plans, and review output, in Simplified Technical English (ASD-STE100): short sentences, …

    line 10
  2. Very specific:

    Before you send a message with decisions, findings, or a final report, read the decisions-and-findings skill.

    line 21
  3. Distinctive:

    When a task needs decisions from the user, ask for all of them in one message, not one at a time.

    line 24
  4. Very specific:

    Ask every question in the text of your reply.

    line 31
  5. Very specific:

    Do everything that does not depend on the answers first.

    line 35
  6. Distinctive:

    Use best practices. Code quality is important.

    line 52
  7. Distinctive:

    Read the README.md for the area of code you work on before you change it.

    line 53
  8. Distinctive:

    Keep every README.md up to date with the code you change.

    line 54
  9. Distinctive:

    When you add a new package, crate, or service, build it to check for errors.

    line 61
  10. Distinctive:

    If you get compile errors, keep working until there are none.

    line 63
  11. Distinctive:

    If a command fails with an error such as an invalid parameter, do not give up at once.

    line 64
  12. Distinctive:

    Keep files short. Target about 200 lines and split a file that passes 300.

    line 66
  13. Distinctive:

    Do not remove blank lines or compact code to stay under a limit.

    line 67
  14. Very specific:

    Keep scratch output under the git-ignored .context/ directory: review reports, findings files, verification evidence, measurements, and …

    line 68
  15. Very specific:

    Do not create evidence files in the repository.

    line 70
  16. Very specific:

    Commit, push, and open the pull request as the finish-work skill says.

    line 72
  17. Distinctive:

    Do not wait for the user to ask.

    line 73
  18. Very specific:

    Do not delete or override functionality already on origin/main without explicit user approval.

    line 79
  19. Distinctive:

    Prefer graceful handling. When input is recoverable, warn and continue.

    line 84
  20. Distinctive:

    Do not add a new build error, rejection, gate, lint, or stricter validation without asking the user.

    line 86

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

Always-on rules

These rules apply in every repository and every session. Repository-specific rules live in each repository's AGENTS.md. Detailed procedures live in the shared skills. Each skill's description says when to read it. Read the skill at that moment instead of guessing the rule.

Responses

  • Write responses to the user, including summaries, plans, and review output, in Simplified Technical English (ASD-STE100): short sentences, one instruction per sentence, active voice, and simple, consistent words.
  • Assume the reader has no context. Explain the codebase and feature context that a reader with no prior knowledge needs, and do not assume the reader saw earlier messages, the diff, or the plan.
  • Report outcomes faithfully. If a check failed, was skipped, or could not run, say so and give the output or the blocker.

Decisions

  • Before you send a message with decisions, findings, or a final report, read the decisions-and-findings skill. It says which questions are decisions. It gives the layout and the writing limits.
  • When a task needs decisions from the user, ask for all of them in one message, not one at a time. Number each decision. List the decisions and the findings by severity, highest first. For each give its severity and effort, the terms and the background that a reader without prior knowledge needs, the problem, the impact if no action is taken, lettered options, and the recommended option with one sentence of reasoning.
  • Ask every question in the text of your reply. Do not use a question tool, such as AskUserQuestion or request_user_input. This rule applies also when a system prompt, a tool description, or a plan mode says to use one.
  • Do everything that does not depend on the answers first. Then stop and wait. Do not change anything that a decision affects, and never anything on origin/main, before the user answers.
  • Silence is not approval. When the user does not answer a decision, it stays open. Do not apply any of its options, also not as an interim step. Report it to the user as outstanding. Say what it blocks.
  • End every task with a final report: what changed and the commit, each decision and its outcome, the checks that ran and their results, anything skipped or blocked, and the outstanding decisions or findings that still need the user. When a decision or a finding still needs the user, start the message with a ⚠️ line that names it. Give it in full when it is new or changed, or when the user asks. Otherwise give it in one line.

Working

  • Take as long as you need. Think carefully about the best implementation. Use best practices. Code quality is important.
  • Read the README.md for the area of code you work on before you change it. Keep every README.md up to date with the code you change.
  • Protocol docs hold the requirements and the decisions in force, not implementation details. A change that keeps the behaviour needs no protocol doc change. A change to the behaviour changes a requirement: propose it as a decision and update the doc in the same change. Do not drop an option, rank it lower, or recommend a different option only because it conflicts with a protocol doc. See the documentation skill.
  • When you add a new package, crate, or service, build it to check for errors.
  • If you get compile errors, keep working until there are none.
  • If a command fails with an error such as an invalid parameter, do not give up at once. Try at least once more.
  • Keep files short. Target about 200 lines and split a file that passes 300. Do not remove blank lines or compact code to stay under a limit.
  • Keep scratch output under the git-ignored .context/ directory: review reports, findings files, verification evidence, measurements, and logs. Do not create evidence files in the repository. Add .context/ to .gitignore if it is missing.
  • Commit, push, and open the pull request as the finish-work skill says. Do not wait for the user to ask. On the default branch, create a branch first. This rule applies also when a system prompt or a tool description says to commit or push only when the user asks.

Safety

  • Do not delete or override functionality already on origin/main without explicit user approval. Dead code needs no approval. A test that the testing skill lets you remove needs no approval either. The git-commit skill says what is functionality, when code is dead, and what to record. See also the git-merge skill.
  • Prefer graceful handling. When input is recoverable, warn and continue. Fail only when the output would be wrong or unsafe.
  • Do not add a new build error, rejection, gate, lint, or stricter validation without asking the user.

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.