publish
Skill1 starsChanged 59 days agoMITView on GitHub
Publish the allowlisted npm package from this repository through the protected GitHub Actions trusted-publishing workflow. Use only when the user explicitly invokes /publish with a release key and version intent.
- Installs packages
- Commits and pushes
31 other projects use a version of this.
Adopted by
Most recently taken up by
- TencentCloud/Octoptheir own version, first seen Oct 4, 2026
- pche-broken-artist/forge-of-thoughttheir own version, first seen Oct 4, 2026
- varunmoka7/resume-hypergraphtheir own version, first seen Oct 2, 2026
- oderajoseph95/Claude-Intercom-HelpCenter-Article-Writertheir own version, first seen Sep 28, 2026
- TencentCloud/octop-browsertheir own version, first seen Sep 24, 2026
- TencentCloud/octop-memorytheir own version, first seen Sep 24, 2026
Used with
Projects with it also use ingest and setup.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- code-yeongyu/oh-my-openagent★ 70ksame name
- TencentCloud/Octop★ 6.8ksame name
- Q00/ouroboros★ 6.2ksame name
- agent-tower/core★ 396same name
- tomaspavlin/rohlik-mcp★ 121same name
- timkoda/koda-stack★ 114same name
- skilluse/skilluse★ 55same name
- TencentCloud/octop-memory★ 26same name
- myclaude-sh/myclaude-creator-engine★ 25same name
- TencentCloud/octop-browser★ 22same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- silvermoonSkill
- silvermoonSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 7 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Run this workflow only after the user explicitly invokes /publish.
- Very specific: line 19
Read the repository instructions and docs/npm-package-releases.md before changing the manifest, creating a tag, rerunning a workflow, or …
- Very specific: line 23
Treat bin/prepare-npm-release.mjs as the allowlist and release-key authority and bin/verify-npm-release.mjs as the post-publication …
- Very specific: line 33
Before creating a tag, require the workflow to use a GitHub-hosted runner, id-token: write, Node 22.14.0 or newer, npm CLI 11.5.1 or newer, …
- Distinctive: line 45
Read the package manifest, current npm versions, existing release tags, and the latest package-specific release tag.
- Distinctive: line 51
Stop if the target npm version or exact release tag already exists.
- Very specific: line 56
Update the package's version in package.json and synchronize exact-version installation examples and version assertions that belong to the …
- Distinctive: line 58
Do not add unrelated feature work to a release-only change.
- Very specific: line 71
Commit the validated version change on main, push it through the normal non-force path, refresh origin/main, and verify the full commit is …
- Very specific: line 80
Run silvermoon whats-next <idea> --json after the validated release commit is published to primary.
- Very specific: line 85
When the release commit and repository validation satisfy the idea's implementation expectations, record implementationAcceptedRevision for …
- Distinctive: line 102
Run the release planner locally against the exact candidate:
- Distinctive: line 110
Create the immutable tag at the refreshed primary branch and push only that tag:
- Distinctive: line 125
Follow the run to completion with GitHub CLI or the Actions API.
- Very specific: line 144
If post-publication verification fails transiently, rerun only the failed workflow job.
- Distinctive: line 151
If the registry shows the exact version even though workflow reporting is ambiguous, treat npm as immutable published state and investigate …
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Publish npm package
Publish the allowlisted package through this repository's protected tag-triggered GitHub Actions workflow. Never publish directly from the development machine.
Safety boundary
- Run this workflow only after the user explicitly invokes
/publish. Natural language discussion about versions or releases is not an invocation. - Read the repository instructions and
docs/npm-package-releases.mdbefore changing the manifest, creating a tag, rerunning a workflow, or troubleshooting a release. - Treat
bin/prepare-npm-release.mjsas the allowlist and release-key authority andbin/verify-npm-release.mjsas the post-publication evidence gate. Do not derive a package path from user text. - Publish only through
.github/workflows/publish-npm.yml. Never runnpm publishlocally and never create or requestNPM_TOKENorNODE_AUTH_TOKEN. - Release versions and
npm/<release-key>/v<version>tags are immutable. Never move, delete, or recreate a release tag to repair source or validation. - Preserve unrelated worktree changes. Stop if they prevent an isolated, reviewable release commit.
- Before creating a tag, require the workflow to use a GitHub-hosted runner,
id-token: write, Node22.14.0or newer, npm CLI11.5.1or newer, andactions/setup-nodewithregistry-url: https://registry.npmjs.org. Treat these as release source requirements, not npm account workarounds.
Resolve the release
- Resolve the release key from the invocation. When omitted and exactly one package is allowlisted, use that key; otherwise ask for the key.
- Resolve one explicit version intent:
major,minor,patch, or an exact canonical SemVer. Use stable SemVer unless the user explicitly requests a named prerelease channel. - Read the package manifest, current npm versions, existing release tags, and the latest package-specific release tag. Calculate the target from the highest relevant stable version rather than assuming the working manifest is already published.
- Fetch
origin/mainand tags. Require the release worktree to be reconciled with currentorigin/mainbefore preparing the release. - Stop if the target npm version or exact release tag already exists. Report the immutable existing release rather than attempting to replace it.
Prepare and publish the release commit
- Update the package's
versioninpackage.jsonand synchronize exact-version installation examples and version assertions that belong to the same release. - Do not add unrelated feature work to a release-only change. If unreleased
implementation is already integrated on
main, the version commit may contain only release metadata and release-skill maintenance. Run:
pnpm install --frozen-lockfile pnpm check git diff --check- Confirm the packed candidate has the requested package name and version and contains only the allowlisted files.
- Commit the validated version change on
main, push it through the normal non-force path, refreshorigin/main, and verify the full commit is reachable from that branch. Do not tag an unpublished local commit or side branch.
Silvermoon phase handoff
Apply this section when the release is a deployment criterion of an active Silvermoon idea. Independent package releases skip it.
- Run
silvermoon whats-next <idea> --jsonafter the validated release commit is published to primary. - Require the selected idea to be the approved current revision and the action
to be
implement-idea. If guidance reports worktree, sync, or another higher priority action, resolve that first and reobserve. - When the release commit and repository validation satisfy the idea's
implementation expectations, record
implementationAcceptedRevisionfor that exact idea revision in a separate status-only commit. Validate and publish it through ordinary non-force Git. - Requery the exact idea and require
deploy-ideabefore creating the release tag. Never create the tag while the release idea still derivesimplementing.
The package version commit remains the release candidate. The later status-only acceptance commit advances Silvermoon state and may become the tagged primary commit because it leaves package contents unchanged.
Create the release instruction
- Fetch
origin/mainand tags again immediately before tagging. - Require a clean worktree, local
HEADequal toorigin/main, an absent target tag, and an absent npm target version. Run the release planner locally against the exact candidate:
node bin/prepare-npm-release.mjs \ --tag npm/<release-key>/v<version> \ --commit <full-origin-main-commit>Create the immutable tag at the refreshed primary branch and push only that tag:
git tag npm/<release-key>/v<version> origin/main git push origin refs/tags/npm/<release-key>/v<version>
The tag is the release instruction. Do not run a second publication command.
Verify GitHub Actions and npm
- Locate the
Publish npm packagerun whose ref is the exact release tag and whose commit is the taggedorigin/maincommit. Do not mistake an older run for this release. - Follow the run to completion with GitHub CLI or the Actions API. If the npm environment requires a human reviewer, report that exact pending gate and wait rather than bypassing it.
- Require the workflow conclusion to be
success. Capture its run URL and immutable database ID. - Require the
Verify published packagestep to emitVERIFY_NPM_RELEASE_OK. This proves the exact version, dist-tag, registrygitHead, integrity, tarball bytes and file count, both tarball READMEs, npm publish and SLSA provenance, tagged commit, and commit-pinned jsDelivr assets all match the single candidate tarball. Alatestrelease additionally proves the npm package-level README; prerelease channels do not replace thatlatestpackage page state. - Report the package version, release commit, tag, workflow URL and database ID, registry integrity, provenance invocation URL, and jsDelivr asset URLs.
Failure handling
- For a transient infrastructure or registry failure before publication, rerun the same workflow run without changing the tag.
- If post-publication verification fails transiently, rerun only the failed
workflow job. The planner observes the existing version, the publish step
remains skipped, and
verify-npm-release.mjsmust still prove the exact candidate before the run can succeed. - For source, manifest, or validation defects, leave the failed version and tag
immutable. Fix the source on
main, choose a new version, and create a new tag only after validation. - If the registry shows the exact version even though workflow reporting is ambiguous, treat npm as immutable published state and investigate before any rerun.
- Authentication, tag protection, environment approval, branch protection, or failed validation are real blockers. Never bypass them with force pushes, local publication, or credentials routed through chat.
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.

