flow-pr-fix
Skill1 starsChanged 47 days agoMITView on GitHub
Review feedback and failing checks on a pull or merge request. Use when a PR or MR has review comments or red CI; push, replies and thread resolution stay within what the user authorized. Hands back to `flow-review` or `flow-ship`.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- flow-a11ySkill
- flow-adversarial-reviewSkill
- flow-animateSkill
- flow-apiSkill
- flow-benchmarkSkill
- flow-brainstormSkill
- flow-commitSkill
- flow-data-migrateSkill
- flow-depsSkill
- flow-designSkill
- flow-diagnoseSkill
- flow-docsSkill
- flow-git-fixSkill
- flow-handoffSkill
- flow-migrateSkill
- flow-observeSkill
- flow-onboardSkill
- flow-orchestrateSkill
- flow-planSkill
- flow-prototypeSkill
- flow-prune-agent-setupSkill
- flow-redesignSkill
- flow-refactorSkill
- flow-releaseSkill
- flow-repo-briefSkill
- flow-reviewSkill
- flow-shipSkill
- flow-simplifySkill
- flow-specializeSkill
- flow-stylesSkill
- flow-testSkill
- flow-triageSkill
- flow-uiSkill
- flow-verifySkill
- flow-workSkill
- flow-write-skillSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
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
- Distinctive: line 18
Keep the platform's identifiers straight: a thread ID can differ from its first comment's ID, and a reply targets whatever the platform …
- Distinctive: line 20
Use the platform's connected tools, CLI or API only when available and authorized, and check its current API shape instead of assuming …
- Distinctive: line 43
Every thread with current actionable feedback has a clear disposition.
- Very specific: line 47
Use flow-review for affected behavior or flow-ship for the remaining authorized delivery action.
≈ “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
Fix review feedback
Works on any hosting platform. "Change request" below means a pull request, merge request or equivalent.
Map every thread with actionable feedback to a disposition and evidence. Never announce or resolve a fix reviewers cannot see on the published revision.
Process
- Resolve the hosting platform, repository and change request, base and head, current commit SHA, and local work state. Read the description, reviews, threads, and checks, following pagination. Track resolved, outdated, and already-addressed feedback so reruns do not duplicate replies.
- Normalize conversations:
- Keep the platform's identifiers straight: a thread ID can differ from its first comment's ID, and a reply targets whatever the platform expects (usually the thread or root comment), never another reply.
- General discussion comments and inline review threads are different channels.
- Use the platform's connected tools, CLI or API only when available and authorized, and check its current API shape instead of assuming another platform's.
- Group by intent and classify each item: fix, already fixed, needs evidence, disagreement, or out of scope. Restate each suggestion and check it against the code before agreeing; a reviewer can be wrong, and a technically grounded pushback beats a silent bad change. A type annotation does not validate runtime input: before removing a guard, trace where the value comes from (files, network, users). Collect every unclear item and ask about them together before implementing any. Resolve reviewer conflicts against contracts and source.
- For failing checks, read the actual job log on the current head, reproduce locally where possible, and separate real failures from flaky or infrastructure ones. Fix the cause; never skip, mute or loosen a check to get green.
- Make logical changes, preserving unrelated staging and work. Run relevant tests and repository gates; review substantive behavior changes. Keep unsquashed fix commits when review practice needs traceability; do not rewrite public history by default.
- Build a response map: thread and root ID, disposition, exact change, commit or file evidence, validation. A local-only request ends here with local fixes and reply drafts.
- When publishing is authorized, push and confirm the remote head contains the fix. Only then, if replies or resolution are also authorized, post concise evidence-backed responses and resolve fully addressed threads. Leave disagreements and missing evidence open. After an uncertain response, check whether the action succeeded before retrying.
- Re-fetch the change request and confirm what is published, answered, resolved, or pending. Judge checks on the latest head, not an earlier green commit.
Red flags
- "The reviewer is right, it's a quick change": verify it against the code first.
- "The type says it can't be null": check the runtime source of the value.
- "I'll guess what they meant": ask about every unclear comment together, before editing.
Anti-patterns
- Replying "fixed" with an unpublished SHA, or resolving before a push succeeds.
- Treating every historical thread as new work, or replying to a reply ID.
- Accepting every suggestion without checking the behavior contract, or performative agreement before verifying.
- Sending comments or reviewer notifications just because code changes were authorized.
Done when
- Every thread with current actionable feedback has a clear disposition.
- Requested fixes are verified and their publication status is accurate.
- Authorized replies and resolutions cite visible evidence; disagreements stay open.
Use flow-review for affected behavior or flow-ship for the remaining authorized delivery action.
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.

