用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/kdcllc/AI-Driven-Dev-Env --skill open-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | open-pr |
| description | Publish an existing branch safely by checking branch state, syncing it, and creating or reusing a pull request. |
| domain | workflow-automation |
| confidence | high |
| source | earned |
| tools | [{"name":"gh","description":"Inspect pull requests, push branches, and create PRs from the CLI.","when":"Use when a branch already exists locally and you need to publish or reuse a PR."}] |
Use this when a branch already contains the intended work and the job is to get it reviewed without rewriting history. It is especially useful for automation-heavy branches where the safest move is to verify state, push once, and avoid duplicate PRs.
git status --short --branch to confirm whether there are uncommitted changes.gh pr list --head <branch> before creating a new one.git rev-parse HEAD && git rev-parse origin/<branch> to detect whether a push is needed.gh pr list --head feat/automatic-repo-summurization --json number,title,urlgh pr create --base master --head feat/automatic-repo-summurization --title "<title>" --body-file <file>