agentleFS
ruokeeruokee/ruokee-agent-kit/AGENTS.md

ruokee-agent-kit

AGENTS.md4 starsChanged 12 days agoMITView on GitHub

Ruokee Agent Kit provides Agent Skills and extensions. Boundary rules Documentation rules

  • 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 35,266 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 repository4 other files it gives its agents.

The file

Show its rules and text

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

13 rules. About 1 is common, 10 are distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep only components authored by the maintainer in this repository.

    line 23
  2. Distinctive:

    Keep every distributable component self-contained.

    line 24
  3. Common:

    Do not track local directories, sensitive information, credentials, private hostnames, internal service URLs, or the device's model, …

    line 25
  4. Very specific:

    Commit a component's X.Y.Z version update together with the functional change it ships.

    line 26
  5. Distinctive:

    Keep documentation in sync with the code it describes.

    line 34
  6. Distinctive:

    Use the repository dictionary for shared terms, and read the terminology rules when adding or changing one.

    line 38
  7. Distinctive:

    Create a short-lived branch from current main for each change, or use a verified dependency candidate for authorized continued development …

    line 45
  8. Distinctive:

    Write commit messages in English and follow Conventional Commits.

    line 46
  9. Distinctive:

    Use git commit --amend only to edit a commit message.

    line 48
  10. Distinctive:

    Before requesting code review, commit task changes and leave the related working tree clean.

    line 50
  11. Distinctive:

    Search the relevant current ADR decisions and their changes, confirmed task requirements, and rule pages for the area before planning …

    line 58
  12. Very specific:

    Run pnpm check:changed from the repository root during development and before requesting review.

    line 66
  13. Distinctive:

    Keep component-specific checks beside their component.

    line 68

≈ “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

Project Agent guidelines

Ruokee Agent Kit provides Agent Skills and extensions.

Project structure

  • ./projects/: Extensions, executables, and host packages, with source, documentation, and checks organized for their host or build system.
  • ./skills/: Ordinary English Skills, each with SKILL.md and any supporting references and workflows.
  • ./variants/: Language variants of components, with the same purpose and separate distributable directories.
  • ./docs/: Repository-wide user and development documentation, such as installation, maintenance, and terminology reference.
  • ./scripts/: Repository-wide installation, maintenance, and check scripts; component-specific scripts stay with their component.
  • ./.agents/: Internal maintenance Skills, decisions, and rules for repository development.
    • adr/: Current durable decisions and the historical decisions they replaced, with their reasons and contracts.
    • rule/: Working rules organized by activity, governing actions, order, and permissions.
    • skills/: English project-internal maintenance Skills, not public installation sources.

Rules

Boundary

Boundary rules

  • Keep only components authored by the maintainer in this repository. Do not add third-party capabilities, forks, or upstream mirrors.
  • Keep every distributable component self-contained. Its files may reference only files inside it. Naming another component, tool, or Skill, or declaring one as a prerequisite, is not a file reference. Declare a prerequisite explicitly.
  • Do not track local directories, sensitive information, credentials, private hostnames, internal service URLs, or the device's model, provider, or channel configuration.
  • Commit a component's X.Y.Z version update together with the functional change it ships. Increment Z by default; the maintainer decides changes to X or Y.
  • Version the combined changes delivered by a branch's final squash merge, not individual commits or revisions. An unpublished first addition keeps its initial version, 0.1.0 by default.

Document

Documentation rules

  • Provide English and Chinese project documentation as same-directory name.md and name.zh.md pairs. Keep translations and reciprocal links aligned.
  • Keep documentation in sync with the code it describes. Update affected documents in the same change.
  • Write a file name and each heading as a short imperative sentence, a short phrase, or a noun unless an additional requirement calls for another form. Keep one subject, and add a second one or list its parts only when an additional requirement calls for it.
  • ADRs record durable choices under ./.agents/adr. Before creating, repairing, updating, reversing, archiving, or reviewing one, or when project work affects a durable choice, load maintain-adr and read the project supplements. Loading this Skill grants no write or lifecycle permission and does not transfer task Goal ownership.
  • Rules define repository working rules and live in ./.agents/rule. Read the rule layer's rules when editing rules.
  • Use the repository dictionary for shared terms, and read the terminology rules when adding or changing one.

Git

Git rules

  • Use trunk-based development.
  • Create a short-lived branch from current main for each change, or use a verified dependency candidate for authorized continued development under the Git rules. Never edit or commit directly on main.
  • Write commit messages in English and follow Conventional Commits. Use types from the standard set.
  • Let git commit run the quality hooks. If a hook modifies task files, review and restage them before retrying the commit.
  • Use git commit --amend only to edit a commit message. Never use amend to add, remove, or replace committed file changes.
  • Squash-merge task branches into main. Do not use a plain merge, fast-forward merge, rebase-and-fast-forward, or direct ref movement.
  • Before requesting code review, commit task changes and leave the related working tree clean. Ensure tests and quality checks pass.

Development

Development rules

Planning

  • Search the relevant current ADR decisions and their changes, confirmed task requirements, and rule pages for the area before planning changes to a component's or repository area's goals, boundaries, or acceptance criteria.
  • Limit changes to the requested capability or fix. Do not prebuild for hypothetical requirements.
  • Reuse the authority expressed by the complete request for necessary in-scope judgments and requested actions. Preserve explicit human checkpoints and protected permissions.

Validation

  • Install Git hooks with pnpm hooks:install. This configures pre-commit formatting and commit-msg validation.
  • Prepare root tools and only the selected component environments as described in README.md.
  • Run pnpm check:changed from the repository root during development and before requesting review. It selects checks for changed components. Use targeted pnpm check:* commands only when needed.
  • Let missing prerequisites fail the check. Do not skip tests or rewrite hooks to hide the problem.
  • Keep component-specific checks beside their component.
  • Automated success does not establish real runtime behavior or interactive UI correctness. As far as possible, consult applicable ADRs and rules when validating or evaluating work.

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.