一键导入
init-pr
Create a placeholder PR from the current branch to warm CI caches.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a placeholder PR from the current branch to warm CI caches.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review PR changes for missing or outdated documentation, comments, and doc site content.
Audit the codebase for code quality, DRY violations, modularity, LaTeX/asm parity, doc freshness, and doc structure.
Write or update a PR title and description for the current branch, matching the style of recent PRs.
| name | init-pr |
| description | Create a placeholder PR from the current branch to warm CI caches. |
| disable-model-invocation | true |
| user-invocable | true |
init-prCreate a placeholder PR on the current branch so CI caches start warming while work continues.
Get the current branch name:
git branch --show-current
Extract the ticket ID from the branch name.
The branch name follows the pattern ENG-###
(possibly with a suffix). Use the ENG-###
portion as the placeholder title.
Confirm there is no existing PR for this branch:
gh pr list --head <branch> --json number
If a PR already exists, print its URL and stop.
Push the branch if it has not been pushed yet:
git push -u origin <branch>
Create a draft PR with the placeholder title and an empty body:
gh pr create --draft \
--title "<ENG-###>" \
--body ""
Print the new PR URL.