pr-workflow
Skill54 starsChanged 6 months agoMITView on GitHub
Prepares branches and PRs for clean, reviewable merges.
- Commits and pushes
10 other projects use a version of this.
Adopted by
Most recently taken up by
- sbluemin/fleet-harnesstheir own version, first seen Oct 4, 2026
- notque/vexjoy-agenttheir own version, first seen Sep 26, 2026
- 686f6c61/alfred-devtheir own version, first seen Aug 15, 2026
- rootkit-lab/skinktheir own version, first seen Aug 12, 2026
- me-cedric/agent-compasstheir own version, first seen Jun 24, 2026
- enckequity/samebraintheir own version, first seen Jun 10, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- Chorus-AIDLC/Chorus★ 1.2ksame name
- notque/vexjoy-agent★ 424same name
- 686f6c61/alfred-dev★ 116same name
- sbluemin/fleet-harness★ 17same name
- Autopsias/slashagents★ 4same name
- VersoXBT/claude-initial-setup★ 4same name
- me-cedric/agent-compass★ 3same name
- enckequity/samebrain★ 0same name
- kienbui1995/magic-powers★ 0same name
- rootkit-lab/skink★ 0same name
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 repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- architecture-sketchingSkill
- autonomous-bug-fixSkill
- behavioral-foundationSkill
- brainstormingSkill
- codebase-onboardingSkill
- code-reviewSkill
- debuggingSkill
- demand-eleganceSkill
- derive-nfr-from-driverSkill
- derive-security-from-riskSkill
- dispatching-parallel-agentsSkill
- durable-workSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- plan-before-codeSkill
- receiving-code-reviewSkill
- refactoringSkill
- requesting-code-reviewSkill
- requirements-elicitationSkill
- safety-guardrailsSkill
- security-auditSkill
- self-improvementSkill
- subagent-strategySkill
- test-writingSkill
- traceability-gateSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verify-before-doneSkill
- template-skillSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 58
Run via the powershell tool:
- Distinctive: line 66
If anything fails, fix it before proceeding.
- Distinctive: line 118
Before requesting a human reviewer:
- Very specific: line 121
Run the code-review skill on your own change.
- Very specific: line 122
Check for debug artifacts: console.log, print(), TODO, commented-out code.
- Distinctive: line 137
DO NOT: leave WIP PRs open. Either it is ready for review or it is a draft you actively work on.
“Common” is measured: kept by at least 6 in 10 of the 8 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 Skill
Takes a working branch from "the code works" to "this is ready for a human reviewer": pre-flight checks, clean commits, a real description, self-review, and disciplined handling of feedback. Does NOT create draft "WIP" PRs that sit open for days.
When to Use
- Preparing a feature branch for review.
- Opening a pull request.
- Writing or rewriting a PR description.
- Restructuring commits before review.
- The user says "submit this" or "get this ready for review".
Prerequisites
gitconfigured with author identity.ghCLI authenticated for PR creation (or web access to the host).- The
powershelltool to rungit, the test suite, andscripts/verify.sh. - A green test suite on the branch.
How to Run
1. Pre-flight: tests green, working tree clean, scope reviewed.
2. Clean up commits with interactive rebase if needed.
3. Push the branch.
4. Open the PR with a structured description.
5. Self-review the diff (use the `code-review` skill).
6. Address feedback in new commits — do not force-push during active review.Quick Reference
| Step | Command (run via powershell) | Notes |
| Pre-flight tests | npm test / pytest / go test ./... | Must exit 0 |
| Dojo gate | bash scripts/verify.sh --check | Must exit 0 |
| Clean tree | git status --porcelain | Empty |
| Review scope | git diff main --stat | Matches plan |
| Tidy history | git rebase -i main | Optional, before push |
| Push | git push -u origin <branch> | First push of branch |
| Open PR | gh pr create --fill then edit body | Or use the GitHub UI |
Procedure
Step 1: Pre-Flight
Run via the powershell tool:
bash scripts/verify.sh --check
git status --porcelain
git diff main --statIf anything fails, fix it before proceeding. A PR opened on a red branch wastes reviewer time.
Step 2: Clean Up Commits
Interactive rebase if the history is noisy:
git rebase -i mainSquash fixups. Reword unclear messages. Aim for a sequence that reads like a story:
feat: add rate limiting middleware
test: cover rate limit burst traffic
docs: document rate limit configurationCommit message format:
<type>: <short description>
<body — what and why, not how>
Types: feat, fix, refactor, test, docs, choreStep 3: Write the PR Description
## What
<Brief description.>
## Why
<Problem solved. Link the issue.>
## How
<High-level approach. Key design decisions.>
## Testing
<How was this tested? What should the reviewer verify?>
## Checklist
- [ ] Tests pass
- [ ] No regressions
- [ ] Docs updated (if applicable)
- [ ] `tasks/todo.md` reflects completionStep 4: Self-Review
Before requesting a human reviewer:
- Open the PR on GitHub and read the diff in the web UI (different lens than local).
- Run the
code-reviewskill on your own change. - Check for debug artifacts:
console.log,print(),TODO, commented-out code. - Confirm the file list matches the stated scope.
Step 5: Handle Review Feedback
- Address every comment (use the
receiving-code-reviewskill). - Push fixes as new commits during active review.
- Squash fixup commits just before merge.
Pitfalls
- DO NOT open mega PRs (>400 lines changed across many files). Split them.
- DO NOT force-push during active review — reviewers lose context.
- DO NOT mix refactoring and feature work in one PR — separate them.
- DO NOT omit the description. Reviewers should not have to reverse-engineer intent.
- DO NOT leave WIP PRs open. Either it is ready for review or it is a draft you actively work on.
Verification
scripts/verify.sh --checkexits 0 locally before push.- PR description has What / Why / How / Testing sections.
- Commit history is readable (no
wip, nofix stuff). - Diff scope matches the stated intent.
- Self-review was run via the
code-reviewskill before requesting human review.
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.

