← Back to list

create-github-pr
by ashneyderman
Yet another agentic workflow :-)
⭐ 0🍴 0📅 Jan 19, 2026
SKILL.md
name: create-github-pr description: Create a GitHub pull request with generated description params:
- name: agf_id description: The unique identifier for this task (e.g., agf-001) required: true
Create GitHub PR
Create a GitHub pull request with an auto-generated description based on branch commits.
Instructions
Extract the agf_id parameter to use as a prefix for the PR title.
- Generate PR Title: Create a PR title prefixed with
<agf_id> -followed by a descriptive title based on the changes - Generate PR Body:
- IF the project contains
.github/PULL_REQUEST_TEMPLATE.md:- Use the template to structure the PR body
- Fill in sections based on all commits on the current branch that are not in main/master branch
- ELSE:
- Generate a brief but precise description
- Include summary of all commits on the current branch that are not in main/master branch
- IF the project contains
- Verify Clean State: Use
git status --porcelainto check for uncommitted changes- If any uncommitted changes exist, exit with an error message
- Push Changes: Push all changes to remote branch using
git push --set-upstream origin $(git branch --show-current) - Create or Display PR:
- Check if PR already exists using
gh pr view - IF PR exists: Print "PR already exists"
- ELSE: Create draft PR using
gh pr create --draft --title "<pr_title>" --body "<pr_body>"
- Check if PR already exists using
Report
Print the result of the gh pr view command to display the PR URL and details.
Example
agf_id: agf-001
PR Title: agf-001 - Add user authentication feature
PR URL: https://github.com/owner/repo/pull/123
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon