pr-creator
Skill254 starsChanged 7 months agoMITView on GitHub
This skill guides the creation of high-quality Pull Requests. All user-facing output (commit messages, PR descriptions, issue comments) MUST be written in Traditional Chinese (zh-TW). The skill document itself is in English. Follow these steps in order to create a Pull Request: CRITICAL: NEVER work directly on the main branch. Before committing, thoroughly analyze all changes to produce high-quality commit messages: All commit messages MUST be written in Traditional Chinese (zh-TW), using the following format: - type: Use English (feat…
- Commits and pushes
22 other projects use a version of this, 7 of them edited.
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-skillsedited, first seen Oct 17, 2026
- google-gemini/gemini-cliedited, first seen Oct 13, 2026
- web-infra-dev/rslibtheir own version, first seen Oct 8, 2026
- web-infra-dev/rsdoctortheir own version, first seen Oct 8, 2026
Used with
Projects with it also use create-draft-release-notes, rstack-docs-writer and 9 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 · 7
- google-gemini/gemini-cli★ 109k20% same
- bd-dxg/skills★ 2820% same
- alphaparkinc/openclaw-skills★ 920% same
- Alpha-Park/openclaw-skills★ 820% same
- dbDev-code/w-skills★ 120% same
- JayMeDotDot/jmdd-agent-skills★ 115% same
- ZouZhao321/mpget★ 012% same
Wrote their own version · 15
- 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
- mblode/agent-skills★ 189same name
- rstackjs/agent-skills★ 97same name
- delorenj/skills★ 17same name
- b1mango/Agent-Skills★ 4same name
- b-mendoza/agent-skills★ 3same name
- peopleforrester/claude-dotfiles★ 3same name
5 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- best-practices-for-agent-skillsSkill
- githubclaw-json-generatorSkill
- skill-creatorSkill
- agent-browserSkill
- felo-searchSkill
- felo-slidesSkill
- felo-superAgentSkill
- felo-web-fetchSkill
- felo-x-searchSkill
- find-skillsSkill
- gemini-audio-transcriberSkill
- gemini-deep-researcherSkill
- gemini-image-describerSkill
- gemini-lyria-3Skill
- gemini-nanobananaSkill
- gemini-summarySkill
- google-stitchSkill
- skill-creatorSkill
- telegram-notifySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 17 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 18
Follow these steps in order to create a Pull Request:
- Distinctive: line 22
CRITICAL: NEVER work directly on the main branch.
- Distinctive: line 24
Run git branch --show-current to check the current branch.
- Distinctive: line 25
If on main, create and switch to a new descriptive branch:
- Distinctive: line 33
Before committing, thoroughly analyze all changes to produce high-quality commit messages:
- Distinctive: line 36
Run git diff --stat and git diff to understand all changed files.
- Distinctive: line 45
All commit messages MUST be written in Traditional Chinese (zh-TW), using the following format:
- Distinctive: line 65
type: Use English (feat / fix / refactor / docs / chore / test)
- Distinctive: line 66
scope: Use English module name
- Distinctive: line 67
Summary and body: Must be in Traditional Chinese
- Distinctive: line 73
If this PR is linked to an issue, update the issue with technical context
- Very specific: line 76
Read the existing issue with gh issue view <issue_number>.
- Very specific: line 77
Add a comment with gh issue comment <issue_number> --body "..." containing:
- Distinctive: line 100
Search the repository for a Pull Request template:
- Very specific: line 104
If multiple templates exist (e.g., in .github/PULL_REQUEST_TEMPLATE/), select the most appropriate one based on the change type.
- Distinctive: line 106
If no template is found, use the default structure in Step 6.
- Distinctive: line 137
Safety check: Verify the branch name one more time before pushing.
- Very specific: line 150
Use the gh CLI to create the PR.
- Very specific: line 169
If linked to an issue, include Fixes #xxx in the body and add --assignee @me
- Distinctive: line 173
Safety First: NEVER push to main. This is the highest priority rule.
- Distinctive: line 174
Traditional Chinese Output: All commit messages, PR descriptions, and issue comments MUST be in Traditional Chinese (zh-TW).
- Distinctive: line 180
Honesty: Don't check boxes for tasks you haven't completed.
“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pull Request Creator
This skill guides the creation of high-quality Pull Requests. All user-facing output (commit messages, PR descriptions, issue comments) MUST be written in Traditional Chinese (zh-TW). The skill document itself is in English.
Workflow
Follow these steps in order to create a Pull Request:
1. Create a New Branch
CRITICAL: NEVER work directly on the main branch.
- Run
git branch --show-currentto check the current branch. - If on
main, create and switch to a new descriptive branch:git checkout -b feat/<short-description> - Branch naming convention:
feat/xxx,fix/xxx,refactor/xxx,docs/xxx
2. Analyze Changes
Before committing, thoroughly analyze all changes to produce high-quality commit messages:
- Run
git diff --statandgit diffto understand all changed files. - Identify and summarize:
- Problem definition: What problem does this change solve?
- Technical context: Why this approach? What alternatives were considered?
- Impact scope: Which modules / features are affected?
- Breaking changes: Are there any?
3. Commit in Traditional Chinese
All commit messages MUST be written in Traditional Chinese (zh-TW), using the following format:
git add .
git commit -m "type(scope): 簡短摘要
詳細說明:
- 變更項目 1:說明具體修改內容與原因
- 變更項目 2:說明具體修改內容與原因
技術細節:
- 採用的技術方案與理由
- 相關的設計決策
影響範圍:
- 受影響的模組或功能
- 是否有破壞性變更"- type: Use English (feat / fix / refactor / docs / chore / test)
- scope: Use English module name
- Summary and body: Must be in Traditional Chinese
- The commit body should be detailed enough that a reviewer can understand the full context without reading the code
4. Enrich the Related Issue
If this PR is linked to an issue, update the issue with technical context before creating the PR:
- Read the existing issue with
gh issue view <issue_number>. - Add a comment with
gh issue comment <issue_number> --body "..."containing:## 技術分析 ### 問題根因 (說明問題的根本原因,不只是表面症狀) ### 解決方案 (說明採用的技術方案與原因) ### 影響評估 - 受影響的模組:... - 破壞性變更:有 / 無 - 效能影響:... ### 測試驗證 (說明如何驗證修改是正確的) - This ensures the issue serves as a complete technical record, not just a one-line description.
5. Locate PR Template
Search the repository for a Pull Request template:
- Check
.github/pull_request_template.md - Check
.github/PULL_REQUEST_TEMPLATE.md - If multiple templates exist (e.g., in
.github/PULL_REQUEST_TEMPLATE/), select the most appropriate one based on the change type. - If no template is found, use the default structure in Step 6.
6. Draft PR Description
The PR description MUST be in Traditional Chinese. Follow the template structure strictly. If no template exists, use the following default:
## 概述
(一段話說明這個 PR 做了什麼)
## 問題描述
(這個 PR 要解決什麼問題?連結相關 Issue)
## 解決方案
(採用了什麼技術方案?為什麼?)
## 變更內容
- [ ] 變更項目 1
- [ ] 變更項目 2
## 測試方式
(如何驗證這些變更是正確的?)
## 相關連結
- Issue: #xxx
- 相關文件:...7. Push Branch
Safety check: Verify the branch name one more time before pushing.
CURRENT_BRANCH=$(git branch --show-current)
if [ "$CURRENT_BRANCH" = "main" ]; then
echo "ERROR: must not push to main!"
exit 1
fi
git push -u origin HEAD8. Create the PR
Use the gh CLI to create the PR. To avoid shell escaping issues with
multi-line Markdown, write the description to a temporary file first:
# 1. Write the PR description to a temp file
cat > /tmp/pr-body.md << 'EOF'
(PR description content in zh-TW)
EOF
# 2. Create the PR
gh pr create \
--title "type(scope): 繁體中文簡短摘要" \
--body-file /tmp/pr-body.md
# 3. Clean up
rm /tmp/pr-body.md- Title format:
type(scope): 繁體中文摘要 - If linked to an issue, include
Fixes #xxxin the body and add--assignee @me
Principles
- Safety First: NEVER push to
main. This is the highest priority rule. - Traditional Chinese Output: All commit messages, PR descriptions, and issue comments MUST be in Traditional Chinese (zh-TW).
- Full Context: Commits and PRs must provide enough technical context for reviewers to understand changes quickly.
- Issues as Documentation: Issues are permanent technical decision records, not just task trackers. Enrich them accordingly.
- Honesty: Don't check boxes for tasks you haven't completed.
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.

