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.
- publishSkill
- silvermoonSkill
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
- Very specific: line 7
Run pnpm setup:dev to build this checkout, link it as the device-level global silvermoon runtime, and register its canonical skill by link …
- Very specific: line 10
Run every Silvermoon command through that global silvermoon executable.
- Very specific: line 27
Start new ideas with silvermoon create-idea --audience agent.
- Very specific: line 36
Before Idea acceptance, replace the Implementation and Deployment scaffold placeholders with lightweight first versions of at most three …
- Distinctive: line 40
Before a human gate, synchronize the candidate to primary, reobserve its exact revision and content language, then provide a short review …
- Very specific: line 59
Run pnpm check (alias check:release) before delivery of CLI, schema, repository model, release, or skill changes.
- Very specific: line 61
Run pnpm check:skills before delivering skill frontmatter or structure changes.
- Common: line 63
Do not commit secrets, credentials, tokens, or private customer data.
- Very specific: line 71
Use git-lineage update from a clean worktree to merge preset updates.
≈ “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.
Files
Silvermoon repository instructions
Development runtime and skill
- This repository develops Silvermoon itself and must not depend on the
published
silvermoonpackage in any dependency section. - Run
pnpm setup:devto build this checkout, link it as the device-level globalsilvermoonruntime, and register its canonical skill by link in a personal discovery path. - Run every Silvermoon command through that global
silvermoonexecutable. It must resolve to this checkout; never use a published copy, another checkout,npx silvermoon, a project dependency, or a directnode 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
silvermoonand applydocs/repository-tasks.mdonly 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 withsilvermoon whats-next [idea] --audience agent. Use--jsoninstead 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 theacceptIdealdecision 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:sanityplus change-specific tests; usepnpm check:commitbefore committing. Its tests use the worktree;silvermoon check --stagedchecks metadata, not staged-code test results. - Run
pnpm check(aliascheck:release) before delivery of CLI, schema, repository model, release, or skill changes; it remains full release-grade. - Run
pnpm check:skillsbefore 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.yamland the managedparentremote aligned with that immediate parent. - Use
git-lineage updatefrom 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 immutablenpm/silvermoon/v<version>tag on a commit reachable fromorigin/main. Manually dispatched canary automation may create that immutable tag only at the exact refreshedorigin/mainhead; it must never move npmlatest. Never publish locally or add npm tokens.
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
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.

