agentleFS
blowhorn-aiblowhorn-ai/blowhorn-mcp/.agents/skills/cut-release/SKILL.md

cut-release

Skill9 starsChanged 5 days agoApache-2.0View on GitHub

Cut a blowhorn-mcp release: bump and changelog, GitHub tag vX.Y.Z, npm, MCP Registry server.json (remote-only), hosted gateway deploy to production and staging with healthz, Cloud version verification, and signed-in hosted smoke in one publish.yml run (test-account sign-in; repo secrets from the Secrets spreadsheet, never printed). Use when the user asks to cut or publish an MCP release, ship blowhorn-mcp, publish to npm or the MCP Registry, or deploy the hosted gateway as part of a release. Never cut a desktop DMG. Supersedes any step that publishes npm or the registry without the deploy and verification, or that triggers a Cloud release.

40 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use quota-axi, iterate-pr and 7 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.
  • layer5ioSkill

    quota-axi

    Report local Claude, Codex, Cursor, GitHub Copilot, and Grok quota windows via the quota-axi CLI - remaining percentages, reset times, and provider status read from local auth sources, with no routing, recommendation, or provider mutation. Use before deciding whether it is safe to keep spending a provider's quota, when the user asks about usage, rate limits, or remaining quota, or when comparing local provider headroom.

    Also in 4 projects that use this

  • SentrySkill

    iterate-pr

    Iterate on a PR until actionable CI passes and high/medium review feedback is addressed. Use for PR CI failures, review feedback, or green-check loops; do not wait for human approval, draft status, or merge gates.

    Also in 4 projects that use this

  • kunchenguidSkill

    chrome-devtools-axi

    Control a Chrome browser session through the chrome-devtools-axi CLI - navigate, snapshot, click, fill forms, run JavaScript, inspect console and network, take screenshots, audit performance. Use whenever a task needs a real browser: opening or testing a web page, clicking through a flow, extracting page content, or debugging a website.

    Also in 4 projects that use this

  • kunchenguidSkill

    lavish

    Turn complex or visual agent responses into rich, reviewable HTML artifacts (HTML files) the user can annotate and send feedback on, using the lavish-axi CLI. Use when about to give a plan, comparison, diagram, table, code diff, report, or anything easier to grasp visually than as prose.

    Also in 4 projects that use this

  • layer5ioSkill

    gh-axi

    Operate GitHub through the gh-axi CLI - issues, pull requests, workflow runs, workflows, releases, repositories, labels, Projects (v2), Actions secrets and variables, search, and raw API access. Use whenever a task touches GitHub: listing or filing issues, reviewing or merging PRs, checking CI runs, triggering workflows, cutting releases, managing Projects boards, or managing Actions secrets/variables.

    Also in 4 projects that use this

  • AxDSanSkill

    no-mistakes

    Validate your code changes through the no-mistakes pipeline - automated code review, tests, lint, docs, push, PR, and CI - before they reach upstream. Use when the user asks to run no-mistakes, gate or ship or validate their changes, push safely, asks you to do a task and then validate it, or invokes /no-mistakes.

    Also in 4 projects that use this

  • Other versions40 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 40

    1. ToolJet/ToolJet★ 41ksame name
    2. meshery/meshery★ 12ksame name
    3. danielmeppiel/apm★ 4.5ksame name
    4. microsoft/apm★ 4.5ksame name
    5. Screenly/Anthias★ 3.7ksame name
    6. Netflix/bpftop★ 2.7ksame name
    7. tansu-io/tansu★ 1.9ksame name
    8. fim-ai/fim-agent★ 1.6ksame name
    9. fim-ai/fim-one★ 1.6ksame name
    10. libredb/libredb-studio★ 1.4ksame name

    30 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 repository2 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 8 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 8

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    When MCP work in that binary should ride the next desktop cut, notify Blowhorn Engineering (desktop app) and Instinct (desktop release …

    line 65
  2. Distinctive:

    Do these in order. Do not add a cross-repo trigger.

    line 71
  3. Very specific:

    Cloud: Wait until production Cloud's /api/system/version meets the floor you will pass as MIN_CLOUD_VERSION (X.Y.Z or production-vX.Y.Z).

    line 77
  4. Very specific:

    If Cloud is behind, do not start make cut-release.

    line 86
  5. Very specific:

    Add the version to CHANGELOG.md.

    line 94
  6. Very specific:

    Run make generate, then make check.

    line 95
  7. Very specific:

    When unset, staging signed-in is a named skip (staging test account not provisioned) and does not fail the release.

    line 135
  8. Distinctive:

    Never recut a published version to retry a later step under a new tag.

    line 165
  9. Distinctive:

    Do not cut a desktop DMG, and do not wait on private-repo CI.

    line 169
  10. Very specific:

    Do not trigger Cloud, meshery-cloud or meshery/schemas from this repo or this workflow.

    line 170
  11. Distinctive:

    Do not publish npm or the registry by hand except for the documented last-resort registry login in MAINTAINERS.md, and never as a way to …

    line 172
  12. Very specific:

    Do not hand-edit server.json.

    line 175
  13. Distinctive:

    Do not invent a second release workflow that omits deploy or verification.

    line 176
  14. Distinctive:

    Do not print tokens, passwords or the test account.

    line 177
  15. Very specific:

    Do not store an MCP token as a smoke secret.

    line 178
  16. Distinctive:

    After the publish run is green, report all of this to Yi, in America/Chicago time, without "want to know?" questions:

    line 183

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

The hosted MCP server clients use is Cloud's /mcp. This repository's Worker is the public transport at https://mcp.blowhorn.ai/mcp: it proxies MCP to Cloud, and answers RFC 9728 metadata, /healthz and the unauthenticated 401 challenge locally. Cloud's MCP surface ships with Cloud releases, which Cloud cuts on every green merge. This repository never triggers a Cloud or meshery/schemas release. The release workflow verifies Cloud, then publishes and deploys the Worker.

The one front door is make cut-release MIN_CLOUD_VERSION=X.Y.Z on an up-to-date master after the version bump has merged. That tags vX.Y.Z, starts .github/workflows/publish.yml, and waits for it. The workflow:

  1. Confirms production Cloud's /api/system/version is at least MIN_CLOUD_VERSION (the check script owns the URL; hosted/scripts/check-cloud-version.js). No secret is required.
  2. Publishes blowhorn-mcp to npm with provenance (OIDC; skipped if that version is already on npm).
  3. Publishes server.json to the MCP Registry. The listing is remote-only (no packages array). make check already validated server.json against the vendored official schema. A missing or empty packages is accepted; when packages is present, every entry's version must equal the release.
  4. Deploys the hosted gateway to production and staging (hosted-deploy.yml), each with /healthz and the deployment check.
  5. Re-checks the Cloud version floor, then runs make hosted-smoke-login: initialize and tools/list through https://mcp.blowhorn.ai and https://mcp-staging.blowhorn.ai with the test account's headless sign-in (test+mcp@blowhorn.ai). The password and email come from repo secrets BLOWHORN_MCP_TEST_PASSWORD and BLOWHORN_MCP_TEST_EMAIL, sourced from the Secrets spreadsheet and never printed. Production signed-in initialize and tools/list are a hard gate. Staging sign-in uses BLOWHORN_MCP_TEST_PASSWORD_STAGING at https://staging-cloud.layer5.io: when the secret is unset, that signed-in step is a named skip (staging test account not provisioned) and does not fail the release; when it is set, staging signed-in is a hard gate. Every other staging check stays a hard gate. A missing production password or a red smoke means the release is failed and must be fixed; do not recut the published version. Audience and token validation are unchanged.

The same smoke can be run anytime with the hosted-smoke.yml workflow_dispatch (default: both origins). Local make hosted-smoke-login is optional; if the password is not already in the environment, it is read from the Secrets spreadsheet into the environment only.

There is no desktop path here. Never run Blowhorn's make release, make desktop-release or desktop/scripts/release-mac.mjs. The stdio blowhorn mcp-server Rust binary (engine/rust/mcp in the private Blowhorn repo) ships inside the desktop app, not as a GitHub asset of this repository. When MCP work in that binary should ride the next desktop cut, notify Blowhorn Engineering (desktop app) and Instinct (desktop release engineering) and stop. Do not cut a DMG.

The chain before you cut

Do these in order. Do not add a cross-repo trigger.

  1. Schemas, only when x-mcp changed. Cut or wait for a meshery/schemas release that carries the change, then ask the Cloud maintainers (task id in the message) to bump that dependency and cut their Cloud release. That is their lane.
  2. Cloud. Wait until production Cloud's /api/system/version meets the floor you will pass as MIN_CLOUD_VERSION (X.Y.Z or production-vX.Y.Z). Confirm with make check-cloud-version MIN_CLOUD_VERSION=.... If a staging floor matters too, also pass MIN_STAGING_CLOUD_VERSION (N or staging-N).
  3. This repository. Bump, merge, then make cut-release as below. The workflow verifies Cloud again, deploys the Worker, and smokes both origins.

If Cloud is behind, do not start make cut-release. Message the Cloud maintainers with the task id and the minimum version, and wait.

Version bump PR

On a clean branch from origin/master:

  1. Bump version in package.json (plain X.Y.Z only, never a prerelease).
  2. Add the version to CHANGELOG.md.
  3. Run make generate, then make check. Never hand-edit server.json or the other generated listing files. make validate (via make check) holds server.json to schemas/vendor/mcp-server.schema.json.
  4. Open a PR. Every commit needs a Signed-off-by: DCO trailer and no Claude, Anthropic or other tool attribution in the message, co-author trailer or body.
  5. Merge on green. This is public-repo CI, which is allowed. No-mistakes is not required unless the PR also changes functional product code beyond this docs and release tooling path.

Cut it

From a clean master that matches origin/master, with gh signed in as someone who can push tags and dispatch publish.yml:

make check-cloud-version MIN_CLOUD_VERSION=1.0.394
make cut-release MIN_CLOUD_VERSION=1.0.394
# optional staging floor:
# make cut-release MIN_CLOUD_VERSION=1.0.394 MIN_STAGING_CLOUD_VERSION=6547

MIN_CLOUD_VERSION is required; there is no default. make publish alone is the resume path when the GitHub release already exists: make publish MIN_CLOUD_VERSION=1.0.394. Follow the run with gh run watch --repo blowhorn-ai/blowhorn-mcp. A maintainer may need to approve the npm environment before the publish job starts. Local make hosted-smoke-login is optional. To re-run only the smoke, dispatch .github/workflows/hosted-smoke.yml.

Repo secrets the verify job and hosted-smoke.yml need (never print them, never commit them):

  • BLOWHORN_MCP_TEST_PASSWORD: the test account password for production Cloud, sourced from the Secrets spreadsheet (secret name BLOWHORN_MCP_TEST_PASSWORD). Required. A missing secret fails the release; the production signed-in path is not skipped.
  • BLOWHORN_MCP_TEST_PASSWORD_STAGING: the test account password for staging Cloud (https://staging-cloud.layer5.io), sourced from the Secrets spreadsheet (secret name BLOWHORN_MCP_TEST_PASSWORD_STAGING). When unset, staging signed-in is a named skip (staging test account not provisioned) and does not fail the release. When set, staging signed-in is a hard gate.
  • BLOWHORN_MCP_TEST_EMAIL: the test account email (test+mcp@blowhorn.ai). When unset, the smoke script uses that default email.
  • SMOKE_HOSTED_ORGANIZATION_ID: optional. When unset, tools/call is skipped; initialize and tools/list still run and must pass.

CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID are the existing deploy secrets. Do not store an MCP token as a smoke secret; headless sign-in is the path CI uses. This workflow does not create or rotate any secret.

Resume

  • Failed before the tag exists: fix, then make cut-release again.
  • Tag and GitHub release exist, later step failed: do not move or delete a published tag. Re-run make publish MIN_CLOUD_VERSION=... for the same version. npm is skipped when that version is already on npm; the registry and the deploy plus verify run again.
  • Cloud is below the floor: do not rerun until Cloud meets it, or pass a floor that the current Cloud already meets when the release does not depend on a newer Cloud.
  • Hosted smoke failed, or signed-in initialize and tools/list did not pass: the release is failed. Fix the cause and re-run the smoke with hosted-smoke.yml or make publish for the same version. Do not recut the published version.
  • Smoke failed on a missing BLOWHORN_MCP_TEST_PASSWORD secret: add the secret from the Secrets spreadsheet, then resume with make publish or dispatch hosted-smoke.yml. Never print the password.
  • Never recut a published version to retry a later step under a new tag.

What NOT to do

  • Do not cut a desktop DMG, and do not wait on private-repo CI.
  • Do not trigger Cloud, meshery-cloud or meshery/schemas from this repo or this workflow.
  • Do not publish npm or the registry by hand except for the documented last-resort registry login in MAINTAINERS.md, and never as a way to skip deploy and smoke.
  • Do not hand-edit server.json.
  • Do not invent a second release workflow that omits deploy or verification.
  • Do not print tokens, passwords or the test account.
  • Do not store an MCP token as a smoke secret; CI uses headless sign-in with BLOWHORN_MCP_TEST_PASSWORD.

Report every release

After the publish run is green, report all of this to Yi, in America/Chicago time, without "want to know?" questions:

  • Version X.Y.Z and the GitHub release URL (tag vX.Y.Z)
  • npm: published or already present
  • MCP Registry: published, remote-only server.json
  • Hosted deploy: production https://mcp.blowhorn.ai and staging https://mcp-staging.blowhorn.ai, with healthz and the workflow run URL
  • Cloud versions seen versus MIN_CLOUD_VERSION (and the staging floor when one was set)
  • Hosted smoke: the CI make hosted-smoke-login result on both origins (pass, or that the release is failed and must be fixed)
  • Whether Blowhorn Engineering and Instinct were notified that Rust blowhorn mcp-server work should ride the next desktop cut

Maintainer narrative for the npm, registry and one-time trusted-publisher setup lives in MAINTAINERS.md. This skill is the procedure that cuts each later release.

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.