agentleFS
jpeakaijpeakai/skills/tools/AGENTS.md

skills / tools

AGENTS.md0 starsChanged 12 days agoMITView on GitHub

Organise repository automation into focused Tool subprojects such as tools/plugin-ci/ and tools/harness-ci/. Each Tool must be a self-contained, well-structured CLI following the root coding standards and CLI skill. Keep related operations as subcommands of the appropriate Tool rather than adding loose root scripts. Each Tool owns these files and directories: A CLAUDE.md contains only @AGENTS.md; never use a symlink. Keep dependencies and configuration inside the Tool subproject rather than the root development environment. Use src/<package>/app.py for argument wiring, config.py for…

The file

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

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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 related operations as subcommands of the appropriate Tool rather than adding loose root scripts.

    line 5
  2. Distinctive:

    Keep dependencies and configuration inside the Tool subproject rather than the root development environment.

    line 17
  3. Very specific:

    Use src/<package>/app.py for argument wiring, config.py for root discovery and commands/ for behavior.

    line 19
  4. Distinctive:

    Do not derive a target repository from the installed package location.

    line 21
  5. Very specific:

    Every Tool's make ci must check formatting, lint, strict types, cognitive complexity and at least 90 percent coverage.

    line 24
  6. Distinctive:

    Keep cognitive complexity thresholds in the Tool's configuration and prefer Complexipy for Python.

    line 25
  7. Distinctive:

    Test real code and dependencies with temporary files and subprocesses.

    line 26
  8. Distinctive:

    Keep live external installation checks separate from routine local gates.

    line 27
  9. Distinctive:

    Update root callers and documentation together when changing CLI contracts.

    line 28

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

Tool maintenance

Organise repository automation into focused Tool subprojects such as tools/plugin-ci/ and tools/harness-ci/. Each Tool must be a self-contained, well-structured CLI following the root coding standards and CLI skill. Keep related operations as subcommands of the appropriate Tool rather than adding loose root scripts.

Each Tool owns these files and directories:

  • pyproject.toml and uv.lock for dependencies.
  • README.md for usage.
  • AGENTS.md for maintenance rules.
  • A regular CLAUDE.md importing its sibling instructions.
  • A source package and behavioral tests.
  • A Makefile gate.

A CLAUDE.md contains only @AGENTS.md; never use a symlink. Keep dependencies and configuration inside the Tool subproject rather than the root development environment.

Use src/<package>/app.py for argument wiring, config.py for root discovery and commands/ for behavior. Resolve the target repository explicitly, through a documented environment variable or by walking ancestor directories for a repository sentinel. Do not derive a target repository from the installed package location. Ship runtime assets as package data and send human diagnostics to standard error.

Every Tool's make ci must check formatting, lint, strict types, cognitive complexity and at least 90 percent coverage. Keep cognitive complexity thresholds in the Tool's configuration and prefer Complexipy for Python. Test real code and dependencies with temporary files and subprocesses; avoid mocks. Keep live external installation checks separate from routine local gates. Update root callers and documentation together when changing CLI contracts.

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.