pr-workflow
Skill0 starsChanged 5 months agoMITView on GitHub
Ship repository changes through the claim → worktree → branch → PR → merge loop. Use when the user asks to fix, build, or open a PR for a shared repo, or before starting any non-trivial change to someone else's checkout.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- sbluemin/fleet-harnesstheir own version, first seen Nov 8, 2026
- notque/vexjoy-agenttheir own version, first seen Nov 7, 2026
- yktsnet/dotfiles-publictheir own version, first seen Nov 5, 2026
- OneByJorah/VirtOfficetheir own version, first seen Nov 1, 2026
- ryanschue/automated-product-engineertheir own version, first seen Nov 1, 2026
- OneByJorah/offivotheir own version, first seen Oct 20, 2026
Used with
Projects with it also use workflow and code-review.
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.
VercelSkillworkflow
Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- tursodatabase/turso★ 25ksame name
- esphome/esphome★ 12ksame name
- open-edge-platform/anomalib★ 6.4ksame name
- Chorus-AIDLC/Chorus★ 1.2ksame name
- glommer/pgmicro★ 1.2ksame name
- Tencent-Hunyuan/UniRL★ 1ksame name
- esphome/esphome-docs★ 466same name
- notque/claude-code-toolkit★ 448same name
- notque/vexjoy-agent★ 448same name
- mezotv/notra★ 256same 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 repository4 other files it gives its agents.
- memory-gcSkill
- rule-mineSkill
- security-reviewSkill
- smartloopSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Every non-trivial change to a shared repo ships as a PR tied to a claim.
- Distinctive: line 36
Run the repo's own verification commands.
- Distinctive: line 52
If a branch flip loses commits, recover them with git reflog before restarting.
“Common” is measured: kept by at least 6 in 10 of the 19 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
PR workflow
Every non-trivial change to a shared repo ships as a PR tied to a claim. This is
the serialization point that keeps concurrent agents from clobbering each other.
The canonical protocol is {{REPO}}/global/coordination.md; read it before
starting.
1. Claim the work
gh issue list --state openfirst. If an open issue covers the task and is assigned or labeledagent:*, STOP — someone owns it. A claim older than 24h with no linked branch is fair game.- Otherwise create or self-assign an issue and add your label
(
agent:claude,agent:codex,agent:cursor,agent:kimi). One issue = one task = one agent. - Where the samebrain repo is present, back the claim mechanically:
node {{REPO}}/hooks/lease-check.mjs claim <scope> --owner <agent>@<machine>(exit 2 = already held). Release it when done and commit the lease file.
2. Isolate physically
- Work in a dedicated
git worktree, never a shared checkout:git worktree add ../<repo>-<slug> -b <agent>/<slug>. - Branch prefix by agent:
claude/*,codex/*,cursor/*,kimi/*. Never work on another agent's branch.
3. Change and verify
- Make the smallest change that satisfies the issue. Match existing style; touch nothing unrelated.
- Run the repo's own verification commands. Capture the output — it belongs in the PR.
- Conventional commits only (
feat:,fix:,refactor:,docs:,test:,chore:,perf:,ci:). No AI attribution lines.
4. Open the PR
- Push the branch and open a PR whose body names the issue with
Fixes #N, the approach in one or two lines, and the exact verification evidence.
5. Merge
- The PR queue serializes conflicts; do not merge your own work until the checks or the reviewer clear it.
- Release your claim (issue label and lease) after the merge lands.
If a branch flip loses commits, recover them with git reflog before restarting.
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.

