pr
GitHub根据当前分支变更,使用结构化模板生成并创建 Pull Request。包括检查 git 状态、拟定符合规范的标题和正文(摘要、原因、备注),并通过 gh pr create 工具提交,最后返回 PR 链接。
Trigger Scenarios
需要为当前代码变更创建 Pull Request
请求生成符合特定模板的 PR 内容
Install
npx skills add nicknisi/claude-plugins --skill pr -g -y
SKILL.md
Frontmatter
{
"name": "pr",
"description": "Create a pull request with a structured template",
"disable-model-invocation": true
}
Create Pull Request
Note: If we're on main, then create a new feature branch following this pattern: nicknisi/${feature}.
Create a PR for the current branch following this template:
Title
Concise description of the change. Keep under 72 characters.
Body Template
## Summary
<!-- 1-3 bullet points describing WHAT changed -->
## Why
<!-- Brief context on WHY this change was needed -->
## Notes
<!-- Optional: anything reviewers should know -->
Process
- Check
git statusandgit logto understand changes on this branch - Draft title and body following the template
- Create PR using
gh pr create - Return the PR URL
Version History
- c3164c9 Current 2026-07-24 21:11


