create-pr
Create a pull request for this repo. Use when asked to open/raise/make a PR. Reminds you to update changelogs
- License 许可
- CC-BY-4.0
- 最近更新
- 2026-11-14
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- create-pr
- description
- Create a pull request for this repo. Use when asked to open/raise/make a PR. Reminds you to update changelogs
- argument-hint
- e.g. "open a PR for my changes"
03 SKILL.md 正文
Creating a pull request
PR scope and component verification
Before opening the PR, resolve its target and inspect all proposed changes, including staged, unstaged, and relevant untracked files.
For consumer-visible CoreAI component changes, follow
component-test in changed components mode. Include its status in the
PR summary, and do not open the PR if verification is Blocked or Unverified.
Documentation
Before opening a PR, make sure the docs are up to date where relevant:
- Changelog — if the change affects
@coreai-ds/react-components, add an entry under[Unreleased]in CHANGELOG.md. - Variations from Fluent — if the change adds, removes, or alters how a component differs from stock Fluent, update Variations from Fluent.
Skip whichever doc doesn't apply (e.g. Storybook-only or docsite-only changes usually need neither). Component-test may inspect these files as supporting evidence but does not edit them. If its handoff reports a documentation mismatch, resolve it through this create-pr documentation workflow.
Quality checks
Before opening the PR, run this repository's license-header check, formatter, and linter from the workspace root:
npm run license:check
npm run format
npm run lint
Resolve any missing license headers with npm run license:fix, then rerun the check. Resolve any
lint failures. If either fixer changes files, review and commit those changes before opening the PR.
Then open the PR with the gh CLI (gh pr create). Use only gh for this — if it isn't installed or the user isn't authenticated, prompt them to install it (https://cli.github.com) or run gh auth login, and stop until that's resolved.
Assignee and reviewers
- Assignee — the author of the PR (assign it to themselves).
- Reviewers — everyone else on this team (exclude the author or the command will fail):
arniebradfo— James Bradford - UX EngineerOwen-Richard— Owen Richard - UX Designerunthinkmedia— Alex Britez - UX Engineertinydinosaurs— Dana Lachman - UI Engineerkhamudom— Kham Udom - UI Engineer
- Optional reviewers — add when the PR touches specific areas:
weastler— Will Eastler - UX Engineer - when updating anything related to build or deployment.
Set these with gh pr create (--assignee, --reviewer) or gh pr edit after creating the PR not inline as that will cause failures.
Assigning reviewers requires the read:project scope on the gh token. If it's missing, the command fails with a scope error. You can't complete the gh sign-in flow on the user's behalf, so prompt them to add the scope themselves by running:
gh auth refresh -s read:project
Then wait for them to confirm it's done before retrying.
04 同仓库更多 Skills
coreai-ds-fluentui-react
Docs/skill v0.1.1; package v0.12.0. Use when building, styling, reviewing, or debugging React UI with @coreai-ds/react-components. Fetch CoreAI Markdown documentation over HTTPS for components, APIs, defaults, templates, tokens, and accessibility guidance.
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.