agentleFS
fotis89fotis89/ctx-launcher/.github/skills/release/SKILL.md

release

Skill4 starsChanged 34 days agoMITView on GitHub

Tag a version and let CI publish to npm + create the GitHub release

  • Installs packages
  • Commits and pushes

196 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style 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.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Create a new release of ctx-launcher.

    line 7
  2. Distinctive:

    Stop if dirty or not on master.

    line 20
  3. Distinctive:

    Stop if any fail.

    line 60
  4. Distinctive:

    If CI fails partway through:

    line 93
  5. Distinctive:

    If you want a dev build on npm without cutting a release:

    line 101

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

Create a new release of ctx-launcher. CI handles everything — this skill just tags and pushes.

Version numbers come from git tags via MinVer. Tagging vX.Y.Z triggers CI, which:

  1. Builds native AOT binaries on Windows / Linux / macOS-arm64
  2. Publishes all four npm packages (@ctx-launcher/wl, @ctx-launcher/wl-win-x64, -linux-x64, -darwin-arm64) with --tag=latest
  3. Creates the GitHub release with binaries attached (auto-generated notes)

Prerequisites

Confirm working tree is clean and on master:

git status --porcelain && git rev-parse --abbrev-ref HEAD

Stop if dirty or not on master.

(No npm whoami check needed — publish runs in CI with the NPM_TOKEN repo secret.)

Step 1: Analyze and propose

  1. Current version:
    git describe --tags --abbrev=0
  2. Changes since:
    git log $(git describe --tags --abbrev=0)..HEAD --oneline
  3. Categorize:
    • patch (0.1.0 → 0.1.1): bug fixes, formatting, docs
    • minor (0.1.0 → 0.2.0): new features, new commands, behavior changes
    • major (0.1.0 → 1.0.0): breaking CLI or workspace format changes
  4. Present:
    Current version: <current>
    Changes since last release:
      - <commit>
      - <commit>
    
    Suggested version: <new>  (<patch/minor/major> — <reason>)
    
    Proceed?

Step 2: Changelog

Add a ## <version> — <yyyy-MM-dd> section at the top of CHANGELOG.md (Added / Fixed / Removed; for breaking changes an Upgrading before → after table). If the release changes commands, files, or workspace.json, update docs/reference.md in the same commit. Show the entry to the user, then commit and push it before tagging.

Step 3: Sanity check

Unit tests first (fast local safety net — CI runs the full matrix afterwards):

dotnet test tests/wl.tests/wl.tests.csproj --verbosity quiet

Stop if any fail.

Step 4: Tag and push

git tag v<version>
git push && git push origin v<version>

The tag push triggers CI. MinVer sees the tag and emits a clean <version> string into the binaries.

Step 5: Watch CI

gh run list --workflow CI --event push --limit 5

Find the run whose branch column shows v<version>. Watch:

gh run watch <run-id>

CI jobs, in order:

  1. build-{win-x64,linux-x64,osx-arm64} (matrix) — unit + AOT publish + e2e
  2. publish-{wl-win-x64,wl-linux-x64,wl-darwin-arm64} (matrix) — npm publish per-platform
  3. publish-main — npm publish @ctx-launcher/wl
  4. github-release — gh release create with binaries

Once all four are green: done. Everything is live. The GitHub release notes are auto-generated from commits; point users to CHANGELOG.md for the upgrade notes.

Rollback

If CI fails partway through:

  • Before any publish-platform job succeeds: git push --delete origin v<version> + git tag -d v<version> removes the tag. Safe.
  • Some platforms published, main not yet: unpublish within 72h (npm unpublish @ctx-launcher/wl-<platform>@<version>) and delete the tag. After 72h, bump to the next patch and re-release.
  • Main published: fix-forward by bumping to the next patch. Don't unpublish; users may have installed.

Manual dev preview (no tag)

If you want a dev build on npm without cutting a release:

gh workflow run CI --ref master -f publish_dev=true

CI publishes the current master as <next-patch>-dev.<N>+<sha> with npm dist-tag dev. Users can install with:

npm install -g @ctx-launcher/wl@dev

The latest tag is untouched — regular npm install still gets the released version.

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.