一键导入
rush-change
Generate a Rush change file for the current branch, handling merge-commit false positives automatically. Run with /rush-change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a Rush change file for the current branch, handling merge-commit false positives automatically. Run with /rush-change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Spawn the ACP-variant runtimes (claude-code-acp / codex-acp / copilot-acp). claude-code-acp validated; it surfaces real tool failures that native claude-code can't. Run with /test-acp-runtime. Pairs with /launch-grackle.
Spawn and exercise the native `claude-code` runtime against a test server, including the model names that work and the synthetic-tool-result gotcha. Run with /test-claude-runtime. Pairs with /launch-grackle.
Spawn the `codex` runtime against a test server. Use model `gpt-5.5` (requires Codex SDK >= 0.135.0). Run with /test-codex-runtime. Pairs with /launch-grackle.
Spawn and exercise the `copilot` runtime against a test server. CRITICAL: gpt-4o does NOT work — use claude-sonnet-4.5. Run with /test-copilot-runtime. Pairs with /launch-grackle.
Investigates code bugs and files GitHub issues.
Pure coordinator that decomposes work and delegates to subagents.
基于 SOC 职业分类
| name | rush-change |
| description | Generate a Rush change file for the current branch, handling merge-commit false positives automatically. Run with /rush-change. |
This skill generates a Rush change file for the current branch. It detects merge-commit false positives (where rush change --verify flags packages that have no real diff against main) and handles them automatically.
All publishable packages use lockstep versioning — they share the same version number. Rush will always flag @grackle-ai/cli as the package needing a change file, regardless of which package you actually changed. This is because Rush picks one representative package from the lockstep group.
The change file is always created for @grackle-ai/cli, but the comment and bump type should describe ALL the changes in your PR across ALL packages. For example, if you changed packages/server/ and packages/mcp/, the change file is still for @grackle-ai/cli but the comment should describe the server and MCP changes.
git fetch origin
node common/scripts/install-run-rush.js change --verify 2>&1
If this passes (exit 0), no change file is needed. Report success and stop.
Rush says a change file is needed. Now determine whether publishable packages actually changed, or if this is a merge-commit false positive.
Get the net committed diff against main (explicit two-ref diff — compares branch tip to origin/main, ignoring merge commit artifacts and uncommitted changes):
git diff --name-only origin/main HEAD
Check if any of the changed files fall within a publishable package directory:
packages/cli/packages/common/packages/powerline/packages/server/packages/adapter-sdk/packages/mcp/If the diff touches publishable package directories, this is a real change that needs a proper change file.
Examine the diff to determine the appropriate bump type:
patch — bug fixes, internal refactoring, dependency updates, test-only changesminor — new features, new APIs, backwards-compatible additionsmajor — CI blocks major bumps (pre-1.0)none for real changes — all publishable packages ship together in lockstep, so any real change (even test-only) should be patch or minorWrite a concise comment describing the change (what it does, not what files changed).
Get the commit email for the change file:
git config user.email
Generate the change file:
node common/scripts/install-run-rush.js change --bulk \
--message "placeholder" \
--bump-type patch \
--email "$(git config user.email)"
IMPORTANT: You MUST edit the generated file. The --bump-type flag is unreliable and may produce "type": "none" regardless of what you passed. Find the generated JSON file in common/changes/@grackle-ai/cli/ and edit it:
"comment" to the real description"type" to the correct bump type (patch or minor) determined above--bump-typeIf the diff does NOT touch any publishable package directories, Rush is flagging packages due to merge commits bringing in files from main. Generate a none change file:
node common/scripts/install-run-rush.js change --bulk \
--message "placeholder" \
--bump-type none \
--email "$(git config user.email)"
No need to edit the comment — "placeholder" is fine for none type changes.
Run verify again to confirm the change file satisfies Rush:
node common/scripts/install-run-rush.js change --verify
If it passes, commit:
git add common/changes/
git commit -m "Add rush change file"
If it still fails, read the error output and generate additional change files as needed (Rush may flag multiple packages in rare cases).
Summarize: