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

silvermoon

AGENTS.md1 starsChanged 59 days agoMITView on GitHub

- This repository develops Silvermoon itself and must not depend on the published silvermoon package in any dependency section. - Run every Silvermoon command from this checkout with node bin/silvermoon.js <command> (or pnpm silvermoon <command>). Treat silvermoon examples below and in the shared skill as this local entrypoint, never a global, npx, or node_modules installation. - Maintain the canonical skill in skills/silvermoon and refresh its registered copy with pnpm sync:skills; do not install the published package to obtain this repository's…

The file

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

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

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    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 every Silvermoon command from this checkout with node bin/silvermoon.js <command> (or pnpm silvermoon <command>).

    line 7
  2. Very specific:

    Treat silvermoon examples below and in the shared skill as this local entrypoint, never a global, npx, or node_modules installation.

    line 9
  3. Very specific:

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

    line 24
  4. Distinctive:

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

    line 33
  5. Very specific:

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

    line 46
  6. Very specific:

    Run pnpm check:skills:local while editing skills and pnpm check:skills before delivering skill frontmatter or structure changes.

    line 48
  7. Common:

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

    line 50
  8. Distinctive:

    Never publish locally or add npm tokens.

    line 57

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

Silvermoon repository instructions

Source runtime

  • This repository develops Silvermoon itself and must not depend on the published silvermoon package in any dependency section.
  • Run every Silvermoon command from this checkout with node bin/silvermoon.js <command> (or pnpm silvermoon <command>). Treat silvermoon examples below and in the shared skill as this local entrypoint, never a global, npx, or node_modules installation.
  • Maintain the canonical skill in skills/silvermoon and refresh its registered copy with pnpm sync:skills; do not install the published package to obtain this repository's skill.

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 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 durable repository artifacts. Use an interactive decision tool only for the exact question and choices; do not put local file links in its prompt.
  • 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:local while editing skills and pnpm check:skills before delivering skill frontmatter or structure changes.
  • Do not commit secrets, credentials, tokens, or private customer data.

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. 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.