agentleFS
tronschelltronschell/shinbo/.claude/skills/releasing/SKILL.md

releasing

Skill1 starsChanged 3 months agoMITView on GitHub

Capture Shinbo changelog entries when preparing feature PRs and prepare or publish releases. Feature PRs land on dev, the owner merges dev into main, and main publishes the signed macOS app and the Windows x64 installer from the root package.json version. Use for PR release summaries, release workflows, versioning, packaging, and distribution changes.

  • Commits and pushes

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 1 is distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    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
  1. Very specific:

    Read docs/releases.md for the branch flow, credentials, verification, and recovery before changing or running release automation.

    line 8
  2. Very specific:

    Only the owner can update main, enforced by a GitHub ruleset, not by code.

    line 22
  3. Very specific:

    Keep release names exactly vX.Y.Z.

    line 45
  4. Very specific:

    Write the release summary while preparing or updating the PR, using its complete diff against dev.

    line 53
  5. Very specific:

    Use a descriptive conventional title: feat, fix, perf, or docs selects the release section.

    line 58
  6. Very specific:

    Add a ## Release notes section to the PR body with plain Markdown bullets for each meaningful change.

    line 62
  7. Very specific:

    Use npm run release:notes -- v0.3.1 v0.4.1 to inspect a specific GitHub range.

    line 75
  8. Distinctive:

    Run the six checks in AGENTS.md.

    line 80
  9. Very specific:

    Keep Node 24, Zig 0.16.0, and the macos-15 and windows-2025 runners aligned with the repository pins.

    line 84

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

Releasing Shinbo

Read docs/releases.md for the branch flow, credentials, verification, and recovery before changing or running release automation.

Invariants

  • Feature branches start from and squash-merge into dev, the default branch. ci.yml selects checks from the actual merge diff and always reports the required check gate. Renderer changes run both desktop lanes; docs and version-only bumps avoid compilation. Harness, integration, and unknown paths run all suites. Promotion and manual runs keep full coverage. Keep lanes bounded — timeout-minutes on every job and --test-timeout on every node --test.
  • The root package.json version is the release version. Bump it on dev. Nothing else carries version metadata, and there is no changelog file.
  • Only the owner can update main, enforced by a GitHub ruleset, not by code. Promote dev directly to main with a merge commit. Do not create temporary promotion branches, merge main back into dev, or rebase dev. Main requires passing checks without requiring dev to contain main's previous merge commit; dev keeps strict up-to-date checks. The promotion gate requires exactly dev's tree and a newer stable root version. Prefer bumping in the final feature PR.
  • ci.yml runs on every pull request and on pushes to main. package-mac and package-win also run on PRs targeting main and packaging/workflow changes, and a successful main run for an unpublished version uploads the shinbo-release-candidate and shinbo-release-candidate-windows artifacts for that exact commit. release.yml consumes both from the completed main CI run. It skips when the vX.Y.Z release already exists. Otherwise candidate verification, signing, notarization, stapling, Gatekeeper validation, and asset upload must all succeed before gh release create publishes with generated notes. Published releases are never replaced.
  • PR checks receive no Apple or Windows signing secrets. Only the release job has contents: write. Windows PE files can only be signed on the Windows runner, so package-win does the signing when the certificate secrets exist and packages unsigned when they do not.
  • The release workflow_dispatch path rebuilds and publishes macOS only. A manual ci dispatch always runs all checks; its package input additionally exercises both installers without publishing. PR updates cancel obsolete CI; a main build already producing release candidates is not cancelled.
  • Keep release names exactly vX.Y.Z. The updater's asset contract: Shinbo-vX.Y.Z-darwin-arm64.zip on macOS, and on Windows an installer named Shinbo-vX.Y.Z-win32-x64-Setup.exe as the only asset containing -win32-x64, a single .nupkg under the exact name Squirrel wrote, and RELEASES published byte for byte. docs/releases.md explains why each rule exists.

Capture changes in feature PRs

Write the release summary while preparing or updating the PR, using its complete diff against dev. Describe the final shipped behavior and relevant fixes, compatibility changes, and migration steps. The agent doing the work writes the summary without asking the owner to compose changelog entries.

Use a descriptive conventional title: feat, fix, perf, or docs selects the release section; other titles remain under Other changes. Mark incompatible changes with ! or a BREAKING CHANGE: footer.

Add a ## Release notes section to the PR body with plain Markdown bullets for each meaningful change. Keep implementation discussion and validation under separate level-two headings. Update the notes when the scope changes; describe only changes present in the final diff. For direct commits, put the same section in the commit body when the title alone is insufficient.

GitHub already uses PR_TITLE and PR_BODY for Shinbo squash commits. Preserve the release section when supplying a custom squash message. The release job reads this committed snapshot, so edits to a merged PR do not rewrite history. Older commits without this section fall back to their titles. No extra labels, changelog file, version bump, or release action is needed to record a change.

npm run release:notes previews the published-release-to-remote-dev range. Use npm run release:notes -- v0.3.1 v0.4.1 to inspect a specific GitHub range. Both commands only print Markdown; they create no release, tag, or file.

Workflow edits

Run the six checks in AGENTS.md. Package locally when changing the build, resources, target, signing, or notarization path, and launch and exercise the resulting app. Report unverified platform behavior.

Keep Node 24, Zig 0.16.0, and the macos-15 and windows-2025 runners aligned with the repository pins. Third-party actions use full commit SHAs; first-party actions/* use version references. Put action versions in step names, not YAML comments.

Preparing release infrastructure does not authorize publishing a release or merging unrelated work.

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.