agentleFS
OpenMinedOpenMined/PySyft/.claude/skills/syft-pr-quickfix-iterate/SKILL.md

syft-pr-quickfix-iterate

Skill10k starsChanged 6 days agoApache-2.0View on GitHub

Improve the syft-pr-quickfix skill from feedback. Takes a missed finding, a wrong finding, a bad fix, a complaint about the report, or a new check. Logs the feedback to an archive, turns it into a general rule, edits syft-pr-quickfix/SKILL.md within a size budget, and re-runs the check on the PR that prompted the feedback. Use when the user gives feedback on a quickfix report — "finding 3 is wrong", "you missed that X", "also look for Y".

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no feedback came with the request, ask what should change and which report prompted it.

    line 32
  2. Very specific:

    Read all of feedback.md. Then write the rule as one sentence: _the skill does X, it should do Y._ Use Generalise below.

    line 39
  3. Distinctive:

    If the skill already says it, rewrite that text so it is clearer or more prominent.

    line 42
  4. Very specific:

    If ~/.claude/skills/write-doc/SKILL.md exists, read it and follow its rules for every sentence you write.

    line 44
  5. Distinctive:

    Ask what class of problem the example belongs to.

    line 54
  6. Distinctive:

    Test the rule twice before you write it down:

    line 60
  7. Distinctive:

    Does it apply to code you have not seen?: If it only matches this example, make it broader.

    line 62
  8. Distinctive:

    Do not drop a new rule to stay inside the budget.

    line 87

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

Improve the syft-pr-quickfix skill

Feedback arrives as one example, such as "finding 3 is not a problem". The job is to find the general rule behind that example, change the skill, and show the change working on the PR that prompted the feedback.

There are two files:

  • .claude/skills/syft-pr-quickfix/SKILL.md is the skill you edit. It has a size budget.
  • .claude/skills/syft-pr-quickfix-iterate/feedback.md holds every past piece of feedback. Only append to it. The archive keeps the detail, so the skill itself can stay short.

Both skills are checked in, through ! rules in .gitignore. Changes to them go to dev in a pull request.

Input

Feedback in the user's words, usually about a report that was just printed. It is one of five kinds:

  • Missed — a problem the report should have found.
  • Wrong — a finding that is not a problem.
  • Bad fix — a finding that is right, but with a fix that is wrong or too vague.
  • Report — the report reads badly: too long, unclear, or in the wrong order.
  • New check — a kind of problem the skill should start looking for.

If no feedback came with the request, ask what should change and which report prompted it.

Steps

  1. Append the feedback to feedback.md in the format that file gives. Create the file from that format the first time. Then add each finding the user judged to syft-pr-quickfix/examples.md, under Good or Bad, with the PR, the tag, the place and the reason in one or two lines.
  2. Read all of feedback.md. Then write the rule as one sentence: the skill does X, it should do Y. Use Generalise below.
  3. Decide whether the rule is missing, or whether the skill already says it and was not followed. If the skill already says it, rewrite that text so it is clearer or more prominent. Do not add a second rule on the same subject.
  4. If ~/.claude/skills/write-doc/SKILL.md exists, read it and follow its rules for every sentence you write.
  5. Edit syft-pr-quickfix/SKILL.md, and stay inside Size budget below.
  6. Re-run syft-pr-quickfix on the PR that prompted the feedback. Show that the missed finding now appears, that the wrong finding is gone, or that the report now reads as the user asked.
  7. Report back in a few lines: the rule, where it went, the size before and after, and the result of the re-run.

Generalise

Ask what class of problem the example belongs to. Do not fix only the one example.

"Finding 3 flags a cache as same-state" → the rule is "a value that the code rebuilds from its source on every change is a cache, not a second source of truth", not "do not flag _peer_cache".

Test the rule twice before you write it down:

  • Does it apply to code you have not seen? If it only matches this example, make it broader.
  • Is there enough evidence for it? One example supports a narrow rule. If you are not sure how far the rule goes, ask.

Then read the archive for older feedback that the new rule also covers. When two or three rules are really one idea, replace them with that one idea, and tell the user which rules you merged.

Where a rule goes

  • A rule about what counts as a problem, or what does not, goes in the text of that check.
  • A new kind of problem becomes a new check with its own tag. Before you add one, make sure no existing check already covers it.
  • A rule about how to confirm a finding goes in Steps.
  • A rule about how the report reads goes under Report. Update the example report as well, so that the rules and the example agree.

Size budget

syft-pr-quickfix/SKILL.md stays under 120 lines and 12 checks. Measure it before and after the edit:

wc -l .claude/skills/syft-pr-quickfix/SKILL.md

Do not drop a new rule to stay inside the budget. Instead, merge the rule into one that says something close, replace two narrow rules with one general rule, or tighten the wording of other rules. Tell the user which of these you did.

Writing

The skill has to read as plainly as the reports it asks for. Every rule is one short sentence in everyday words that a reader can test against a report. "Be concise" cannot be tested, so it does not go in. "At most 15 findings" can be tested.

Download now (ZIP)

Trending

Quiet this year.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the OpenMined/PySyft repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about OpenMined/PySyft

The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 62

Talked about on GitHub, Hacker News, Stack Overflow and the web (62 times).

On GitHub · 50

45 more on GitHub

On the web · 3

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.