agentleFS
tf63tf63/vetol/.claude/skills/make-pr/SKILL.md

make-pr

Skill2 starsChanged 6 months agoMITView on GitHub

GitHub Pull Requestを作成する。変更内容を分析し、適切なタイトルと本文を生成してghコマンドでPRを作成する

  • Commits and pushes

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use commit.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

The file

Files
SKILL.md

Make PR Skill

  • このSkillはGitHub Pull Requestを作成するためのものです
  • コミットされていない変更は無視して良いです
  • マージ先は main や develop とは限らないので、ユーザーに必ず確認すること

Procedure

  1. 必ずユーザーからどのブランチをマージ先にするか確認する。git branch -a でそのマージ先ブランチが存在するか確認し、正しいブランチ名を確認する。
git branch -a
  1. 現在のブランチを確認
git status
  1. コミット済みの変更とベースブランチとの差分を確認
  • コミットされていない変更は無視してください。必ずコミット済みのdiffを確認してください
git diff origin/<ベースブランチ>...HEAD
git log --oneline origin/<ベースブランチ>..HEAD
  1. 変更内容を分析し、以下を作成
  • PRタイトル
  • 変更概要
  • 変更理由
  • テスト内容
  • レビュー観点
  1. PR本文を outputs/pr/xxxx.md に保存
## Summary

(summary of changes)

## Changes

- xxx
- xxx

## Testing

- [ ] Unit Test
- [ ] Manual Test

## Notes

(any additional notes)
  1. ユーザーにPRタイトルとPR本文の内容を確認してもらい、必要に応じて修正する。OKであれば、ユーザーにブランチをpushしてもらうように伝える
  2. ユーザーのpushが確認できたら、ghコマンドでPR作成
gh pr create \
  --title "<生成したタイトル>" \
  --file outputs/pr/xxxx.md
  --base <ベースブランチ>
  1. 作成されたPR URLを表示
gh pr view --json url -q .url
  1. outputs/pr/xxxx.md を outputs/pr/<PR番号>/xxxx.md にmvで移動する

PRタイトルルール

注意事項

  • PRはタイトル・本文ともに英語で作成してください
  • PRのタイトルは簡潔なもので良いです
  • gh認証済みであることを確認
  • PR作成前に未コミット変更がないか確認
  • タイトルは50文字程度に収める
  • 本文はレビューしやすい粒度で記載する

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.