Release

From pglejzer/timepicker-ui · View interactive version

Release is an AI agent skill from the GitHub repository pglejzer/timepicker-ui. Cut a new timepicker-ui release. Use when the user wants to bump the version, prepare a release, write/update the changelog, or sync version + changelog across README, CHANGELOG.md and the docs-app (changelog/what's-new/version strings). Drives the build-release subagent in an audit → approve → appl

How to use this skill

Skill file

Release

Prepare a complete, consistent timepicker-ui release in one flow. This skill is a thin

orchestrator: the real work is done by the build-release subagent. The skill exists to

decide the version with you and to hold the approval gate the subagent can't run itself.

The version source of truth is the root package.json (timepicker-ui) — the ONLY version

field a release ever changes. app/package.json (build workspace) and docs-app/package.json

(docs site) are each a separate application's own version; a release NEVER touches their

version field. What a release does in docs-app/ is update the **content that references the

library version** — the changelog page, what's-new, and npm i timepicker-ui@x.y.z install

snippets — not the docs site's own app version.

The changelog is about the library, not the docs site. CHANGELOG.md and the docs-app

changelog page record changes to the published timepicker-ui package only. Changes to

docs-app/ itself (SEO, page content, demo fixes, favicons, docs-site bugs) are NEVER logged

and never bump the version — the docs site is a separate app the library does not track. The

docs-app changelog page just presents the library changelog. If a release touched only

docs-app/, there is no library release to cut — say so instead of inventing entries.

Arguments (optional)

number /release 4.4.0. If omitted, the skill proposes a bump from the changes since the last

release and asks you to confirm.

reports + sanity-builds at the end). Use only for an explicitly unattended run.

Workflow

Phase 1 — Decide the version (gate)

  1. Read the current version from root package.json. Skim what changed since the last release

(read-only git log / git diff against the last release tag/commit, plus the working tree)

to judge magnitude. The branch name (e.g. feature/4.4.0) is a strong hint at intent.

  1. Propose a SemVer bump with a one-line rationale:

tp-ui- CSS class contract (requires migration notes)

  1. Use AskUserQuestion to confirm the exact new version before anything else. If the user

passed a version/bump as an argument, still confirm it. The number is a promise to consumers.

Phase 2 — Audit (read-only)

Dispatch the build-release subagent (Task tool, subagent_type: build-release) in audit mode

with the confirmed new version. Ask it to return a file-level plan, making NO edits:

  1. Every place that must be bumped (root package.json; README version-pinned Socket badge +

any Features/Options/Themes/Plugins/API/Upgrading sections affected by this release).

  1. The historical version references it will deliberately leave untouched (prior CHANGELOG

entries, docs-app <Section> blocks, "Removed in v4.0.0", migration guides) — listed so you

can see nothing historical gets rewritten.

  1. A drafted CHANGELOG.md entry (## [x.y.z] - YYYY-MM-DD with the date the user gave, else

Unreleased; grouped Added/Changed/Fixed/…; entries per .claude/rules/writing.md, about 25

words each) derived from the actual diff/commits — not invented.

  1. The matching docs-app updates: a new <Section> for app/(site)/docs/changelog/page.tsx, the

what's-new highlights, and any install/banner version strings.

Phase 3 — Present & approve (gate)

Relay the plan concisely: proposed version, the drafted changelog, the bump list, and the

"leave historical" list. Use AskUserQuestion to approve as-is, edit the changelog copy, set the

release date (or keep Unreleased), or narrow scope (e.g. skip docs-app this round). Capture the approved version + final changelog

text. Do not skip this gate unless --apply-all was passed.

Phase 4 — Apply

Dispatch build-release again in apply mode with the approved version and final changelog.

It edits root package.json, README (badge + affected sections), CHANGELOG.md, and the

docs-app changelog/what's-new/version strings — bumping only current-version references and

leaving historical ones intact. docs-app files follow docs-app's own conventions and stay CRLF.

After the docs-app timepicker-ui dependency is updated (the user runs the install), the main

agent runs node docs-app/scripts/generate-css-reference.mjs and reviews the diff of

docs-app/lib/generated/css-reference.json.

Phase 5 — Sanity build & report

then /verify --full. Report pass/fail with the real output — never claim green without running

it. Skip a step only when the user says so.

docs-app), and confirmation that exports / sideEffects / entry points / zero-dependency /

tree-shaking are intact.

a commit message, then a GitHub release whose tag is the new version (X.Y.Z or vX.Y.Z).

Publishing that release runs .github/workflows/publish.yml, which builds, tests and

publishes to npm. Do NOT run git add/commit/tag/push, gh release or npm publish yourself.

Guardrails

app/package.json or docs-app/package.json — those are separate apps, not the library. In

docs-app/ a release only edits content that references the library version (changelog /

what's-new / install snippets), never the docs site's own version.

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.