publish-release
Skill4 starsChanged 7 months agoMITView on GitHub
Publish this npm package through the tag-triggered release workflow with changelog-backed GitHub Release notes. Use when user says "publish release", "publish npm package", "npm release", "create release", or wants to ship a new package version.
- Installs packages
- Commits and pushes
5 other projects use a version of this.
Adopted by
Most recently taken up by
- threadnote/threadnotetheir own version, first seen Oct 3, 2026
- molefrog/moitheir own version, first seen Oct 2, 2026
- alexjbarnes/cockpittheir own version, first seen Aug 13, 2026
- modelcontextprotocol/csharp-sdktheir own version, first seen Aug 5, 2026
- psousa50/claude-code-chatstheir own version, first seen Apr 17, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- modelcontextprotocol/csharp-sdk★ 4.6ksame name
- molefrog/moi★ 180same name
- threadnote/threadnote★ 24same name
- alexjbarnes/cockpit★ 15same name
- psousa50/claude-code-chats★ 2same name
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 repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/ai-workspace-projections.mdcCursor rule
- .cursor/rules/mcp-tool-configs.mdcCursor rule
- .cursor/rules/node-typescript.mdcCursor rule
- .cursor/rules/runstore-listruns-cache.mdcCursor rule
- .cursor/rules/worker-posture.mdcCursor rule
- .cursor/rules/worker-safety.mdcCursor rule
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- mergeprepSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- resolve-review-findingsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- update-contextSkill
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 9 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
9
Distinctive
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 12
Read PUBLISHING.md first for the authoritative release contract.
- Distinctive: line 28
Check the current branch, local status, recent commits, npm package version, npm dist-tags, and existing git tags.
- Distinctive: line 31
If unrelated local changes exist, commit only the release-related changes or ask how they should be handled.
- Very specific: line 36
Update CHANGELOG.md before running npm version:
- Very specific: line 38
keep an empty ## Unreleased heading at the top.
- Very specific: line 39
add ## <version> - YYYY-MM-DD for the version being released.
- Distinctive: line 44
Run the changelog extraction script for the intended version and verify it prints the notes that should appear on the GitHub Release:
- Distinctive: line 53
Run the release gate:
- Distinctive: line 60
Do not continue if verification fails.
- Very specific: line 64
Use npm's version command so package.json, pnpm-lock.yaml, the release commit, and the git tag stay aligned:
- Very specific: line 71
Use minor, major, or prerelease --preid beta when that matches the release intent.
- Very specific: line 84
verify the tag matches package.json.
- Distinctive: line 87
create or update the GitHub Release for the same tag.
- Distinctive: line 91
After the workflow completes, check:
- Distinctive: line 103
Do not publish from a dirty or unverified tree.
- Distinctive: line 104
Do not force-push or reuse npm versions.
“Common” is measured: kept by at least 6 in 10 of the 5 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
<!-- Generated from .agents/ by scripts/sync-ai-workspace.mjs. Do not edit directly. -->Publish Release
Publish this package with npm Trusted Publishing and a matching GitHub Release.
Read PUBLISHING.md first for the authoritative release contract.
Instructions
Step 1: Confirm Release Intent
Confirm the user explicitly asked to publish or prepare a release. Do not publish, tag, deprecate, or push release refs from a vague request.
Identify whether the release should be:
- stable: publishes to npm
latestand creates a normal GitHub Release; - prerelease: publishes to npm
nextand creates a GitHub prerelease.
Step 2: Inspect Repository State
Check the current branch, local status, recent commits, npm package version, npm dist-tags, and existing git tags. Pull the latest target branch before tagging.
If unrelated local changes exist, commit only the release-related changes or ask how they should be handled. Never discard user-owned work.
Step 3: Prepare Release Notes
Update CHANGELOG.md before running npm version:
- keep an empty
## Unreleasedheading at the top; - add
## <version> - YYYY-MM-DDfor the version being released; - move the release content under that exact version heading;
- include user-facing release notes for features, fixes, breaking changes, migrations, and operational changes.
Run the changelog extraction script for the intended version and verify it prints the notes that should appear on the GitHub Release:
node scripts/extract-changelog-release-notes.mjs <version>Step 4: Verify The Package
Run the release gate:
pnpm install --frozen-lockfile
pnpm verifyDo not continue if verification fails.
Step 5: Create The Version Commit And Tag
Use npm's version command so package.json, pnpm-lock.yaml, the release
commit, and the git tag stay aligned:
npm version patchUse minor, major, or prerelease --preid beta when that matches the release
intent.
Step 6: Push And Monitor
Push the branch and tag together:
git push origin main --follow-tagsMonitor the Publish npm workflow. It must:
- verify the tag matches
package.json; - publish to npm with the correct dist-tag, or skip if already published;
- extract release notes from
CHANGELOG.md; - create or update the GitHub Release for the same tag.
Step 7: Confirm The Published Release
After the workflow completes, check:
- npm reports the expected version on
latestornext; - the GitHub Release exists for the same tag;
- release notes match the changelog section;
- a quick installed-package smoke test works when appropriate.
Critical Rules
- Git tags are the release trigger and source of truth.
- GitHub Releases are created by the tag workflow, not manually before tagging.
- Release notes come from
CHANGELOG.md, not from ad hoc workflow text. - Do not publish from a dirty or unverified tree.
- Do not force-push or reuse npm versions.
Checklist
- Read
PUBLISHING.md - Confirmed stable vs prerelease intent
- Pulled the latest target branch
- Updated
CHANGELOG.mdwith the exact version heading - Checked extracted release notes
- Ran
pnpm install --frozen-lockfile - Ran
pnpm verify - Ran the correct
npm versioncommand - Pushed
mainand tags together - Confirmed npm package and GitHub Release are in sync
Reference
PUBLISHING.md-- release process and npm Trusted Publishing setupCHANGELOG.md-- release note source for npm and GitHub releases.github/workflows/publish-npm.yml-- tag-triggered npm and GitHub Release workflowscripts/extract-changelog-release-notes.mjs-- release note extraction script
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.

