agentleFS
leemourleemour/max-cli/.claude/skills/release/SKILL.md

release

Skill9 starsChanged 58 days agoMITView on GitHub

Prepare and verify a max-cli release — run release:check, draft the changelog in the fixed headings, audit the docs against what changed, review the change against the requirements, run the live scenarios with the owner, write the signed release report that bin/release requires. Use when asked to release, prepare a release, cut a version, «выпуск», «выпустить версию».

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

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    every ruling the diff touches: grep docs_ai/DECISIONS.md for the changed commands, files and NEED- ids named in the PRs.

    line 72
  2. Very specific:

    Run with bin/max from the release worktree, after pnpm build.

    line 91
  3. Very specific:

    Follow the plan's rules: --json, a timeout on everything, the shape recorded and never the content, a snapshot before a change and the …

    line 97
  4. Very specific:

    Write docs_ai/releases/<version>.md (the template is in docs_ai/releases/README.md):

    line 103
  5. Very specific:

    Commit and push docs_ai/. Then tell the owner: the report path, and that bin/release on main publishes once they have signed it.

    line 114

“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

Release max-cli

A release is reliable when two things agree: pnpm release:check (everything a program can decide) and the release report docs_ai/releases/<version>.md (everything that needs judgement, signed by the owner). bin/release refuses to publish without both. The publishing steps themselves are in docs_ai/releasing.md — follow them from there, do not restate them.

docs_ai/ is the private repository leemour/max-cli-private, cloned into the main checkout. A fresh clone of this repository does not have it: without it there are no live scenarios and no report, so stop and say so. Correction 2026-10-01: bin/release stops there too, naming that repository. A fork with its own signed report passes it as bin/release --report <path>: the same checks, and on a renumber the file is rewritten in place for the caller to commit.

Nothing in this skill sends, publishes, tags or merges without the owner's word in this session.

The steps max and tg share are written once, in cli-messaging's RELEASING.md; this skill orders them for max and adds what is max's: the Russian changelog, the private scenarios and the signed report.

0. Scope: what changed

The commands in RELEASING.md, "What changed"; the docs/commands.md diff drives steps 3–5. Work on a release branch off main, in a worktree; the version bump and the changelog go in one pull request, as in docs_ai/releasing.md steps 1–2.

1. The mechanical checks

pnpm release:check

One ok / FAIL line per check: version not on npm and in step, changelog shape, web client version age, docs links and user-page rules, lint, typecheck, test, Bun, generated files and the test matrix, package contents, secrets. On the release branch before the changelog is dated, "changelog" and "version not on npm" are expected to fail; everything else must pass. Fix nothing here on your own judgement — report each failure and what it means, then fix in the release PR.

2. The changelog

Draft the top section of CHANGELOG.md from the merged PRs, by the rules in docs/dev/CONVENTIONS.md, "The changelog": heading exactly ## <version> — DD.MM.YYYY (until then ## Не выпущено), the five headings only, and every entry says what changed as the user sees it, why (unless obvious), and what to watch for — who is affected, what can break, what to do. Read each PR's body and diff for the why and the effect; a PR title is not enough, and a fix can hide in a PR titled as something else.

Show the draft to the owner. They accept or edit it before it goes in.

3. The docs against the diff

RELEASING.md, "The docs against the diff", over README.md, docs/*.md and skills/max-cli/SKILL.md (agents read it through max skill show). User pages get plain rewrites with no «Поправка» (docs/dev/CONVENTIONS.md, "User pages"); docs/commands.md and docs/dev/protocol.md are generated — pnpm generate.

4. Requirements and focus

Review the diff against:

  • docs_ai/REQUIREMENTS.md §3 — one operation per invocation, JSON for agents, the personal account first, bots as max bot;
  • the six constraints in CLAUDE.md. Constraints 3 (stdout carries data only), 5 (no MAX type above the adapter) and the test sandbox have mechanical guards and passed in step 1. Review 1 (nothing sends, marks read or acknowledges unless asked), 2 (we look like the official client), 4 (every exit path closes what it opened) and 6 (no message, token or phone in a log, fixture or document) by reading the changed code;
  • every ruling the diff touches: grep docs_ai/DECISIONS.md for the changed commands, files and NEED- ids named in the PRs.

Each item gets holds or broken with path:line. A broken item stops the release until it is fixed or the owner rules on it.

A FAIL caused by the account's state rather than the build — a live check or the smoke — is still reported and still stops the release until the owner rules (a NEED). Show that the code did not change: git diff --stat v<prev>..HEAD -- <the paths that step exercises>.

5. Live scenarios

docs_ai/plans/2026-09-28-live-scenarios.md holds the scenarios, the cast and the rules for running. How to run one — bin/max, the shape-only helper, snapshot and restore — is the test-live skill.

  1. Map each changed command to the scenarios that exercise it (P, G, C, T, X ids). The ⛔ rows of docs/dev/test-matrix.md name commands that only a live run checks — include every changed one.
  2. Show the list to the owner and wait for yes (NEED-150). Never run a scenario that the plan's "Not run, and why" table rules out, whatever the diff says.
  3. Run with bin/max from the release worktree, after pnpm build. It copies the owner's sessions from the installed max on first use, so no profile needs session start.
  4. MCP scenarios (X2): pnpm mcp:tools -- mcp, -- mcp --allow-send, -- mcp --allow-send --confirm-send, -- <bot> bot mcp — the count and names per flag set. Compare with the previous release's X2 row in the Results table; a count that moved needs a PR that explains it.
  5. pnpm smoke:live — every write once in Saved messages, cleaned up after. Any FAIL: no release.
  6. Follow the plan's rules: --json, a timeout on everything, the shape recorded and never the content, a snapshot before a change and the exact value put back after.
  7. Append the results to the plan's Results table, dated, with the version.

6. The report

Write docs_ai/releases/<version>.md (the template is in docs_ai/releases/README.md):

  • Commit: <sha> — the full SHA of main after the release PR merged; bin/release compares it with HEAD. Merging anything else afterwards means running step 1 again and a new SHA. If npm has the version by the time it runs, bin/release merges the next free number itself and carries the signed report to it — only when that pull request changes nothing but the number;
  • one row per step above: result and evidence — the release:check output, the changelog as accepted, the doc findings and where they were fixed, the requirements verdicts, the live scenario rows and the smoke result;
  • no Signed off: line — the owner adds it, with the date (Signed off: YYYY-MM-DD — owner). Never write it yourself.

Commit and push docs_ai/. Then tell the owner: the report path, and that bin/release on main publishes once they have signed it. Run bin/release only when they say so.

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.