跳到正文
cccskills
免费在 GitHub 公开

release

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 → apply flow, then runs a sanity build. Does NOT git-commit/tag or npm-publish — proposes those for the user to run.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md6.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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)

  • A version or bump type: /release patch, /release minor, /release major, or an explicit number /release 4.4.0. If omitted, the skill proposes a bump from the changes since the last release and asks you to confirm.
  • --apply-all skips the per-area approval prompt and applies the whole audited plan (still 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.
  2. Propose a SemVer bump with a one-line rationale:
    • patch — bug fixes / internal only, no public API change
    • minor — new backwards-compatible options/plugins/themes/methods
    • major — breaking change to public API, option groups, getValue() shape, exports, or the tp-ui- CSS class contract (requires migration notes)
  3. 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).
  2. 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.
  3. 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.
  4. 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

  • Run the full suite and a build to confirm nothing broke: cd app && npm test && npm run build:prod, 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.
  • Summarize: new version, every file changed (grouped: package.json / README / CHANGELOG / docs-app), and confirmation that exports / sideEffects / entry points / zero-dependency / tree-shaking are intact.
  • Propose the release commands for the user to run — git is theirs: a commit message, the tag (vX.Y.Z), and the publish step (npm publish). Do NOT run git add/commit/tag/push or npm publish yourself.

Guardrails

  • One source of truth for the version (root package.json). NEVER touch the version field of 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.
  • Never rewrite historical version references or past changelog entries.
  • Keep .claude/, library and docs-app files CRLF.
  • This skill prepares a release; it does not execute git or npm publish.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

a11y

免费

Audit and improve the accessibility of the timepicker-ui LIBRARY (app/src) - ARIA, keyboard operability, focus trap/management, screen-reader announcements, labels - against WCAG 2.2 AA and the WAI-ARIA Authoring Practices. Use when the user wants an a11y audit/fix of the picker itself (clock, wheel, plugins, modal, inputs). Drives the accessibility subagent in an audit → approve → apply flow. Does NOT cover docs-app (use /docs-a11y for that).

中文简介正在准备中。当前显示原文说明。

pglejzer/timepicker-ui1012026年10月20日 更新

docs-a11y

免费

Audit and improve the accessibility of the timepicker-ui documentation site (docs-app/) - landmarks, heading order, skip links, keyboard nav, focus management in the command menu / sidebar / dialogs, color contrast, alt text, ARIA on custom components (tabs, native dialogs), reduced motion - against WCAG 2.2 AA. Use when the user wants an a11y audit/fix of the docs site. Drives the docs-accessibility subagent in an audit → approve → apply flow. Does NOT cover the library (use /a11y for that).

中文简介正在准备中。当前显示原文说明。

pglejzer/timepicker-ui1012026年10月20日 更新

docs-seo

免费

Audit and improve the discoverability of the timepicker-ui documentation site (docs-app/) across the full modern discoverability stack — SEO (ranking), AEO (answer engines / featured snippets), GEO (citations inside ChatGPT/Gemini/Perplexity/Claude), and AIO (Google AI Overviews). Use when the user wants to optimize docs SEO, improve Google ranking/positioning, win featured snippets or AI-answer boxes, get the docs cited by AI engines, add or fix sitemap/robots/manifest, fill in page metadata, add Open Graph/Twitter cards, answer-first copy, or JSON-LD (FAQPage/SoftwareApplication/TechArticle/BreadcrumbList). Drives the seo-optimizer subagent with an audit → approve → apply flow.

中文简介正在准备中。当前显示原文说明。

pglejzer/timepicker-ui1012026年10月20日 更新

Full repository maintenance pipeline that orchestrates all project agents in sequence - code review, accessibility, bundle size, security, API stability, test coverage, ecosystem, and release preparation. Acts as a quality gate before publishing or merging major changes. Use when: maintenance, health check, pre-release audit, quality gate, full pipeline, repo health, pre-merge check, release readiness, audit all.

中文简介正在准备中。当前显示原文说明。

pglejzer/timepicker-ui1012026年10月20日 更新

verify

免费

Browser-check what a change could have broken in timepicker-ui (library demo and docs-app, before/after). Use at the end of a task that changed library behavior or styles (app/src) or docs-app pages, or when the user asks to check that nothing broke. Not for demo examples in app/docs, copy/typo/comment edits or one-line fixes (HARD RULES §5 in CLAUDE.md). Main agent only, never delegated to a subagent.

中文简介正在准备中。当前显示原文说明。

pglejzer/timepicker-ui1012026年10月20日 更新

查看 pglejzer 的全部技能

报告此技能的问题