create-pr
Skill6.3k starsChanged 6 months agoMITView on GitHub
Create a pull request using the repository PR template. Use when asked to: create PR, open PR, push and create PR, submit PR, open pull request, send changes for review.
- Commits and pushes
91 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- HLND2T/CS2_VibeSignaturestheir own version, first seen Oct 5, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- moeru-ai/auvtheir own version, first seen Oct 4, 2026
- kdy1/kdy1-scriptstheir own version, first seen Oct 4, 2026
Who's talking about microsoft/aspire
- Azure/azure-functions-core-tools“azure-functions-core-tools 4.13.2 Linux x64 package references a missing CDN blob”GitHub · Aug 9, 2026 · 18 reactions
- apple/container“[Request]: `cp` command tar stream support”GitHub · Jul 6, 2026 · 6 reactions
- CommunityToolkit/Aspire“Add Dekaf Kafka client integration and Schema Registry hosting support”GitHub · Sep 21, 2026 · 2 reactions
- thomhurst/TUnit“chore(deps): update aspire to 13.5.2”GitHub · Aug 21, 2026 · 2 reactions
- kubernetes-client/csharp“UnobservedTaskException from orphaned ReadLineAsync task in Watcher<T>.CreateWatchEventEnumerator during …”GitHub · Jun 22, 2026 · 2 reactions
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub and Bluesky (20 times).
On GitHub · 18
- Aug 9, 2026azure-functions-core-tools 4.13.2 Linux x64 package references a missing CDN blob — Azure/azure-functions-core-tools18 reactions · 11 comments
- Jul 6, 2026[Request]: `cp` command tar stream support — apple/container6 reactions · 2 comments
- Sep 21, 2026Add Dekaf Kafka client integration and Schema Registry hosting support — CommunityToolkit/Aspire2 reactions
- Aug 21, 2026chore(deps): update aspire to 13.5.2 — thomhurst/TUnit2 reactions · 3 comments
- Jun 22, 2026UnobservedTaskException from orphaned ReadLineAsync task in Watcher<T>.CreateWatchEventEnumerator during cancellation — kubernetes-client/csharp2 reactions · 2 comments
13 more on GitHub
- Jun 17, 2026chore(deps): update aspire monorepo to 13.4.5 — chrismeller/archiveteam-exporter2 reactions
- Jun 11, 2026chore(deps): update aspire monorepo to 13.4.3 — chrismeller/archiveteam-exporter2 reactions · 1 comment
- May 19, 2026chore(deps): update aspire monorepo to 13.3.4 — chrismeller/archiveteam-exporter2 reactions
- Sep 26, 2026Update Aspire version to 13.6.0 Staging Channel — CommunityToolkit/Aspire1 reaction · 5 comments
- Sep 8, 2026This PR merges the `release/13.5` branch back to `main` after the v13.5.0 release. — cli/cli1 reaction · 1 comment
- Aug 24, 2026Azure.Provisioning.AppContainers uses incorrect default naming requirements for managed environments — Azure/azure-sdk-for-net1 reaction
- Aug 6, 2026safe-outputs checkout auto-detection downgrades contents: write to read — github/gh-aw1 reaction
- Jun 15, 2026deps: Update aspire monorepo to 13.4.6 — ANcpLua/DotNetTests1 reaction
- May 26, 2026safe_outputs add_comment hard-fails on locked source PR (pr-docs-check recurring failures) — github/gh-aw1 reaction
- May 24, 2026"Install the Aspire Templates" section should be clear it's referring specifically to `dotnet` — microsoft/aspire.dev1 reaction · 1 comment
- May 13, 2026Azure.Provisioning.ContainerService: ManagedClusterIngressProfile is internal, blocking preview-API gatewayAPI and applicationLoadBalancer additions — Azure/azure-sdk-for-net1 reaction · 3 comments
- May 12, 2026Application Insights is filled with EventProcessor.Process logs that cannot be filtered out when OpenTelemetry enabled — Azure/azure-functions-host1 reaction
- Apr 16, 2026End2End template with Foundry Hosted Agents — leslierichardson95/aspire-agent-template1 reaction · 3 comments
On Bluesky · 2
- Mar 23, 2026.NET Aspireはコードファーストで拡張性のある分散アプリ開発を統一的に支援するツール群らしい コードでサービスやリソースを定義してローカルデバッグからデプロイまでこなせるのが便利そうかな yug1224 starred microsoft/aspire… — @yug1224.com1 likes and repost
- Mar 22, 2026📦 microsoft / aspire ⭐ 5,662 (+72) 🗒 TypeScript Aspire is the tool for code-first, extensible, observable dev and deploy. — @github-trending-js.bsky.social1 likes and repost
Used with
Projects with it also use update-pr, create-issue 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 5 projects that use this
sahinSkillcreate-issue
Also in 9 projects that use this
anderson-c-santosSkillmerge-pr
Merge a GitHub PR after all checks pass. Trigger for: /merge-pr, merge PR, approve and merge, squash merge, ship PR. Verifies CI, draft state, and approvals, then merges with the correct strategy based on branch type.
Also in 3 projects that use this
SentrySkillfix-ci
Diagnose and fix failing CI on a PR. Load repo-setup first.
Also in 6 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 21 projects that use this
32103210Skillcreate-rule
Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Also in 3 projects that use this
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 91
- microsoft/vscode★ 196ksame name
- vercel/next.js★ 144ksame name
- ToolJet/ToolJet★ 41ksame name
- docker/docs★ 4.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- block/berd★ 962same name
- getsentry/toolkit★ 912same name
- ReflexioAI/claude-smart★ 782same name
- warpdotdev/common-skills★ 604same name
- r3bl-org/r3bl-open-core★ 485same name
81 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 repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-reviewSkill
- azdo-internalSkill
- backport-prSkill
- bump-aspire-versionSkill
- ci-test-failuresSkill
- cli-channel-debuggingSkill
- cli-e2e-testingSkill
- code-reviewSkill
- connection-propertiesSkill
- dashboard-testingSkill
- dependency-updateSkill
- deployment-e2e-testingSkill
- deprecate-integrationSkill
- fix-flaky-testSkill
- hex1bSkill
- hosting-integration-authoringSkill
- issue-investigationSkill
- pr-testingSkill
- reviewing-aspire-architectureSkill
- startup-perfSkill
- test-managementSkill
- update-container-imagesSkill
- vscode-extensionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 10 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 82 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Ensure changes are committed (git status should show a clean working tree or only untracked files).
- Distinctive: line 40
Before building the PR body, check whether the diff includes non-trivial UI changes to any of these areas:
- Very specific: line 51
If non-trivial UI changes are detected, add a prominent ### Screenshots / Recordings subsection in the PR body (under ## Description) with …
- Distinctive: line 79
Place an image-style reference to a video on its own line in its own paragraph so GitHub CLI rewrites it to a bare asset URL that renders …
- Very specific: line 93
After the upgrade, run gh --version and check the relevant command help again.
- Distinctive: line 98
Use the template structure as the PR body.
- Very specific: line 99
If step 4 prepared visual artifacts and gh --attach is available, replace the <!-- Add screenshots/recordings here --> placeholder with the …
- Very specific: line 121
Do not add a ### Security considerations subsection for changes that do not need security review.
- Very specific: line 122
If the PR uses the breaking-change label, include a short ### Breaking changes subsection that explains who is affected, what existing API …
- Very specific: line 192
Keep Fixes # (issue) unless a concrete issue number is provided.
- Very specific: line 193
Write the body to a temporary file named pr-body.md in the repo root.
- Very specific: line 199
If the PR needs labels, add the matching label flags to the create command.
- Distinctive: line 232
If a PR already exists for the branch:
- Distinctive: line 233
Do not create another.
- Distinctive: line 234
If requested (or if the body is still mostly unfilled template text), update it:
- Very specific: line 242
If a label needs to be applied to an existing PR, use gh pr edit <pr-number-or-url> --add-label <label-name>.
- Distinctive: line 248
After you are completely finished creating or updating the PR (after step 6 and, if needed, step 7), delete the temporary body file:
- Distinctive: line 263
Do not bypass the template with ad-hoc bodies.
- Very specific: line 264
Keep the body aligned with .github/pull_request_template.md.
- Distinctive: line 265
If the user asks to preview before creating, show the prepared PR body first, then create after confirmation.
“Common” is measured: kept by at least 6 in 10 of the 82 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
You are a specialized pull request creation agent for this repository.
Your goal is to create a PR and always use the repository PR template at .github/pull_request_template.md.
Example requests
- "Create a PR for this change"
- "Push and open a pull request"
- "Submit a PR with these fixes"
- "Open a PR against the release branch"
Prerequisites
Before starting, verify:
ghCLI is available: rungh --version. If missing, tell the user to install it from https://cli.github.com/.- Authentication is configured: run
gh auth status. If not authenticated, tell the user to rungh auth login.
Procedure
1. Prepare the branch
- Confirm the current branch name with
git branch --show-current. - Ensure changes are committed (
git statusshould show a clean working tree or only untracked files). - Push the branch with
git push -u origin <branch-name>. If the push is rejected, inform the user (do not force-push without explicit permission).
2. Determine PR metadata
- Head branch: current branch unless the user specifies otherwise.
- Base branch: user-specified base when provided; otherwise infer from context (or use the repository default branch).
- Title: concise summary of the change.
- Labels: add labels only when they are clearly applicable. Use the
breaking-changelabel when the PR breaks public APIs or fundamentally changes the behavior of an existing scenario. Do not use it for every behavior change, additive feature, routine bug fix, or implementation-only change. Examples from existingbreaking-changeissues include API shape/semantics changes, obsoleting a public API, changing endpoint allocation/wait behavior, changing Docker Compose publish behavior, and disabling local auth for Azure resources.
3. Detect non-trivial UI changes
Before building the PR body, check whether the diff includes non-trivial UI changes to any of these areas:
- Dashboard (
src/Aspire.Dashboard/): changes to.razor,.razor.cs,.css,.js, or UI assets undersrc/Aspire.Dashboard/wwwroot/(e.g.,img/**,favicon.ico) that alter layout, add/remove components, change interactive behavior, or modify visual appearance beyond minor text or spacing tweaks. - CLI (
src/Aspire.Cli/): changes to command output formatting, interactive prompts, table/list rendering, spinners, progress indicators, or colored output beyond simple message text changes. - VS Code Extension (
extension/): changes to webview panels, tree views, status bar items, quick pick UIs, editor decorations, contributed view configuration (package.json), or UI assets (resources/**) beyond minor label text changes.
A change is non-trivial if it does more than:
- Fix a typo or update a string literal without altering layout
- Adjust a single CSS property (e.g., margin, padding) without changing visual structure
- Change a tooltip or aria-label
If non-trivial UI changes are detected, add a prominent ### Screenshots / Recordings subsection in the PR body (under ## Description) with the following content:
### Screenshots / Recordings
> **This PR includes UI changes.** Please add screenshots or screen recordings so reviewers can evaluate the visual changes without running locally.
>
> - For before/after comparisons, place them side-by-side or label them clearly.
> - For interactive changes (animations, transitions, new flows), prefer a short screen recording (GIF or video).
> - If you cannot capture visuals now, note what scenario to test and mark this section as TODO.
<!-- Add screenshots/recordings here -->4. Upload visual artifacts
For non-trivial UI changes, upload screenshots or recordings as GitHub user attachments. Do not commit them to the source branch unless explicitly requested.
Before uploading, inspect every artifact for secrets, credentials, tokens, customer or confidential data, private URLs, and unintended personal information. Redact or regenerate any artifact that contains sensitive data, and do not upload it until the inspection passes. Treat uploads as permanent public data because this public repository exposes attachments to everyone and the attachment API has no deletion endpoint.
Check attachment support for the command that will write the PR: gh pr create --help for a new PR or gh pr edit --help for an existing PR. Use --attach only when that command advertises it. Prepare local Markdown references for step 5 to insert at the intended location in pr-body.md. Use a table for before/after images when appropriate:
| Before | After |
| --- | --- |
|  |  |Place an image-style reference to a video on its own line in its own paragraph so GitHub CLI rewrites it to a bare asset URL that renders as a player:
Prepare one flag per referenced file and append the flags to the final gh pr create command in step 6 or gh pr edit command in step 7. GitHub CLI rewrites the local references to uploaded URLs; without references, it appends the attachments to the end of the body. For images, text after # is the alt text when the body does not already provide it. Videos do not support alt text and must omit the # suffix:
--attach './before.png#Before' --attach './after.png#After' --attach './demo.mp4'If the relevant command does not advertise --attach, do not upload the artifacts or call GitHub's undocumented attachment endpoint. Tell the user that their installed GitHub CLI version does not support attachment uploads for that command and ask them to upgrade it. Include the detected version from gh --version and link to the official upgrade instructions at https://github.com/cli/cli#installation.
After the upgrade, run gh --version and check the relevant command help again. Retry the upload only when --attach is advertised. If the user does not upgrade, continue without uploading and retain the TODO in the Screenshots / Recordings section so the missing visual evidence is explicit.
5. Build PR body from template
- Read
.github/pull_request_template.md. - Use the template structure as the PR body.
- If step 4 prepared visual artifacts and
gh --attachis available, replace the<!-- Add screenshots/recordings here -->placeholder with the prepared local Markdown references before running the create or edit command. Do not leave the placeholder in the final body after a successful upload. - Fill known details in
## Descriptionwith reviewer- and user-facing context:- Lead with why the change matters: the user problem, scenario, or workflow it improves.
- Summarize the user-visible behavior before implementation details: what users can now do, see, configure, or call.
- Include implementation details only after the behavior summary, and keep them concise.
- Evaluate whether the change makes security assumptions or guarantees, and include details only when security review may be needed.
- Include relevant validation: tests, manual verification, screenshots, recordings, generated help, or sample output.
- For infra-only or internal-only changes, such as CI, build infrastructure, repository automation, tests, docs-only maintenance, or skill/workflow guidance, do not add user-facing usage artifacts,
### Breaking changes, or### Security considerationsunless the change also affects user-visible behavior, breaks a public API or established scenario, or requires security review. - When the change affects user-facing behavior, add a subsection such as
### User-facing usageor### Examplesunder## Descriptionwith concrete usage examples. Prefer examples from the diff, tests, docs, generated output, or commands you actually ran. Do not invent usage; if the usage cannot be determined confidently, ask the user or state that an example is not available. - Include the most relevant user-facing artifacts by change type:
- Dashboard/UI changes: include dashboard screenshots, preferably before/after when visual behavior changes.
- CLI changes: include command-specific
--helpoutput, example invocations with named arguments/options, and an asciinema recording link when practical. - Public API changes: include a consumer-focused usage example for the new API.
- Integration changes: include both C# and TypeScript usage examples when applicable.
- Configuration, template, or docs changes: include before/after snippets, generated output, or the command a user runs.
- Include a
### Security considerationssubsection only when the security checklist would be marked as needing security review because the change makes security assumptions or guarantees. Call out any relevant implications, such as:- New network listeners, outbound connections, exposed ports, proxying, or service discovery behavior.
- Files written to global, shared, profile, cache, or temporary directories.
- Script execution, generated commands, shell escaping, or script/content injection risks.
- Path construction, archive extraction, file uploads/downloads, or path traversal risks.
- Untrusted user input, data deserialization, authentication/authorization changes, secrets, credentials, certificates, tokens, or environment variables.
- Container execution, process spawning, permissions, or elevated privileges.
- Do not add a
### Security considerationssubsection for changes that do not need security review; instead, keep the checklist answer aligned with that assessment. - If the PR uses the
breaking-changelabel, include a short### Breaking changessubsection that explains who is affected, what existing API or scenario changes, and how users should update. - Example PR body snippet shapes. Treat these as formats only; replace every placeholder with exact screenshots, commands, APIs, generated output, and security facts from the PR:
- Dashboard/UI changes:
### User-facing usage The dashboard now shows <new state or action> on the <page/panel>, so users can <outcome> without <old workaround>. Screenshot:  - CLI changes:
### User-facing usage Users can run the command with named options: ```bash aspire <command> <resource> --name <command-name> --timeout 30s ``` Command help: ```text Usage: aspire <command> <resource> [options] Options: --name <name> <describe option> --timeout <value> <describe option> ``` Recording: <asciinema URL, if available> - Public API changes:
### User-facing usage Consumers can configure <scenario> with the new API: ```csharp var resource = builder.Add<Integration>("resource") .With<NewCapability>("<value>"); ``` - Integration changes:
### User-facing usage C# AppHost: ```csharp var resource = builder.Add<Integration>("resource") .With<NewCapability>("<value>"); ``` TypeScript AppHost: ```typescript const resource = builder.add<Integration>("resource") .with<NewCapability>("<value>"); ``` - Configuration, template, or docs changes:
### User-facing usage Users enable the behavior with: ```json { "<settingName>": "<value>" } ``` Generated output now includes `<observable output>`. - Security-review changes:
### Security considerations This change <opens a listener/writes to a shared directory/executes generated commands/accepts untrusted input>. Security review is needed to confirm <specific concern>, such as host binding, path normalization, command escaping, or secret handling. - Breaking changes:
### Breaking changes This changes <existing API or scenario>. Users who currently <old usage> should update to <new usage or migration guidance>.
- Dashboard/UI changes:
- Fill checklist choices by selecting known answers and leaving only unknown choices unchecked.
- Keep
Fixes # (issue)unless a concrete issue number is provided. - Write the body to a temporary file named
pr-body.mdin the repo root.
6. Create the PR
Set GH_PAGER to cat to prevent interactive paging, then create the PR. The syntax differs by shell:
If the PR needs labels, add the matching label flags to the create command. For breaking public API changes or fundamental existing-scenario behavior changes, include --label breaking-change.
bash/Linux/macOS:
GH_PAGER=cat gh pr create \
--base <base-branch> \
--head <head-branch> \
--title "<pr-title>" \
--body-file pr-body.md \
--attach './before.png#Before' \
--attach './after.png#After'PowerShell/Windows:
$env:GH_PAGER = "cat"
gh pr create `
--base <base-branch> `
--head <head-branch> `
--title "<pr-title>" `
--body-file pr-body.md `
--attach './before.png#Before' `
--attach './after.png#After'Omit the --attach lines when step 4 did not prepare visual artifacts. Attach videos without a # suffix.
Why
GH_PAGER=cat? TheghCLI pipes long output through a pager (likeless) by default, which blocks in non-interactive terminals. Setting it tocatdisables paging so output prints directly.
Shell differences:
VAR=val commandis bash syntax for setting an env var for a single command. PowerShell requires a separate$env:VAR = "val"statement (persists for the session, which is harmless here).
7. Handle existing PRs
If a PR already exists for the branch:
- Do not create another.
If requested (or if the body is still mostly unfilled template text), update it:
bash:
GH_PAGER=cat gh pr edit <pr-number-or-url> --body-file pr-body.md --attach './before.png#Before' --attach './demo.mp4'PowerShell:
$env:GH_PAGER = "cat"; gh pr edit <pr-number-or-url> --body-file pr-body.md --attach './before.png#Before' --attach './demo.mp4'- Omit the
--attachflags when step 4 did not prepare visual artifacts. Attach videos without a#suffix. - If a label needs to be applied to an existing PR, use
gh pr edit <pr-number-or-url> --add-label <label-name>. - Return the existing PR URL.
8. Clean up
After you are completely finished creating or updating the PR (after step 6 and, if needed, step 7), delete the temporary body file:
- bash:
rm pr-body.md - PowerShell:
Remove-Item pr-body.md
Error handling
| Error | Action |
gh: command not found | Tell the user to install gh from https://cli.github.com/ |
gh auth not logged in | Tell the user to run gh auth login |
git push rejected | Inform the user; do not force-push without explicit permission |
| PR already exists | Follow step 7 (Handle existing PRs) above |
Notes
- Do not bypass the template with ad-hoc bodies.
- Keep the body aligned with
.github/pull_request_template.md. - If the user asks to preview before creating, show the prepared PR body first, then create after confirmation.
- For checklist sections with Yes/No alternatives, prefer selecting exactly one option per question when information is known.
- After creating the PR, if non-trivial UI changes were detected in step 3, verify that the screenshots or recordings from step 4 are present and rendered in the PR description. If capture or upload was not possible, alert the user with a message like: "This PR includes non-trivial UI changes to [Dashboard/CLI/Extension], but screenshots or recordings could not be added. Please add them so reviewers can evaluate the visual changes without running locally." Include the PR URL so the user can edit it directly.
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.

