Skip to main content

github-pr

Create a well-structured pull request with proper description

来源信息

仓库
spiriMirror/libuipc
最近来源活动
2026年3月6日 07:13
检测到的 SKILL.md 语言
英语
星标
338
Forks
70

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-pr
description
Create a well-structured pull request with proper description
disable-model-invocation
true
# Create PR ## Overview Create a well-structured pull request with proper description, labels, and reviewers. ## Steps Follow the [commit convention](../rules/commit-convention.mdc) for all commit messages and PR titles. 1. **Prepare branch** - Ensure all changes are committed using the convention above - Format code with [format command](./format.md) - Push branch to remote: ```bash # Use 'origin' remote (most common), or specify a different remote if needed git push -u origin HEAD ``` - Verify branch is up to date with main 2. **Create PR** Write the PR description to a temp file first to avoid shell escaping issues: ```bash # Write description to temp file (output/ is gitignored) mkdir -p output/.cursor cat > output/.cursor/pr_body.md << 'EOF' ## Summary ... EOF # Create the PR - always target upstream repository gh pr create --title "<type>(<scope>): <summary>" --body-file output/.cursor/pr_body.md --base main --repo spiriMirror/libuipc # Clean up rm -r output/.cursor ``` **Note:** Always use `--repo spiriMirror/libuipc` to create PRs against the upstream repository (works with forks). 3. **PR description should include** - Summary of changes and motivation - Any breaking changes - Related issue references (`Fixes #123`) 4. **After creating** - Add appropriate labels - Assign reviewers if needed - Link related issues
在 GitHub 查看