← スキル一覧に戻る

gh-create-pr-linked
by mvillmow
Training framework written in Mojo
⭐ 11🍴 4📅 2026年1月24日
SKILL.md
name: gh-create-pr-linked description: "Create a pull request properly linked to a GitHub issue using gh pr create --issue. Use when creating a PR that implements or addresses a specific issue." category: github agent: implementation-engineer
Create PR Linked to Issue
Create a pull request with automatic issue linking.
When to Use
- After completing implementation work
- Ready to submit changes for review
- Need to link PR to GitHub issue
- Starting from a feature branch
Quick Reference
# Create PR linked to issue (preferred)
gh pr create --issue <issue-number>
# With custom title and body
gh pr create --title "Title" --body "Closes #<issue-number>"
# Verify link appears
gh issue view <issue-number> # Check Development section
Workflow
- Verify changes committed:
git statusshows clean - Push branch:
git push -u origin branch-name - Create PR:
gh pr create --issue <number> - Verify link: Check issue's Development section on GitHub
- Monitor CI: Watch checks with
gh pr checks
PR Requirements
- ✅ PR must be linked to GitHub issue
- ✅ All changes committed and pushed
- ✅ Branch has upstream tracking
- ✅ Clear, descriptive title
- ✅ Summary in description
- ❌ Do NOT create PR without issue link
Error Handling
| Problem | Solution |
|---|---|
| No upstream branch | git push -u origin branch-name |
| Issue not found | Verify issue number exists |
| Auth failure | Run gh auth status |
| Link not appearing | Add "Closes #ISSUE-NUMBER" to body |
Verification
After creating PR:
# View PR details
gh pr view <pr-number>
# Check CI status
gh pr checks <pr-number>
# Verify issue link
gh issue view <issue-number> # Look for "Development" section
Branch Naming Convention
Format: <issue-number>-<description>
Examples:
42-add-tensor-ops73-fix-memory-leak105-update-docs
References
- See CLAUDE.md for complete git workflow
- See CLAUDE.md for PR submission requirements
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です