agentleFS
ankhorageankhorage/devtools/AGENTS.md

devtools

AGENTS.md2 starsChanged 58 days agoMITView on GitHub

Package: @ankhorage/devtools Shared tooling, repository automation, and agent standards for Ankhorage TypeScript projects Only the current Ankhorage architecture is valid. Do not add or retain deprecated APIs, compatibility aliases, shims, dual old/new paths, historical-state fallbacks, or migrations whose sole purpose is supporting obsolete states. Remove superseded implementations instead. When a canonical change affects another repository, update that repository to the latest released public API instead of preserving compatibility locally. Cross-package usage must go through published public APIs and declared dependencies,…

  • 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,736 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

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

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    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:

    Only the current Ankhorage architecture is valid.

    line 13
  2. Distinctive:

    When a canonical change affects another repository, update that repository to the latest released public API instead of preserving …

    line 17
  3. Very specific:

    Every repository managed by @ankhorage/devtools is standalone.

    line 26
  4. Distinctive:

    If an existing repository violates this contract, treat that as architecture debt to remove, not as an exception to preserve.

    line 37
  5. Very specific:

    Before changing any file, read this AGENTS.md completely and inspect .agents/skills/.

    line 42
  6. Distinctive:

    Treat skill selection as a mandatory precondition to editing, then follow every selected skill through validation and delivery.

    line 43
  7. Very specific:

    Do not load unrelated skills merely because they are installed.

    line 55
  8. Distinctive:

    Before creating a pull request, run all of these commands in this order and resolve every failure:

    line 70
  9. Distinctive:

    No Changeset means no release is requested.

    line 82

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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 is managed by @ankhorage/devtools. -->

Repository

Package: @ankhorage/devtools

Shared tooling, repository automation, and agent standards for Ankhorage TypeScript projects

Current architecture only

Only the current Ankhorage architecture is valid. Do not add or retain deprecated APIs, compatibility aliases, shims, dual old/new paths, historical-state fallbacks, or migrations whose sole purpose is supporting obsolete states. Remove superseded implementations instead.

When a canonical change affects another repository, update that repository to the latest released public API instead of preserving compatibility locally. Cross-package usage must go through published public APIs and declared dependencies, never sibling source files.

Current-runtime error handling and canonical database or infrastructure migrations remain valid when they support states that the current architecture can intentionally produce.

Standalone contract

Every repository managed by @ankhorage/devtools is standalone. It must be independently installable, buildable, testable, and usable from its own checkout using only declared dependencies and explicit configuration. It must not require sibling repositories, sibling source imports, workspace:, file:, or link: dependencies to unpublished packages, hidden organization-local state, or assumptions about a specific consuming application, infrastructure, hosting provider, web server, container runtime, or deployment topology.

Published packages are additionally consumer-agnostic and reusable outside Ankhorage. Environment- or provider-specific behavior belongs behind explicit configuration and adapters, never in the package core.

If an existing repository violates this contract, treat that as architecture debt to remove, not as an exception to preserve.

Required repository instructions

Before changing any file, read this AGENTS.md completely and inspect .agents/skills/. Treat skill selection as a mandatory precondition to editing, then follow every selected skill through validation and delivery.

  • Load .agents/skills/ankhorage-coding-rules/SKILL.md for implementation, refactoring, testing, review, or pull-request delivery work.
  • Load .agents/skills/ankhorage-project-structure/SKILL.md when the task changes or reviews directory ownership, package boundaries, public entrypoints, cross-repository ownership, type or utility placement, or source architecture.
  • Load every additional repository-local skill whose description or requirements match the task, including skills required by any selected skill. These rules define mandatory minimums, not an allow-list; do not skip a useful relevant skill merely because it is not named here.

Do not load unrelated skills merely because they are installed. If the task scope expands, inspect .agents/skills/ again and load the newly relevant skills before continuing. Do not substitute remembered, globally installed, or generic guidance for the repository-local versions.

Documentation

README.md and the configured Paradox output are generated release artifacts. Never edit them manually, and do not regenerate or commit them in ordinary feature pull requests. Update the owning Paradox /*** ... */ comments in src and leading @usage comments in real examples/<example>/... source files, plus any repository-owned manual documentation outside the generated output. The managed release workflow runs bun run docs after the package version bump and commits the regenerated artifacts in the release commit.

Pull requests

Before creating a pull request, run all of these commands in this order and resolve every failure:

bun run build
bun run check-types
bun run lint
bun run knip:check
bun run changeset
bun run format

For repositories that use Changesets, run bun run changeset only for release-impacting work. No Changeset means no release is requested. Never add an empty Changeset to satisfy CI; remove it for a no-release pull request, or add explicit release intent before validation.

Skill scripts

Scripts inside an Agent Skill must always be TypeScript files with the .ts extension. JavaScript skill scripts using .js, .mjs, or .cjs are not allowed. Run TypeScript skill scripts with Bun.

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.