agentleFS
kkrafft1999kkrafft1999/snotra/.claude/skills/release/SKILL.md

release

Skill4 starsChanged 2 months agoApache-2.0View on GitHub

Publishes a new release of Snotra AI: bumps the version in package.json through a pull request, then creates the git tag vX.Y.Z and pushes it, which makes the GitHub Actions pipeline (.github/workflows/release.yml) build the macOS, Windows and Linux artifacts and publish the release. Triggers on sentences like "erstelle ein Release", "erstell ein neues Release", "Release erstellen", "mach ein Release", "neues Release", "Version veröffentlichen", "release this", "cut a release", "create a release", "publish a new version". Only makes sense in this repository (snotra).

  • Reads credentials
  • Commits and pushes

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace and 10 more.

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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

  • Other versions190 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 190

    1. tw93/Pake★ 62ksame name
    2. Yeachan-Heo/oh-my-claudecode★ 40ksame name
    3. openai/symphony★ 28ksame name
    4. slopus/happy★ 24ksame name
    5. coleam00/Archon★ 24ksame name
    6. microsoft/agent-lightning★ 19ksame name
    7. EverMind-AI/EverOS★ 13ksame name
    8. 0xJacky/nginx-ui★ 12ksame name
    9. modelcontextprotocol/inspector★ 11ksame name
    10. max-sixty/worktrunk★ 8.8ksame name

    180 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 repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When it's unclear, ask briefly.

    line 43
  2. Distinctive:

    Run these in order and stop with a clear message when something doesn't fit:

    line 48
  3. Very specific:

    Read the current version from package.json (node -p "require('./package.json').version") and name the version that results from the chosen …

    line 62
  4. Distinctive:

    Only continue after agreement.

    line 70
  5. Very specific:

    Only the tag ref is pushed — no git push origin main, that state is already there through the merge.

    line 118
  6. Distinctive:

    If GitHub rejects the push because it aimed at main, something went wrong — since the bypass was removed (#240) there is no way through for …

    line 122
  7. Distinctive:

    Don't upload additional assets by hand.

    line 156

“Common” is measured: kept by at least 6 in 10 of the 172 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cut a release

This skill publishes a new version by pushing a v* tag. Building and uploading the artifacts is the pipeline's job (.github/workflows/release.yml). The background and the manual procedure are in docs/release.md, the flow as a diagram in docs/release-flow.svg.

Important: a pushed tag triggers a public GitHub release — that is outward-facing and not trivial to undo. So get one explicit confirmation of the target version before pushing the tag.

Just as important: the version commit goes through a pull request, not straight onto main. npm version without --no-git-tag-version would commit to the current branch — which during a release means main, which only gets through with a ruleset bypass and contradicts git-workflow.md (issue #238). Since #240 nobody is left in bypass_actors — so a direct push is rejected, not merely logged. The tag push itself is uncritical: ruleset 23177645 has target: branch and does not cover tags.

Step 1 — determine the bump type

The default is patch. Derive the type from what the user said:

  • "patch" / "bugfix" / nothing said → patch
  • "minor" / "new feature" / "feature release" → minor
  • "major" / "breaking" / "big release" → major

When it's unclear, ask briefly; otherwise assume patch. Helpful for judging it: git log --oneline vX.Y.Z..HEAD since the last tag.

Step 2 — pre-flight checks (stop on failure)

Run these in order and stop with a clear message when something doesn't fit:

  1. On main? — git rev-parse --abbrev-ref HEAD. If not, ask the user whether to release from this branch anyway (the pipeline builds from the tagged commit; main is the usual one).
  2. Working tree clean? — git status --porcelain. If it isn't empty: stop. Tell the user that uncommitted changes have to be committed or stashed first.
  3. Up to date locally? — git fetch, then check that main isn't behind origin/main. If it is, advise a git pull.
  4. Tests green? — npm test and npm run test:e2e. On a red test, stop and show the output.

Step 3 — compute the target version and confirm it

Read the current version from package.json (node -p "require('./package.json').version") and name the version that results from the chosen bump. Then have it confirmed, for example:

"Currently 1.0.0 → new release v1.0.1 (patch). The bump goes through a pull request, after which it is tagged and a public release is published. Proceed?"

Only continue after agreement.

Step 4 — the bump on a branch of its own (local, reversible)

git switch -c release/vX.Y.Z
npm version <patch|minor|major> --no-git-tag-version
git commit -am "vX.Y.Z"
git push origin release/vX.Y.Z

--no-git-tag-version is the crucial part: with it, npm version only changes package.json and package-lock.json and creates neither a commit nor a tag. The commit holds exactly those two files and nothing else.

Step 5 — pull request and required checks

gh pr create --title "Release vX.Y.Z" --body "…"

The release pull request closes no issue, so it needs no Closes #N. Wait until the three required checks Tests (macos-14), Tests (windows-latest) and Tests (ubuntu-latest) are green:

gh pr checks --watch

Red means: don't merge, fix the cause, push again.

Step 6 — merge and fetch main

gh pr merge --squash --delete-branch
git switch main && git pull
node -p "require('./package.json').version"   # has to show X.Y.Z

That last line is the check that the tag is about to point at the right state.

Step 7 — tag and push (the point of no return)

git tag vX.Y.Z
git push origin vX.Y.Z

Only the tag ref is pushed — no git push origin main, that state is already there through the merge. Pushing over SSH needs dangerouslyDisableSandbox: true (read access to ~/.ssh/known_hosts).

If GitHub rejects the push because it aimed at main, something went wrong — since the bypass was removed (#240) there is no way through for that any more. Report it, don't work around it.

Step 8 — watch the pipeline and report the result

gh run list --workflow=release.yml --limit 1
gh run watch <RUN_ID> --exit-status

Once it succeeds, name the release link:

gh release view vX.Y.Z --json url,assets -q '.url, (.assets[].name)'

On a red run, name the failed jobs and point to gh run view <RUN_ID> --log-failed. The tag stays in place in that case; pushing the same tag again does not rebuild automatically — then settle with the user whether the tag and release are deleted and re-tagged after a fix.

Notes

  • Versioning has its single source of truth in package.json; the pipeline only builds, it does not tag. The app compares app.getVersion() (that is, package.json) against the latest release — which is why the tagged commit has to carry the matching version.
  • The macOS app and DMG are signed with a Developer ID and notarised (#662); the release job fails when Gatekeeper would reject them. Windows is still unsigned (SmartScreen warns), Linux needs no signature.
  • The pipeline starts with a test gate (the job Test-Gate, calling ci.yml: npm test on macOS, Windows and Linux). Red there means: no build, no release — reproduce npm test locally, fix it, tag anew.
  • Don't upload additional assets by hand; the pipeline does that.
  • As long as the bump goes through the pull request, the tests run twice (the pull request and the test gate). That is intended: the tagged commit passed the gate before it landed on main.

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.