agentleFS
shazhou-wwshazhou-ww/silvermoon/AGENTS.md

silvermoon

AGENTS.md3 starsChanged 45 days agoMITView on GitHub

- This repository develops Silvermoon itself and must not depend on the published silvermoon package in any dependency section. - Run pnpm setup:dev to build this checkout, link it as the device-level global silvermoon runtime, and register its canonical skill by link in a personal discovery path. - Run every Silvermoon command through that global silvermoon executable. It must resolve to this checkout; never use a published copy, another checkout, npx silvermoon, a project dependency, or a direct node bin/...…

  • 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,117 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 repository2 other files it gives its agents.

The file

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

9 rules. About 1 is common, 1 is distinctive, and 7 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  • could be automatic: a setting could enforce it
  1. Very specific:

    Run pnpm setup:dev to build this checkout, link it as the device-level global silvermoon runtime, and register its canonical skill by link …

    line 7
  2. Very specific:

    Run every Silvermoon command through that global silvermoon executable.

    line 10
  3. Very specific:

    Start new ideas with silvermoon create-idea --audience agent.

    line 27
  4. Very specific:

    Before Idea acceptance, replace the Implementation and Deployment scaffold placeholders with lightweight first versions of at most three …

    line 36
  5. Distinctive:

    Before a human gate, synchronize the candidate to primary, reobserve its exact revision and content language, then provide a short review …

    line 40
  6. Very specific:

    Run pnpm check (alias check:release) before delivery of CLI, schema, repository model, release, or skill changes.

    line 59
  7. Very specific:

    Run pnpm check:skills before delivering skill frontmatter or structure changes.

    line 61
  8. Common:

    Do not commit secrets, credentials, tokens, or private customer data.

    line 63
  9. Very specific:

    Use git-lineage update from a clean worktree to merge preset updates.

    line 71

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

Silvermoon repository instructions

Development runtime and skill

  • This repository develops Silvermoon itself and must not depend on the published silvermoon package in any dependency section.
  • Run pnpm setup:dev to build this checkout, link it as the device-level global silvermoon runtime, and register its canonical skill by link in a personal discovery path.
  • Run every Silvermoon command through that global silvermoon executable. It must resolve to this checkout; never use a published copy, another checkout, npx silvermoon, a project dependency, or a direct node bin/... entrypoint.
  • Maintain the one canonical skill in skills/silvermoon. Do not create or synchronize a repository-local skill copy; the personal registration links directly to the canonical directory.

Idea workflow

  • Handle small, well-scoped tasks directly. For substantial, multi-step work that needs durable scope, decisions, or progress tracking, suggest an idea and wait for confirmation before creating it.
  • Load silvermoon and apply docs/repository-tasks.md only when the user invokes /silvermoon, requests a new idea, or asks to navigate or continue an existing one.
  • Start new ideas with silvermoon create-idea --audience agent; otherwise start with silvermoon whats-next [idea] --audience agent. Use --json instead only for programmatic four-projection consumption. Execute only the highest-priority action and preserve invocation options and creation intent across hygiene retries.
  • Preserve unknown and concurrent work. Never force-push, reset, clean, or silently replay a stale decision.
  • Record approval, acceptance, and abandonment only as explicit status facts, validate the exact candidate, and synchronize through ordinary non-force Git.
  • Before Idea acceptance, replace the Implementation and Deployment scaffold placeholders with lightweight first versions of at most three high-level steps and three observable criteria each, mirrored unchecked in ledger.md. These seeds remain outside the acceptIdeal decision scope.
  • Before a human gate, synchronize the candidate to primary, reobserve its exact revision and content language, then provide a short review index in ordinary assistant Markdown with local and commit-pinned remote links to substantive repository artifacts. Keep full object IDs internally but show only 12-character revision and primary references. Use the canonical compact gate format: identity and references, one-sentence focus, links, then one exact candidate question. Complete that index as its own assistant turn; never open an interactive decision in the same turn because its tool surface may hide the links. Use a later interactive decision only for the exact question and choices; do not put local file links in its prompt or repeat gate-policy narration when the user is unavailable.
  • Requery only after an observable change. Yield on human or external waits; stop on actionable errors or lack of progress.

Validation

  • Iterate with pnpm check:sanity plus change-specific tests; use pnpm check:commit before committing. Its tests use the worktree; silvermoon check --staged checks metadata, not staged-code test results.
  • Run pnpm check (alias check:release) before delivery of CLI, schema, repository model, release, or skill changes; it remains full release-grade.
  • Run pnpm check:skills before delivering skill frontmatter or structure changes.
  • Do not commit secrets, credentials, tokens, or private customer data.

Preset lineage

  • This repository derives from https://github.com/shazhou-ww/preset-npm-package.git#main; keep .git-lineage.yaml and the managed parent remote aligned with that immediate parent.
  • Use git-lineage update from a clean worktree to merge preset updates. Preserve Silvermoon-specific runtime, validation, and release behavior when resolving parent conflicts.

npm releases

  • Follow docs/npm-package-releases.md.
  • Publish only through .github/workflows/publish-npm.yml, using an immutable npm/silvermoon/v<version> tag on a commit reachable from origin/main. Manually dispatched canary automation may create that immutable tag only at the exact refreshed origin/main head; it must never move npm latest. Never publish locally or add npm tokens.

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.