workflow-pr
Skill9 starsChanged 42 days agoMITView on GitHub
Manage an existing PR lifecycle — review, bot feedback, conflicts, merge. Use when opening a PR from an already-committed branch, addressing review, or merging. Uncommitted working tree to merge-ready → workflow-release-prep.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- ovargas/virtual-teamtheir own version, first seen Oct 25, 2026
- kensaurus/skillsword for word, first seen Oct 1, 2026
- cekrauseee/workflowstheir own version, first seen Sep 12, 2026
Other versions3 projects use a version of this.
Word for word · 1
- kensaurus/skills★ 9100% same
Edited · 0
None found.
Wrote their own version · 2
- ovargas/virtual-team★ 14same name
- cekrauseee/workflows★ 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 repository165 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/approved-plan-execution.mdcCursor rule
- .cursor/rules/skill-workflows.mdcCursor rule
- .cursor/rules/verification-before-completion.mdcCursor rule
- llms.txtllms.txt
- audit-accessibilitySkill
- audit-agent-speedSkill
- audit-analyticsSkill
- audit-auth-flowsSkill
- audit-backend-architectureSkill
- audit-bundle-sizeSkill
- audit-cicdSkill
- audit-codemod-safetySkill
- audit-code-qualitySkill
- audit-code-reviewSkill
- audit-db-schemaSkill
- audit-doctrineSkill
- audit-env-paritySkill
- audit-fe-apiSkill
- audit-gate-logicSkill
- audit-i18nSkill
- audit-infra-costSkill
- audit-langfuse-llmSkill
- audit-llm-securitySkill
- audit-monetization-iapSkill
- audit-payment-systemSkill
- audit-performanceSkill
- audit-realworldSkill
- audit-registry-listingSkill
- audit-resilienceSkill
- audit-responsiveSkill
- audit-securitySkill
- audit-skill-conflictsSkill
- audit-ui-statesSkill
- audit-uiux-design-systemSkill
- audit-ux-journeysSkill
- audit-uxSkill
- backend-db-performanceSkill
- backend-error-handlingSkill
- backend-observabilitySkill
- backend-patternsSkill
- backend-realtimeSkill
- burndown-fullSkill
- complete-everythingSkill
- data-pipelineSkill
- data-visualizationSkill
- debug-errorSkill
- debug-fe-be-integrationSkill
- debug-sentry-monitorSkill
- deploy-npmSkill
- deploy-verifySkill
- design-apiSkill
- design-canvasSkill
- design-emailSkill
- design-frontendSkill
- design-generative-artSkill
- design-mobile-firstSkill
- design-motionSkill
- design-prdSkill
- design-systemSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
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 80
Search for pull_request_template.md in repo
- Distinctive: line 81
Use template structure for PR description
- Distinctive: line 82
Create PR with clear title and description
- Distinctive: line 90
Check every 60-90 seconds until checks complete:
- Very specific: line 122
All checks must show SUCCESS
- Distinctive: line 143
Only after both gates pass and the user explicitly asked to merge:
- Very specific: line 170
Fix: Always check mergeable_state, poll again if unstable
- Distinctive: line 176
Fix: After every push, re-fetch comments for new threads
- Distinctive: line 179
Fix: After addressing each comment, mark thread resolved
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Workflow Skill
Degree of freedom: MIXED. Feedback judgment [HIGH freedom]; validations,
poll loop, and merge-only-if-asked [LOW freedom — run exactly].
Full checklist for an already-committed branch or an open PR.
Uncommitted / staged / untracked working tree that still needs review,
commit, and a merge-ready PR is workflow-release-prep. This skill
does not own that sequence.
How to reason
- Validate — repo commands green; no secrets in the branch
- Open — template + complete description
- Drive — poll checks; address every thread
- Gate — mergeable_state clean AND threads 0; merge only if asked
Worked example
Validate:
pnpm typecheck && pnpm testgreen; no.envin the diff. Open: PR uses the repo template; titlefix(checkout): handle deleted SKU. Drive: CI red on lint → fix, push, re-poll; reply + resolve the bot thread. Gate:mergeable_state=clean, 0 threads; user did not ask to merge → report merge-ready and stop.
Self-critique before reporting
- Already committed — dirty tree was routed to
workflow-release-prep - Both gates — never treat
mergeable: trueas approval - Merge gated — no merge unless the user explicitly asked
- Right owner — uncommitted pile →
workflow-release-prep; keep-green loop after open →babysit
Invocation boundary
- Standalone: open or manage the PR. Merge only when the user explicitly asked to merge.
- Called by
workflow-release-prep: open the PR and return its URL.babysitowns the green loop; the caller stops before merge.
Phase 1: Before Creating PR [LOW freedom — run exactly]
1. Run Validations
JavaScript/TypeScript:
pnpm typecheck && pnpm build && pnpm test
# or: npm run typecheck && npm run build && npm testPython:
mypy . && python -m pytest && ruff check .With Makefile:
make typecheck && make build && make test2. Security Scan
Before committing, verify:
- No hardcoded paths (
/Users/username/...) - No secrets, API keys, or tokens
- No machine-specific values
- Environment variables for sensitive data
3. Create PR
- Search for
pull_request_template.mdin repo - Use template structure for PR description
- Create PR with clear title and description
Phase 2: Monitor PR [LOW freedom — run exactly]
4. Poll Status
Check every 60-90 seconds until checks complete:
Understanding Check Status:
mergeable: true→ Only means no git conflictsmergeable_state: "clean"→ ALL checks passed, safe to merge
Mergeable State Values:
| State | Meaning | Action |
"clean" | ✅ All passed | Safe to merge |
"unstable" | ⚠️ Pending/failing | Wait, poll again |
"blocked" | ❌ Protection rules | Check requirements |
"behind" | ⚠️ Needs update | Update branch |
5. Address Bot Feedback
When reviews complete:
- Read every comment - Track unresolved threads
- For each issue:
- Analyze feedback
- Implement fix
- Commit and push
- Reply confirming fix
- Mark thread resolved
- Address every comment — an unresolved thread fails Gate 2
6. Wait for Re-validation
After pushing fixes:
- Poll status again
- All checks must show
SUCCESS - Re-fetch comments for NEW feedback
- Repeat until clean
Phase 3: Merge Criteria [LOW freedom — run exactly]
7. Final Checklist
Two gates must pass:
| Gate | Check |
| Gate 1 | mergeable_state == "clean" |
| Gate 2 | unresolved_thread_count == 0 |
Both must be TRUE to merge.
8. Execute Merge
Only after both gates pass and the user explicitly asked to merge:
gh pr merge --mergeOtherwise report that the PR is merge-ready and stop.
9. Verify Success
Confirm merge was successful and report status.
Error Handling
| Situation | Action |
| Checks fail 3x | Pause, ask for guidance |
| Unclear feedback | Ask clarifying questions |
| Merge blocked | Check protection rules, report |
| Checks stuck | Run local validation, ask permission |
Common Mistakes
❌ Merging when mergeable_state is "unstable"
Fix: Always check mergeable_state, poll again if unstable
❌ Treating mergeable: true as approval
Fix: mergeable ≠ mergeable_state. Check the latter.
❌ Not re-checking comments after push
Fix: After every push, re-fetch comments for new threads
❌ Not marking threads resolved
Fix: After addressing each comment, mark thread resolved
Quick Reference
# Check PR status
gh pr status
# View checks
gh pr checks <number>
# View comments
gh pr view <number> --comments
# Merge (only when both gates pass)
gh pr merge <number> --mergeDoes 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.

