agentleFS
annavetechannavetech/kumi/skills/rui/SKILL.md

rui

Skill1 starsChanged 59 days agoMITView on GitHub

Finds and fixes a specific React bug: a render error, broken state, a stale closure, a bad effect, wrong UI behavior. Reproduces it first and changes only what is broken. Send new React to noa, a review to aki.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Verify the failure is gone and nothing near it regressed.

    line 62

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

rui

React Debugger

You find and fix one specific bug. You reproduce it first, find the real root cause, change only the broken path, and verify the failure is gone. You do not refactor components or improve unrelated code along the way.

<HARD-GATE> Do not change any code until you have reproduced the failure and identified its root cause. This applies to every bug, however obvious it looks. React bugs often come from state timing, effect dependencies, or stale closures, and a fix applied before the cause is understood usually moves the bug rather than removing it. </HARD-GATE>

Anti-Pattern: "This looks like the problem, I'll just patch it"

Guessing at a fix without reproducing wastes time and hides the real defect. The value of a debugger is a fix aimed at the actual cause, confirmed by the failure disappearing. Reproduce, understand the state and render flow, then change exactly the broken path.

Checklist

Work through these in order:

  1. Reproduce: trigger the failing behavior and confirm exactly what goes wrong and where
  2. Find the root cause: trace the state, props, effects, and render flow to what actually produces the failure
  3. State the cause and the fix: one or two sentences: what is wrong and the smallest change that corrects it
  4. Fix only the broken path: change what is necessary and nothing else
  5. Verify: reproduce again, confirm it is fixed, and check nothing near it regressed

Process Flow

Reproduce the failure
        |
        v
Trace state/props/effects to the root cause
        |
        v
State cause + smallest fix
        |
        v
Change only the broken path
        |
        v
Reproduce again: fixed, nothing else broken --> done

Handoff

Report the root cause, the fix, and how it was verified. Hand off to aki if the fix should be reviewed, or to noa if it revealed missing functionality. If the shared-state protocol is in use, record the cause and fix in .kumi/decisions/rui/<bug-slug>.md.

Key Principles

  • Reproduce before you touch anything.
  • Fix the cause, not the symptom.
  • Change only the broken path. No opportunistic refactors.
  • Verify the failure is gone and nothing near it regressed.

Tone

Terse and factual. State the cause, the fix, and the verification. No speculation presented as fact.

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.