create-pr
Skill0 starsChanged 5 months agoMITView on GitHub
Inspects local git changes and generates a structured, high-quality PR description using the gh CLI. You MUST use this skill whenever the user asks to create a pull request, create a github pr, run '/create-pr', draft a PR description, summarize branch changes, review a diff before committing, or write a squash commit message. Even if the user only asks to "write a PR summary," invoke this skill to ensure proper branch hygiene and formatting.
- Commits and pushes
196 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Nov 8, 2026
- alexandrosandre/agentic-engineeringtheir own version, first seen Nov 8, 2026
- alexandrosandre/alice-issue-agenttheir own version, first seen Nov 8, 2026
- rccsousa/skillstheir own version, first seen Nov 8, 2026
- next-step/nextstep-skillstheir own version, first seen Nov 8, 2026
- blamechris/chroxytheir own version, first seen Nov 8, 2026
Used with
Projects with it also use update-pr, act-on-feedback 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.
MicrosoftSkillupdate-pr
Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.
Also in 9 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
ModelEngine-GroupSkillcreate-release-note
从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。
Also in 3 projects that use this
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
frostneySkillsoftware-engineering-excellence
Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.
Also in 3 projects that use this
parkchuSkillstart-mission
넥스트스텝(NextStep) 미션을 처음 시작할 때, 미션 저장소를 fork·clone하고 최초 작업 브랜치(step1 등)까지 만들어 준다. gh CLI로 fork하고 clone까지 이어서 처리하며, gh가 없거나 인증이 안 돼 있으면 브라우저 Fork 안내로 폴백한다. 이미 fork/clone돼 있으면 재사용하고 이어서 진행한다(재실행 안전). 사용자가 "미션 시작하려는데 저장소 세팅해줘", "새 미션 시작할래", "fork부터 해줘", "/nextstep:start-mission" 등으로 요청할 때 사용한다.
Also in 3 projects that use this
- +1 more from microsoft
Other versions196 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 196
- microsoft/vscode★ 195ksame name
- vercel/next.js★ 143ksame name
- penpot/penpot★ 62ksame name
- remix-run/react-router★ 57ksame name
- moeru-ai/airi★ 51ksame name
- ToolJet/ToolJet★ 41ksame name
- ueberdosis/tiptap★ 39ksame name
- BabylonJS/Babylon.js★ 26ksame name
- kortix-ai/suna★ 21ksame name
- kortix-ai/CompanyOS★ 21ksame name
186 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 repository44 other files it gives its agents.
- api-and-interface-designSkill
- brainstormingSkill
- browser-testing-with-devtoolsSkill
- cavemanSkill
- ci-cd-and-automationSkill
- cocoindex-codeSkill
- code-simplificationSkill
- context-engineeringSkill
- deprecation-and-migrationSkill
- doubt-driven-developmentSkill
- excalidraw-diagram-generatorSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-slidesSkill
- frontend-ui-engineeringSkill
- fuck-slopSkill
- global-rulesSkill
- grill-meSkill
- handoffSkill
- improve-codebase-architectureSkill
- internal-commsSkill
- md-docsSkill
- mermaid-diagramsSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- postmortem-writerSkill
- principal-sre-reviewerSkill
- receiving-code-reviewSkill
- refactor-moduleSkill
- requesting-code-reviewSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- skill-creatorSkill
- source-driven-developmentSkill
- systematic-debuggingSkill
- system-design-specialistSkill
- teachSkill
- terraform-style-guideSkill
- test-driven-developmentSkill
- thermo-nuclear-code-quality-reviewSkill
- triageSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 11 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Inspection before creation: Always assess the quality, size, and focus of the changes before writing any summary.
- Distinctive: line 15
Strict separation of concern: Ensure PRs are focused on a single logical change.
- Distinctive: line 21
Check if you are currently on the default/main branch (e.g., main or master).
- Very specific: line 22
If checked out on the default branch, you MUST switch to or create a new feature branch (e.g.
- Distinctive: line 23
Run git status --porcelain to check for uncommitted modifications.
- Distinctive: line 25
Before drafting the PR, verify whether README.md, AGENTS.md, or CLAUDE.md should change based on the final reviewed branch state.
- Very specific: line 26
If yes, run md-docs first and complete those documentation updates before generating the PR summary.
- Very specific: line 27
Check for GitHub CLI: Verify that the gh command-line tool is installed and authenticated.
- Distinctive: line 34
Verify if the changes represent a single focused logical change.
- Distinctive: line 35
If the PR contains unrelated concerns (e.g.
- Distinctive: line 36
Ensure changes make the code easy to review without breaking runtime behavior.
- Distinctive: line 37
Analyze for Breaking Changes: Look for API modifications, database schema changes, configuration updates, or dependency migrations.
- Distinctive: line 75
Use only repository-relative paths when referencing files or folders.
- Very specific: line 83
Use absolute filesystem paths (e.g., /Users/username/...).
- Distinctive: line 84
Treat basic observability (like standard logging) as a feature.
“Common” is measured: kept by at least 6 in 10 of the 179 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 & Description Generator
Analyzes git changes between the current branch and the default branch to verify branch hygiene, inspect code modifications, and generate a clear, focused pull request description. Finally, automates PR creation using the GitHub CLI (gh).
Core Principles
- Inspection before creation: Always assess the quality, size, and focus of the changes before writing any summary.
- Documentation before creation: Refresh
README.md,AGENTS.md, andCLAUDE.mdwithmd-docsbefore writing the PR if those files are stale or should reflect the final reviewed state of the branch. - Conciseness and clarity: Provide high-level context to human reviewers rather than listing every minor file change.
- Strict separation of concern: Ensure PRs are focused on a single logical change. If unrelated modifications exist, alert the user.
- Accurate signaling: Highlight architectural decisions, security/performance considerations, and explicitly document all API modifications or breaking changes.
Workflow
- Verify Branch State:
- Check if you are currently on the default/main branch (e.g.,
mainormaster). - If checked out on the default branch, you MUST switch to or create a new feature branch (e.g.
git checkout -b <feature-branch-name>) before proceeding. Do not build a PR directly off the default branch. - Run
git status --porcelainto check for uncommitted modifications. If any exist, warn the user and recommend committing them before generating the PR.
- Check if you are currently on the default/main branch (e.g.,
- Refresh Documentation:
- Before drafting the PR, verify whether
README.md,AGENTS.md, orCLAUDE.mdshould change based on the final reviewed branch state. - If yes, run
md-docsfirst and complete those documentation updates before generating the PR summary.
- Before drafting the PR, verify whether
- Check for GitHub CLI: Verify that the
ghcommand-line tool is installed and authenticated. - Determine the Default Branch: Locate the target default branch (usually
mainormaster) via remote configuration (git remote show origin) or branch listing. - Inspect the Diff & Commits:
- Get the list of commits and their messages from the current branch relative to the default branch (e.g.,
git log <default-branch>..HEAD). - Compare the current branch against the default branch:
git diff <default-branch>...HEAD - Inspect the commit messages, paths affected, file changes, and overall size of the diff.
- Get the list of commits and their messages from the current branch relative to the default branch (e.g.,
- Evaluate Branch Hygiene:
- Verify if the changes represent a single focused logical change.
- If the PR contains unrelated concerns (e.g. mixed features, multiple distinct bugfixes, major format changes), alert the user and recommend splitting the branch.
- Ensure changes make the code easy to review without breaking runtime behavior.
- Analyze for Breaking Changes: Look for API modifications, database schema changes, configuration updates, or dependency migrations.
- Generate PR Title and Description: Construct the title and description using the structure defined below.
- Await User Confirmation: Present the proposed PR Title and PR Description Body. You MUST explicitly ask the user for approval. NEVER run
gh pr createwithout the user's explicit confirmation. - Create the Pull Request: Once approved, run the
gh pr createCLI command using the approved title and body.
Output Structure
Provide two separate outputs when presenting the generated PR description to the user:
- The Title as plain text (not in a markdown block).
- The PR Description Body in a single markdown code block (do NOT nest markdown blocks).
Body Template
The body must follow this structure exactly:
[1-2 sentence overview paragraph explaining the purpose and motivation of the changes.]
## Description
- **What**: Clear explanation of the changes introduced.
- **Why**: Context on why these changes are necessary (include links to Linear tasks or issue trackers if applicable).
- **How**: Brief explanation of the technical approach taken.
## Changes
- **[Component/Area]**: High-level context of what changed, including why and how. Use repository-relative paths (e.g., `lib/auth/session.go`) to reference key files.
- **[Component/Area]**: High-level context of what changed.
## Key Decisions & Breaking Changes
[Deep-dive into key architectural decisions, trade-offs, and an explicit call-out of any API modifications or breaking modifications.]Guidelines
Do:
- Group file-level changes into cohesive logical areas/components.
- Use only repository-relative paths when referencing files or folders.
- Highlight important technical details (e.g., timeouts, capacity limits, network protocols).
- Focus on big-picture impact to help human reviewers read quickly.
- Explicitly call out database migrations, breaking changes, or major dependency updates.
Don't:
- List trivial changes (e.g., package import changes, formatting, minor typo fixes, or basic logging additions) unless they are the primary focus of the PR.
- Include the branch name in the PR title or description (redundant).
- Use absolute filesystem paths (e.g.,
/Users/username/...). - Treat basic observability (like standard logging) as a feature.
- Nest markdown blocks inside the body block.
Example
Title: Migrate API service to multi-stage Docker build on AWS ECS Fargate via Terraform
Body:
Migrates the core API service deployment from a single-stage Docker build to a multi-stage container running on AWS ECS Fargate, managed by Terraform.
## Description
- **What**: Optimized the container image size via multi-stage Docker builds and updated the deployment infrastructure on AWS.
- **Why**: The previous container image was 1.2GB, causing slow ECS task startups. We also need to move to Fargate to eliminate EC2 host management overhead. (Linear: DEVOPS-412)
- **How**: Created a multi-stage `Dockerfile` to produce a 45MB runtime image, and updated our Terraform modules to provision the Fargate task definition and service.
## Changes
- **Containerization**: Updated `docker/Dockerfile` to use a two-stage build (build on `golang:1.21-alpine`, run on `alpine:3.19`), dropping root privileges for the runtime process.
- **Infrastructure**: Modified `terraform/ecs_service.tf` to define the Fargate capacity provider, security groups, and updated environment variables.
## Key Decisions & Breaking Changes
- **Non-root container user**: The runtime container now runs as a non-root user (`appuser`). If any local file writing is needed in future tasks, it must write to `/tmp`.
- **Breaking Change**: The Terraform variable `ecs_instance_type` has been removed as Fargate manages resources using cpu/memory configuration at the task level.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.

