agentleFS
sssemilsssemil/SKILLS/skills/brutal/brutal-pr-fix-loop/SKILL.md

brutal-pr-fix-loop

Skill2 starsChanged 4 months agoMITView on GitHub

Run a bounded provider-neutral pull-request review and finding-fix loop for up to three passes. Use when the user wants the existing safety-capped Brutal PR cleanup behavior.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the bounded review/fix orchestration without replacing source-skill rules.

    line 8
  2. Distinctive:

    Follow each source skill for its local operation and use this skill only for ordering and pass accounting.

    line 17
  3. Distinctive:

    Run at most three review/fix passes.

    line 22
  4. Distinctive:

    Use all-findings mode for CRITICAL, MAJOR, MINOR, and NIT.

    line 23
  5. Distinctive:

    Run an all-findings review and record its review id, head, and validated finding count.

    line 30
  6. Distinctive:

    If the count is zero, stop clean.

    line 32
  7. Distinctive:

    Run brutal-pr-finding-fixer continuously in all-severity mode.

    line 33
  8. Distinctive:

    Stop when the fixer made no code-changing commit, no generated occurrence was actionable, a hard guard blocked, or pass three completed.

    line 34
  9. Distinctive:

    If fixes were pushed and fewer than three passes ran, refresh the head and repeat.

    line 36

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Brutal PR Fix Loop

Run the bounded review/fix orchestration without replacing source-skill rules.

Source Skills

Before starting, read:

  • ../brutal-pr-review/SKILL.md
  • ../brutal-pr-finding-fixer/SKILL.md

Follow each source skill for its local operation and use this skill only for ordering and pass accounting.

Defaults

  • Run at most three review/fix passes.
  • Use all-findings mode for CRITICAL, MAJOR, MINOR, and NIT.
  • Preserve all integration, dirty-worktree, stale-head, fork, verification, push, and tooling guards.

Workflow

  1. Resolve the open pull request and integrations through brutal-pr-review.
  2. Run an all-findings review and record its review id, head, and validated finding count.
  3. If the count is zero, stop clean.
  4. Run brutal-pr-finding-fixer continuously in all-severity mode.
  5. Stop when the fixer made no code-changing commit, no generated occurrence was actionable, a hard guard blocked, or pass three completed.
  6. If fixes were pushed and fewer than three passes ran, refresh the head and repeat.

Final Response

Report integrations, pull request, final head, stop reason, passes, findings created/fixed/skipped/blocked by severity, comment actions, commits, checks, and remaining generated occurrences.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.