一键导入
write-pr
Write PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Plan and execute a task end-to-end with atomic commits and a draft PR. Breaks work into phases, creates a branch, implements each phase with verification, and opens a PR. Use when the user describes a task they want fully implemented, says "do this", "build this", "make this happen", or wants the full git lifecycle for a change.
Create and switch to a new git branch with the format eli/<short-description>. Use when the user asks to "make a branch", "create a branch", "new branch", "start working on", or wants to begin work on a new task.
Verify, commit, and push changes. Runs cargo check and clippy, then creates a conventional commit. Use when the user says "commit", "commit and push", "save my work", or after completing an implementation phase.
| name | write-pr |
| description | Write PR |
| allowed-tools | ["Bash(gh pr create *)","Bash(git diff *)","Bash(git log *)","Bash(git push *)","Bash(git status *)"] |
Create a draft PR for the current branch with a title and description.
gh pr create --draft --head <branch> --title <title> --body <body>
Format: [TICKET-ID] Short imperative title
[MTS2-2300] Remove cobalt::time module entirely.[NOJIRA].!`cat .github/pull_request_template.md 2>/dev/null || cat <<'DEFAULTTEMPLATE'
## Summary
<!-- One short paragraph explaining why this PR exists and what it does. -->
DEFAULTTEMPLATE`
Use the template above as the structure for the PR body. Fill in or replace placeholder sections with content derived from the actual changes. Preserve any checklists from the template as-is (don't check boxes unless you're confident the item is satisfied). Add a summary section at the top if the template doesn't already include one.