Skip to main content

github-pr

Create a well-structured pull request with proper description

ソース情報

リポジトリ
spiriMirror/libuipc
ソースの最終更新活動
2026年10月18日 08:32
検出された SKILL.md の言語
英語
スター
346
フォーク
71

インストール方法

デフォルトでは、最初にソースを確認する 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 the requested pull request with a clear description, labels, and reviewers. Follow the [owner working agreements](../../../agent_docs/rule.md): stay on the current working branch. Use the requested base branch; a PR targeting `main` requires an explicit owner request and must not be inferred from an implementation task. ## Steps Follow the [commit convention](../commit-convention/SKILL.md) 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/SKILL.md) - Push branch to remote: ```bash # Use 'origin' remote (most common), or specify a different remote if needed git push -u origin HEAD ``` - Inspect the diff and commit ancestry against the requested base branch 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 <BASE_BRANCH> --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で見る