← スキル一覧に戻る

generate-pr-description
by ndsl6211
⭐ 0🍴 1📅 2026年1月23日
SKILL.md
name: generate-pr-description description: Generates a professional PR description by analyzing git diff between current branch and main. Use when the user wants to prepare a pull request, write a description, or summarize their changes for a PR.
Generate PR Description
Instructions
When this skill is activated, follow these steps strictly:
-
Get the Diff:
- Run
git diff main...HEADto identify changes in the current branch relative to themainbranch. - If the user specifies a different base branch, use that instead of
main.
- Run
-
Generate Content (Strictly English):
- Create a PR description in English with the following sections:
- Summary: A high-level overview of the purpose of this PR.
- Changes: A detailed bulleted list of technical changes.
- Test: A description of how these changes were verified.
- Create a PR description in English with the following sections:
-
Output to File:
- Do NOT use any tools to actually create or push a PR to GitHub/GitLab.
- Save the generated content into a file named
PR_DESCRIPTION.mdin the root directory of the current project. - If the file already exists, overwrite it.
-
Completion:
- Inform the user: "PR description has been generated and saved to
PR_DESCRIPTION.md." - Provide a brief summary of what was written in the terminal for immediate feedback.
- Inform the user: "PR description has been generated and saved to
Examples
- "Generate a PR description for my current changes."
- "幫我寫 PR description 並存成檔案。"
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です