Prep major release

From brianwestphal/apple-fm · View interactive version

Prep major release is an AI agent skill from the GitHub repository brianwestphal/apple-fm. Prep apple-fm for a major release — refresh the README so it advertises the current feature set, and review/revise the demo modes (the user captures the screenshots)

How to use this skill

Skill file

Get apple-fm's public-facing material ready for a release: make the README

compelling and accurate to the current feature set, and review the demo modes

so the screenshots are the right ones. You do not capture the demos — you prepare

everything and hand off; the user runs the capture.

What "ready for release" means

The README and demos are the first thing a prospective user sees. After a batch of

changes they drift in two directions: a new headline feature ships but isn't

advertised, or a removed feature is still being sold. Both are bugs here. The

goal is a README that honestly and compellingly reflects what apple-fm does today.

Steps

  1. Establish the current feature set (source of truth = code + requirements).

docs/ai/requirements-summary.md. Shipped FR/NFRs are what's advertisable;

Partial ones can be mentioned with honest framing; Dropped/Removed ones

must not appear in the README.

USAGE) so command/flag examples in the README actually exist.

completed tickets. Look specifically for added features (new FR, new flag,

new export) and removed ones (a feat!/BREAKING CHANGE, a deleted module).

  1. Review README.md against that set. Read it top to bottom and check:

networked feature was added or removed, this line changes).

features. As of this writing those are: on-device & private (no key/cloud/network),

one-binary-three-shapes (probe/generate/chat), **guaranteed structured

output (guided generation), long coherent chat** (persistent session +

auto-compaction + Esc interrupt), tool calling (permission-gated local

read/bash), zero runtime deps, and future-proof (runtime model resolution).

Add a bullet for any shipped headline feature that's missing; delete any that no

longer ship.

ones).

the mechanism. Don't pad with an imageless section if a bullet does the job.

  1. Upgrade the demo tooling (domotion-svg) to the latest, if out of date. The

demos are rendered with the domotion CLI from the domotion-svg dev-dependency, so

a release should capture on the current renderer. Do this before reviewing/capturing

demos so the review reflects what will actually ship.

npm view domotion-svg version (latest — or, if the npm cache is unwritable in this

environment, curl -s https://registry.npmjs.org/domotion-svg | ... reads the

dist-tags.latest). If they match, skip the rest of this step.

package.json + the lockfile).

scripts/lib/cast.mjs are **pure string transforms keyed off domotion's output

shape** (a frame is <g class="f f-N">; the cast frame wraps a nested <svg>), and

look for renderer version references (search for domotion 0.35

and similar). A domotion upgrade can change that output shape and silently break the

window-dressing / title-card compositing.

tripwire for shape drift. Fix any breakage in window.mjs / cast.mjs and their

tests.

scripts/lib/*.mjs, and this skill's examples) to the new version so they don't

lie about which renderer they target.

against the real on-device model (the user's capture step), **flag in your hand-off

report** that domotion was upgraded from X→Y and that the recaptured SVGs should be

eyeballed for regressions.

  1. Review the demo modes in scripts/demo.mjs (the DEMOS array). Each entry is

a { slug, title{eyebrow,headline,subtitle}, cmd, capture } (the chat one is

composed turn-by-turn). For each, decide: does it still showcase a current,

compelling capability? Consider new / different / fewer:

the real on-device model (non-deterministic output), so a good demo is one

whose value shows even with varying wording. Be wary of demos that depend on the

model reliably doing something specific (e.g. calling a tool on cue) — those make

flaky, embarrassing assets. Prefer prose in the README for those.

feature; revise the title/cmd/capture text.

<img> from the README).

unless you intend to rename the output file (then update the README <img src>).

pure demo-composition logic (buildChatFrames / parseChatTranscript).

  1. Verify the non-capture changes. npm run lint && npm run typecheck && npm test

should stay green (README is prose; demo.mjs is covered by demo.test.ts). Fix any

breakage before handing off.

  1. Hand off the capture — do NOT run it yourself. The demos are captured by

npm run demo (build + node scripts/demo.mjs), which runs the real on-device model

and drives headless Chromium via domotion. Summarize for the user:

watches the recaptured SVGs for renderer regressions,

— minor rendering details drift between captures),

that model-loading is blocked by the command sandbox (it surfaces as

modelNotReady even though --probe says available) — so the capture must run

unsandboxed / in a normal terminal.

Then stop and let the user capture. (Only run npm run demo yourself if the user

explicitly asks you to in this invocation.)

Don't

release) derives the bump from conventional commits — a feat!: / BREAKING CHANGE:`

footer yields a major bump automatically. See

docs/5-releasing.md. (This is separate from the

domotion-svg dev-dependency bump in step 3, which you should do.)

on-device model + an unsandboxed run).

real export/flag.

Report

End with: the README edits made (and why), any domotion-svg upgrade (X→Y, plus

any window.mjs / cast.mjs transform fixes it required), the demo-mode changes (added /

revised / removed, with the reasoning for any new-vs-prose call), the verify result

(lint/typecheck/test), and a clear "ready to capture — run npm run demo (unsandboxed)"

hand-off line.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.