pr-creator
Skill3 starsChanged 6 months agoApache-2.0View on GitHub
Git運用規則に準拠したドラフトPRを作成する。「PR作成」「ドラフトPR」「プルリクエスト作成」時に使用。差分分析→本文生成→gh pr create --draft の3ステップで進める。
- Commits and pushes
22 other projects use a version of this.
Adopted by
Most recently taken up by
- delorenj/skillstheir own version, first seen Nov 7, 2026
- b-mendoza/agent-skillstheir own version, first seen Nov 1, 2026
- JayMeDotDot/jmdd-agent-skillstheir own version, first seen Oct 17, 2026
- google-gemini/gemini-clitheir own version, first seen Oct 13, 2026
- duotify/GitHubClawToolkittheir own version, first seen Oct 9, 2026
- web-infra-dev/rslibtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use create-draft-release-notes, rstack-docs-writer and 10 more.
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.
rstackjsSkillcreate-draft-release-notes
Create or update draft GitHub release notes, or output organized Markdown when draft creation is unavailable. Use for release notes, draft releases, release PR checks, npm staged publishing checks, and optional highlights.
Also in 5 projects that use this
rstackjsSkillrstack-docs-writer
Write or revise Markdown and MDX documentation, including READMEs, guides, and Rspress-based docs.
Also in 5 projects that use this
Muromi-RikkaSkillrspress-description-generator
Generate and maintain description frontmatter for Rspress documentation files (.md/.mdx). Use when a user wants to add SEO descriptions, improve search engine snippets, generate llms.txt metadata, prepare docs for AI summarization, or batch-update frontmatter across an Rspress doc site. Also use when adding new documentation pages to an Rspress project — every new doc file needs a description.
Also in 3 projects that use this
youzanSkillrstack-cli-docs
Consult installed, version-matched Rstack docs only for user-facing `rs` command behavior, `rstack.config.*` semantics, or public `rstack` APIs. Do not use for purely internal implementation, tests, performance, or repository maintenance.
Also in 3 projects that use this
mm-mazharSkillcache-components
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).
Also in 3 projects that use this
chendongqiSkillfrontend-code-review
Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.
Also in 5 projects that use this
- +1 more from rstackjs
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- google-gemini/gemini-cli★ 109ksame name
- web-infra-dev/rsbuild★ 3.4ksame name
- web-infra-dev/rsdoctor★ 1.2ksame name
- web-infra-dev/rslib★ 1ksame name
- web-infra-dev/rstest★ 514same name
- duotify/GitHubClawToolkit★ 254same name
- mblode/agent-skills★ 189same name
- rstackjs/agent-skills★ 97same name
- bd-dxg/skills★ 28same name
- delorenj/skills★ 17same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository34 other files it gives its agents.
- cc-sdd-restack-after-mergeSkill
- cc-sdd-review-slice-stackSkill
- ci-stable-log-testingSkill
- create-issueSkill
- docker-deployment-guideSkill
- hibernate-pcSkill
- kiro-debugSkill
- kiro-discoverySkill
- kiro-implSkill
- kiro-reviewSkill
- kiro-spec-batchSkill
- kiro-spec-designSkill
- kiro-spec-initSkill
- kiro-spec-quickSkill
- kiro-spec-requirementsSkill
- kiro-spec-statusSkill
- kiro-spec-tasksSkill
- kiro-steering-customSkill
- kiro-steeringSkill
- kiro-validate-designSkill
- kiro-validate-gapSkill
- kiro-validate-implSkill
- kiro-verify-completionSkill
- notion-pdfSkill
- playwright-scraperSkill
- pptx-slides-creatorSkill
- pytest-marksSkill
- python-readable-codeSkill
- resolve-pr-review-threadsSkill
- sec-diff-reviewSkill
- sec-full-scanSkill
- sec-runtime-scanSkill
- skill-creatorSkill
- storage-stateSkill
The file
Files
PR Creator
Git運用規則に準拠したドラフトPRを作成するスキル。
厳守事項(Hard Rules)
作業開始前に以下4点を必ず復唱すること:
- テンプレート保持: PR本文冒頭のAIレビュールールセクションを完全にそのまま含める(省略・変更禁止)
- PR原則: 1PR = 1目的、差分400行以内(テスト除く)
- ドラフト形式: 必ず
--draftオプション付きで作成 - 本文構成: 概要(WHAT/WHY/IMPACT)→ 変更内容 → テスト → 影響範囲 → 確認項目の順
Git操作許可範囲: gh pr create --draft のみ実行可(コミット・プッシュ禁止)
入力
| パラメーター | 既定値 | 説明 |
| base | main | ベースブランチ |
| compare | 現在のブランチ | 比較ブランチ |
| issue | なし | 関連Issue番号 |
手順
Step 1: 差分分析
git diff <base>...<compare> --statで変更ファイルと行数を確認- 差分が400行超過(テスト除く)の場合 → 警告を表示(PR作成は続行可能)
git log <base>..HEAD --onelineでコミット履歴を確認し、WHAT/WHYを抽出
Step 2: PR本文生成
PR本文テンプレート を読み込み、以下のルールで本文を生成する。
タイトル
- 日本語簡潔、72文字以内
- 「ドラフト」「WIP」等のプレフィックスは付けない
- コミットメッセージと変更内容から自動生成
本文
- 最優先: テンプレート冒頭のAIレビュールールセクションをそのまま含める
- 概要(WHAT / WHY / IMPACT)を記載
- 変更内容を箇条書きで記載、変更種類にチェック
- テスト内容を記載(未実装ならチェックボックス付きTODO)
- 影響範囲を記載(後方互換性の有無含む)
- 確認項目のチェックボックスはすべて未チェック状態で残す
- 関連Issueがあれば
Closes #<issue>を追加
Step 3: PR作成
確認なしで即座に実行する(ユーザーへの提示・確認は不要)。
gh pr create --draft --base <base> --head <compare> --title "<title>" --body "<body>"完了時の出力
**PR作成結果**:
- PR番号: #<PR番号>
- PR URL: <URL>
- タイトル: <タイトル>
- 実行コマンド: [再現用コマンド]エラーハンドリング
| 状況 | 対応 |
| 差分400行超過 | 警告表示、分割提案(PR作成は続行可) |
| ブランチ名がGit規則に非準拠 | 警告表示(PR作成は続行可) |
| 関連Issueが見つからない | 警告表示(PR作成は続行可) |
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
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.

