release-package
Prepare a release of @coreai-ds/react-components: reconcile the changelog, bump the version, validate the package, and open a release PR. Use when asked to release or publish the npm package.
- License 许可
- CC-BY-4.0
- 最近更新
- 2026-11-06
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- release-package
- description
- Prepare a release of @coreai-ds/react-components: reconcile the changelog, bump the version, validate the package, and open a release PR. Use when asked to release or publish the npm package.
03 SKILL.md 正文
Prepare a package release PR
Read RELEASING.md first.
The deliverable is an open pull request against microsoft/coreai-design-system:main,
not a local plan. Do not merge it, create tags/releases, publish locally, or change
repository variables, environment protections, or credentials. Once enabled, Actions
publishes the version-changing main commit after CI succeeds and tags it vVERSION.
- Check the remote, worktree, GitHub account, and existing release PRs. Follow the
github-accountsskill before usinggh. Usearniebradfofor this repository. Preserve unrelated edits; do not include them in the release. Start from currentorigin/mainonrelease/vVERSION. If unrelated work prevents a clean release, use a separate worktree or ask the user rather than resetting their work. - Read the manifest, root lockfile, changelog, publishing workflow, Git tags, and public npm version metadata. Confirm the requested version; if unspecified, propose the appropriate semver increment and ask before bumping. The first public release is 0.12.0, not the manifest's historical 0.11.1 plus a patch.
- Establish the last released source baseline. Review every merged PR and commit
since it, including first-parent merges and package source differences. Reconcile
user-visible changes with
[Unreleased]and give explicit consumer migrations for breaking changes. No tags exist before the first public release: document that limitation and review the available history rather than inventing a baseline/tag. Historical 0.11.2 includes provider circular-dependency fix567dc9a, merged in PR #9; its exact privately published source baseline is unconfirmed. - Run
npm version VERSION --workspace packages/react-components --no-git-tag-version. Update the package manifest and root lockfile together. Roll[Unreleased]into[VERSION] - YYYY-MM-DD, add a fresh[Unreleased], and update heading anchors. For 0.12.0, retain the first-public-npm-release statement and historical fixes. Do not add comparison links to tags that do not exist yet. - Run the release guide's local checks with existing dependencies. Install/restore
dependencies only if needed after a dependency change or missing-dependency error.
Verify an actual tarball; never ship font binaries or rely on
publishConfigto rewrite exports. Do not claim checks passed unless they ran successfully. - Check release readiness without reading secret values: the repository's
NPM_PUBLISH_ENABLEDvariable, main review/CI rules,npm-productionmain-only environment, presence of theNPM_TOKENsecret, and Actions tag/release permissions. Missing publishing setup must be reported in the PR; never enable it yourself. Distinguish a confirmed npm package 404 from an authentication/network failure. - Commit only release-scoped changes, including the required Copilot co-author
trailer, push the release branch, and use
gh pr createtargetingmain. Follow thecreate-prskill. Include version, baseline evidence/limitations, changelog reconciliation, checks and results, and publishing readiness blockers. Explain that merging authorizes automatic publication when enabled. Never use--adminor bypass checks. Report the PR URL and stop; the user reviews/merges.
For a cold-start test, perform this same PR-opening workflow. Do not stop after describing what you would do. An incorrect test PR can be closed without publishing. If blocked, report the exact blocker rather than claiming the release is ready.
04 同仓库更多 Skills
coreai-ds-fluentui-react
MANDATORY for @coreai-ds/react-components work. Use the CoreAI documentation MCP to discover components, props, stories, templates, and implementation patterns. If the MCP is unavailable, stop and ask the user to enable or troubleshoot it with you.
state-management
CoreAI Sandbox's simplified TanStack Query + mock-JSON data layer. USE WHEN: editing data-fetching hooks (`app/hooks/use*.ts`), adding mock data in `app/data/`, or wiring a component to query state.
start-app
Start the CoreAI Sandbox dev server and open it using available browser tools. USE WHEN: the user asks you to "start the app", "run the dev server", "open the app", or "launch CoreAI Sandbox".
routing
React Router v7 routing conventions for this SPA. USE WHEN: editing `app/routes.ts`, adding/removing a route, or changing navigation.
react-components
CoreAI Sandbox component usage: import boundaries, CoreAI MCP documentation, and local adapter inspection. USE WHEN: editing any `*.tsx` file, picking a component, or writing component imports.
new-variant
Create a new design variant or alternative for a page using the built-in feature/variant system. USE WHEN: a designer wants to try a different layout, create an "option B" or "version 2", compare designs side by side, add an A/B alternative, or explore an alternate version. Do NOT build a custom toggle solution.