Skip to content
Development
Command

/pr

创建 Pull Request

From plugin
4944 skills8 agents44 commands20 hooks
shell
$ npx -y skills add xiaobei930/cc-best --agent claude-code

Ships with cc-best. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/pr

Context preview

What this command does when you run it.

创建 Pull Request

Command definition

pr.md
description: 创建 Pull Request
allowed-tools: Read, Glob, Grep, Bash

/pr - 创建 Pull Request

创建 GitHub Pull Request。

任务

1. 检查当前分支状态 2. 确保所有更改已提交并推送 3. 分析分支上的所有提交 4. 生成 PR 标题和描述 5. 使用 gh 命令创建 PR

PR 格式

## Summary

- 主要更改点

## Test plan

- [ ] 测试项目

执行步骤

1. 检查 git status 和 remote 状态 2. 如需要,推送到远程 3. 分析所有相关提交 4. 生成 PR 内容 5. 创建 PR 并返回 URL

注意事项

  • 需要 GitHub CLI (gh) 已安装并认证
  • 默认目标分支为 main/master
  • 重要代码变更建议先调用 `code-reviewer` agent 进行代码审查

参考

  • 完整 Git 工作流规范请参考 `skills/git/SKILL.md`

> **记住**: PR 是代码交流的载体——标题说做了什么,描述说为什么做,测试计划说如何验证。

Read it on GitHub ↗
Ships withcc-best

Role-Driven Development Workflow for Claude Code Transform Claude into a complete development team. From product requirements to code review — one plugin, full workflow. Quick Start • Features • Workflow • Commands • FAQ

Get the whole plugin, auto-invoked
Stats
49
Stars
0
Views
3
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
1mo ago
Last commit
6mo ago
Created

Repo: xiaobei930/cc-best