スキル一覧に戻る
dtu-mlops

github-pull-requests

by dtu-mlops

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: GitHub Pull Requests description: Create a GitHub pull request with conventional commit title

GitHub Pull Requests Skill

You are helping the user create a GitHub pull request for the current branch.

Steps

  1. Get the current branch name (base branch is always main):

    git branch --show-current
    
  2. Ensure main is merged into the branch (no merge conflicts):

    git fetch origin main
    git merge origin/main --no-edit
    
    • If merge conflicts occur, stop and help the user resolve them before proceeding
    • If the merge introduces new commits, push the updated branch
  3. Analyze the changes:

    git log origin/main..HEAD --oneline
    git diff origin/main..HEAD --stat
    
  4. Read commit messages for context:

    git log origin/main..HEAD --format="%B---"
    
  5. Generate the PR:

    • Title: Use conventional commits format (e.g., feat: add user authentication, fix: resolve null pointer in parser)
    • Body: Fill out the template below concisely

PR Template

## Description
(1-2 sentences on what this PR does)

## Reason
(1-2 sentences on why this change was needed)

Output

Run this command with the generated title and body. Use a heredoc for the body to handle newlines:

gh pr create --web --title "feat: example title" --body "$(cat <<'EOF'
## Description
Brief description here.

## Reason
Why this was done.
EOF
)"

Guidelines

  • Keep title under 72 characters
  • Use conventional commit prefixes: feat, fix, refactor, docs, chore, test, perf
  • Be concise - no fluff or excessive detail
  • If the branch name contains a ticket ID (e.g., COP-123), DO NOT include it in the title
  • Only create ONE pull request

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です