用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Kevin-Liu-01/Agent-Machines --skill promote命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | promote |
| description | Create a changelog-style promotion PR from dev to preview. |
| allowed-tools | Bash(node --experimental-strip-types *) |
| argument-hint | [--from dev] [--to preview] [--dry-run] |
git log --oneline upstream/preview..upstream/dev 2>/dev/null || echo "(run git fetch upstream first)"${CLAUDE_SKILL_DIR}/scripts/promote.ts handles everything: fetch, changelog generation, and PR creation.
It opens the PR from a generated promote/<from>-to-<to> branch so preview lockfile sync can
commit generated lockfiles without pushing directly to dev.
Flags:
--from <branch> source branch (default: dev)--to <branch> target branch (default: preview)--remote <name> git remote (default: upstream)--promote-branch <branch> generated PR branch override--dry-run print the PR body to stdout without creating the PRNote: This skill is ONLY for
dev->preview. Promotingpreview->mainis handled by a fast-forward push (pnpm ship prod) afterrelease-pleaseruns onpreview.
Run the script. Pass through any flags from $ARGUMENTS.
node --experimental-strip-types ${CLAUDE_SKILL_DIR}/scripts/promote.ts $ARGUMENTS
If the script exits non-zero, report the error to the user and stop. Otherwise, print the PR URL it outputs.