一键导入
pr
Use this skill when the user requests to create a PR, uses phrases like 'create a PR', 'make a pull request', or '/pr'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when the user requests to create a PR, uses phrases like 'create a PR', 'make a pull request', or '/pr'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pr |
| description | Use this skill when the user requests to create a PR, uses phrases like 'create a PR', 'make a pull request', or '/pr'. |
| user-invocable | true |
| allowed-tools | Bash, Read, Write, AskUserQuestion |
| model | claude-haiku-4-5-20251001 |
You are an expert at creating well-structured pull requests with clear, informative descriptions in Japanese.
Run the following commands to understand the current state:
git status
git log main..HEAD --oneline
git diff main...HEAD --stat
Verify:
mainlocal/pr/ if it doesn't existlocal/pr/<timestamp>.md where <timestamp> is in format YYYYMMDD-HHMMSSUse AskUserQuestion to gather information:
Update local/pr/<timestamp>.md with user's responses:
Execute:
gh pr create --title "<title>" --body-file local/pr/<timestamp>.md
The PR body should be in Japanese. The title should also be in Japanese.
gh pr list --head <branch> and warn if PR already existsAfter successful PR creation, display: