npm-workflow-release
Skill16 starsChanged 7 months agoMITView on GitHub
Release agent-harness packages to npm and verify publication. Use when the user asks to cut a release, push a missing release tag, or troubleshoot why a version was not published.
- Commits and pushes
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 8 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run the release workflow for this repository end-to-end.
- Very specific: line 10
Use $ARGUMENTS as the target version when provided (for example: 1.6.0 or v1.6.0).
- Very specific: line 15
If $ARGUMENTS is provided, normalize it to X.Y.Z and vX.Y.Z.
- Distinctive: line 16
If not provided, infer the intended version from context and confirm package files match.
- Very specific: line 18
Check packages/manifest-schema/package.json and packages/toolkit/package.json.
- Very specific: line 19
Ensure both version values are identical and equal to the target version.
- Very specific: line 21
Check .github/workflows/publish-npm.yml triggers on tag push (v*).
- Very specific: line 22
Run GITHUB_REF_NAME=vX.Y.Z pnpm run release:guard before publishing.
- Distinctive: line 23
Ensure the release tag exists remotely.
- Very specific: line 24
Check local and remote tags for vX.Y.Z.
- Distinctive: line 25
If missing on remote, push it: git push origin vX.Y.Z.
- Distinctive: line 29
Verify npm publication for both packages.
- Distinctive: line 38
If no workflow run appears, the tag was likely not pushed to remote.
- Distinctive: line 39
If prepublish fails, fix version mismatch or tag mismatch first.
- Very specific: line 40
If publish fails with auth errors, confirm NPM_TOKEN in GitHub Actions secrets.
- Distinctive: line 41
If verify-published fails due lag, retry after npm propagation delay.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill 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
npm-workflow-release
Run the release workflow for this repository end-to-end.
Use $ARGUMENTS as the target version when provided (for example: 1.6.0 or v1.6.0).
Steps
- Resolve the target version.
- If
$ARGUMENTSis provided, normalize it toX.Y.ZandvX.Y.Z. - If not provided, infer the intended version from context and confirm package files match.
- If
- Validate lockstep package versions.
- Check
packages/manifest-schema/package.jsonandpackages/toolkit/package.json. - Ensure both
versionvalues are identical and equal to the target version.
- Check
- Confirm release workflow prerequisites.
- Check
.github/workflows/publish-npm.ymltriggers on tag push (v*). - Run
GITHUB_REF_NAME=vX.Y.Z pnpm run release:guardbefore publishing.
- Check
- Ensure the release tag exists remotely.
- Check local and remote tags for
vX.Y.Z. - If missing on remote, push it:
git push origin vX.Y.Z.
- Check local and remote tags for
- Monitor the publish run in GitHub Actions.
- Use
gh run list --workflow publish-npm.yml. - Watch the matching run with
gh run watch <run-id> --exit-status.
- Use
- Verify npm publication for both packages.
npm view @madebywild/agent-harness-manifest dist-tags --jsonnpm view @madebywild/agent-harness-framework dist-tags --json- Confirm
latest(or requested tag) points toX.Y.Z.
- Report outcome with concrete evidence.
- Include tag push result, workflow run id/status, and npm verification output summary.
Troubleshooting
- If no workflow run appears, the tag was likely not pushed to remote.
- If prepublish fails, fix version mismatch or tag mismatch first.
- If publish fails with auth errors, confirm
NPM_TOKENin GitHub Actions secrets. - If verify-published fails due lag, retry after npm propagation delay.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- critical-reviewSkill
- harness-commandSkill
- harness-hookSkill
- harness-mcpSkill
- harness-prompt-sectionSkill
- harness-settingsSkill
- harness-skillSkill
- harness-subagentSkill
- critical-reviewSkill
- harness-commandSkill
- harness-hookSkill
- harness-mcpSkill
- harness-prompt-sectionSkill
- harness-settingsSkill
- harness-skillSkill
- harness-subagentSkill
- npm-workflow-releaseSkill
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.

