Promote

From Kevin-Liu-01/Agent-Machines · View interactive version

Promote is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. Create a changelog-style promotion PR from dev to preview.

How to use this skill

Skill file

Context (auto-detected)

Script

${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:

Note: This skill is ONLY for dev -> preview. Promoting preview -> main is handled by a fast-forward push (pnpm ship prod) after release-please runs on preview.

Task

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.