pull-request
Skill1 starsChanged 5 days agoUnlicenseView on GitHub
Create or update a GitHub Pull Request for any Git repository. Auto-discovers the repo, base branch, and pre-flight commands from the working directory. Prompts the user only when ambiguous.
- Commits and pushes
53 other projects use a version of this.
Adopted by
Most recently taken up by
- CVector-Energy/claude-code-solvetheir own version, first seen Nov 8, 2026
- neomjs/neo-agent-skillstheir own version, first seen Nov 8, 2026
- Kangentic/kangentictheir own version, first seen Nov 7, 2026
- speakeasy-api/gramtheir own version, first seen Nov 6, 2026
- StephanMeijer/skillstheir own version, first seen Nov 6, 2026
- theopenco/llmgatewaytheir own version, first seen Nov 6, 2026
Used with
Projects with it also use issue-campaign, contracts 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.
samchonSkillissue-campaign
Defines the default solo repository-wide issue campaign for typia: exhaustive discovery, lead-vetted issue publication, one unified CI-validated implementation pull request per cycle, solo Self-Review, and repeated rediscovery until a full clean round. Use for broad audits, many issue candidates, or repeated issue-to-pull-request campaigns unless the user explicitly requests parallel or multi-agent execution; do not use for one already-defined issue or an ordinary pull request.
Also in 3 projects that use this
AnthropicSkillcontracts
Answer a question across a corpus of contract documents with verified citations. Use when the user asks what a contract says, which contracts have a clause, what changed between amendments, or any question that needs reading and citing across a set of contract files. The corpus must be on the local filesystem (see README).
Also in 3 projects that use this
mfang0126Skilldevelopment
Full-stack development workflow skill. Guides the complete cycle from understanding requirements to shipping code via PR with Preview validation.
Also in 3 projects that use this
dragonflydbSkillbenchmark
Benchmark Dragonfly (and compare against Valkey/Redis) on local or remote cloud instances, then produce a performance + memory report with charts and a raw-data appendix. Use this whenever the user runs /benchmark, or asks to benchmark / load-test / measure throughput, QPS, latency, or memory efficiency of Dragonfly or another Redis-compatible server, to compare Dragonfly vs Valkey or Redis, or to generate a benchmark report. Trigger it even when the user just describes the goal ("see how fast Dragonfly is on this box", "compare memory per key vs Valkey") without saying the word "benchmark".
Also in 4 projects that use this
VercelSkillgh-stack
Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is checked out.
Also in 3 projects that use this
carapace-shSkillgit
Use when working with Git — object model, references, index, branching, merging, rebasing, remotes, diffs, config, hooks, worktrees, submodules, and plumbing commands. Triggers on: "git", "git branch", "git commit", "git merge", "git rebase", "git checkout", "git stash", "git reset", "git submodule", "git worktree", "git blame", "git bisect", "git reflog", "git hooks", "git config".
Also in 3 projects that use this
Other versions53 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 53
- samchon/typia★ 6ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- werf/werf★ 4.7ksame name
- basicmachines-co/basic-memory★ 4.5ksame name
- PaulWoitaschek/Voice★ 3.3ksame name
- event-catalog/eventcatalog★ 3ksame name
- heyitsnoah/claudesidian★ 2.6ksame name
- samchon/nestia★ 2.2ksame name
- theopenco/llmgateway★ 1.7ksame name
43 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 repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-copy-writerSkill
- ae-inspect-describeSkill
- algorithmic-artSkill
- animation-directorSkill
- assembly-guideSkill
- brainstorming-and-ideatingSkill
- brainstorming-research-ideasSkill
- brainstormingSkill
- brief-to-tasksSkill
- canvas-designSkill
- cli-designSkill
- cli-output-hierarchySkill
- commit-messageSkill
- craft-uiSkill
- creative-directorSkill
- design-briefSkill
- design-flowSkill
- design-mock-auditSkill
- design-reviewSkill
- design-system-patternsSkill
- design-tokensSkill
- deslopifySkill
- diagnoseSkill
- diagramming-app-routesSkill
- doc-restructureSkill
- eval-criticSkill
- formatting-open-markdownsSkill
- frontend-designSkill
- frontend-slidesSkill
- gdocs-tab-writerSkill
- gemini-apiSkill
- gif-creationSkill
- github_repo_researchSkill
- grill-meSkill
- grill-with-docsSkill
- hallmarkSkill
- handoffSkill
- html-presentationSkill
- humanizerSkill
- i-have-adhdSkill
- improve-codebase-architectureSkill
- information-architectureSkill
- install-skill-from-githubSkill
- markdown-output-hierarchySkill
- marketing-psychologySkill
- merge-latestSkill
- modern-web-performanceSkill
- motion-designSkill
- pdf-readerSkill
- pm-brainstormingSkill
- pm-discovery-brainstormSkill
- product-marketingSkill
- prototypeSkill
- ralph_loopSkill
- react-best-practicesSkill
- review-loopSkill
- sandbox-explainerSkill
- skill-creatorSkill
- skill-optSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 12 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 48 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
All commands run from the root of the current Git repository.
- Distinctive: line 15
Before anything else, detect the repository context:
- Distinctive: line 23
If this fails, the current directory is not a Git repo.
- Very specific: line 63
Prefer pnpm over npm if a pnpm-lock.yaml exists.
- Distinctive: line 64
Only run commands for which the indicator file exists.
- Very specific: line 66
Check package.json scripts keys before running — if test, lint, or build scripts are absent, skip that step.
- Distinctive: line 69
If any step fails, stop and present the errors.
- Very specific: line 80
If not authenticated, ask the user to run gh auth login.
- Distinctive: line 90
If there are uncommitted changes, ask the user:
- Distinctive: line 94
If yes, invoke the commit-message skill or help generate a commit message.
- Distinctive: line 110
Wait for their response.
- Very specific: line 112
If a subset is selected, create a new branch from origin/$BASE and cherry-pick the selected commits:
- Distinctive: line 134
If an existing PR is found, present it and ask:
- Very specific: line 145
Push: Run git push -u origin "<branch>" and stop.
- Very specific: line 148
View: Run gh pr view "<branch>" --web and stop.
- Distinctive: line 160
Use the commit log and diff (truncate diff to 20k chars) to generate a concise PR title and a detailed PR description in markdown with …
- Distinctive: line 169
Present the generated title and description to the user: Ask:
- Distinctive: line 179
Wait for their response. Iterate until accepted.
“Common” is measured: kept by at least 6 in 10 of the 48 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
All commands run from the root of the current Git repository.
Environment Discovery
Before anything else, detect the repository context:
Locate the repo root:
git rev-parse --show-toplevelIf this fails, the current directory is not a Git repo. Stop and ask the user to navigate to a Git repository or specify one.
Detect the remote repo identifier (for
gh pr create --repo):git remote get-url originParse the
owner/repofrom the URL (handles both SSHgit@github.com:owner/repo.gitand HTTPShttps://github.com/owner/repo.gitformats). If the remote is not GitHub-hosted (e.g., GoB, GitLab, Bitbucket), stop and inform the user that this skill targets GitHub PRs viagh.Detect the default base branch:
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'Fall back to
mainifghis unavailable or the query fails. Store as$BASE.
Pre-flight Checks
Auto-discover and run the project's quality gates. Check for the presence of these files in the repo root, in order:
| Indicator file | Test command | Lint command | Build command |
package.json | npm test or pnpm test | npm run lint or pnpm lint | npm run build or pnpm build |
Makefile | make test | make lint | make build |
Cargo.toml | cargo test | cargo clippy | cargo build |
go.mod | go test ./... | golangci-lint run | go build ./... |
BUILD / BUILD.bazel | (skip — use blaze/bazel test) | buildifier -lint=warn | blaze build or bazel build |
pyproject.toml / setup.py | pytest | ruff check . | (skip) |
Rules:
- Prefer
pnpmovernpmif apnpm-lock.yamlexists. - Only run commands for which the indicator file exists. If none are found, skip pre-flight and inform the user.
- Check
package.jsonscriptskeys before running — iftest,lint, orbuildscripts are absent, skip that step.
If any step fails, stop and present the errors. Ask the user whether to fix the issues or bypass and continue.
Verify Prerequisites
Verify GitHub CLI:
gh auth statusIf not authenticated, ask the user to run
gh auth login.
Uncommitted Changes
Check for uncommitted changes:
git status --porcelainIf there are uncommitted changes, ask the user:
You have uncommitted changes. Commit them before creating the PR?
If yes, invoke the commit-message skill or help generate a commit message.
Commit Selection
Fetch latest remote and list commits unique to this branch:
git fetch origin "$BASE" 2>/dev/null; git cherry -v "origin/$BASE" HEADParse the output. Lines starting with
+are commits unique to this branch. Present the list to the user and ask:These commits will be included in the PR. Include all, or select a subset?
Wait for their response.
If a subset is selected, create a new branch from
origin/$BASEand cherry-pick the selected commits:git checkout -b <new-branch-name> "origin/$BASE" git cherry-pick <hash1> <hash2> ...
Check for Existing PR
Get the current branch:
git branch --show-currentCheck for an open PR on this branch:
gh pr list --head "<branch>" --json url,number,title,body,headRefOid --state openIf an existing PR is found, present it and ask:
A PR already exists for this branch: <url>
- Push & Update (add new commits)
- Update Title & Description only
- View in Browser
- Exit
Wait for their response.
- Push: Run
git push -u origin "<branch>"and stop. - Update: Continue to the title/description steps below, then use
gh pr edit. - View: Run
gh pr view "<branch>" --weband stop. - Exit: Stop.
Generate PR Content
Generate title and description. Get the commit log and diff:
git log "origin/$BASE..HEAD" --oneline git diff "origin/$BASE...HEAD"Use the commit log and diff (truncate diff to 20k chars) to generate a concise PR title and a detailed PR description in markdown with sections:
## Summary— what changed and why.## Key Changes— file-by-file or logical grouping of modifications.## Security Considerations— any auth, input validation, or data handling changes.## Verification Results— output of pre-flight checks.
Present the generated title and description to the user. Ask:
Here is the proposed PR:
Title: <title>
Description: <description preview>
Accept, suggest improvements, or edit manually?
Wait for their response. Iterate until accepted.
Create or Update PR
Push the branch:
git push -u origin "<branch>"Create or update the PR:
For a new PR:
gh pr create --repo "<owner>/<repo>" --title "<title>" --body "<body>" --base "$BASE"For updating an existing PR:
gh pr edit <number> --title "<title>" --body "<body>"Present the PR link prominently in the response:
PR created: https://github.com/<owner>/<repo>/pull/<number>
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.

