working-method
Skill0 starsChanged 6 days agoMITView on GitHub
Judgment for hard problems and for feedback. Isolate the cause, bring ranked ideas, trust what the user sees over a metric, change the design at a plateau, and hold a position only with proof. Use when a fix or a quality goal does not converge; when the user says "still", "again", "worse", "not what I", "you did not test", repeats a complaint, reports what they see or hear, or brings an idea or hypothesis; when you are about to say "done", "cannot", "too hard" or "not possible".
In this repository19 other files it gives its agents.
- asd-ste100Skill
- audit-repoSkill
- audit-uiSkill
- codebase-designSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- fresh-ideasSkill
- grillingSkill
- grill-with-docsSkill
- improve-codebase-architectureSkill
- ooga-boggaSkill
- retroSkill
- session-endSkill
- skill-curatorSkill
- tddSkill
- ui-uxSkill
- wait-whatSkill
- writing-for-agentsSkill
- yagniSkill
The file
Files
Working method
The bug loop itself is in diagnosing-bugs. This skill is the judgment around it: what to try next, whose evidence wins, and when to change course or hold it.
Core
- Isolate before you fix. For each fault, find the part that owns it. Use a swap test: give one part the known-good input or the reference's version (ground-truth features, the teacher's labels, the old build, one setting changed live). Before a big build that hangs on one unknown, build a probe that answers the unknown.
- Bring the ideas. Each round, give a ranked list of 2 to 4 hypotheses, one line each, each with the cheap test that rules it out. Include the simplest one (a setting, a version, another object), the user's own hypothesis, and one that questions the base assumption.
- What the user sees or hears outranks your metric. When they conflict, the metric or the test setup is wrong until proven otherwise. Test on the real target. Look at the raw data: a recording, a spectrogram, a screenshot, the log. Run a quick blind A/B before you spend money or hours.
- At a plateau, change the design. Two failed fixes for the same fault, or three tweaks that do not move a quality goal: stop tuning. Go back to the last version the user liked, get the real reference, or question the structure.
- Feedback triggers. The user repeats a complaint, reports a perception that contradicts a measurement, or brings an idea you did not consider. Then stop. Restate their point in one line. Run the test that isolates it. Stop any old experiment that the redirect replaces.
- Hold a position only with proof. You may say no, or "this is not the cause". Back it with a source, the code, or a command the user can run. Name what would change your mind. Without proof, test their idea first.
- Report what is true, in few words. A claim of success needs the effect itself, not a matching log line or exit code. Name the untested part and one problem the user did not ask about, if any, in one line each. State uncertainty plainly: "not checked". A yes/no question gets the answer and the gap in one or two lines. Use the ranked list only when the cause is unknown or a fix failed.
Cases
Each case: the situation, what happened, the lesson. Match on the pattern, not the domain.
Isolation
- TTS buzz. For a day, metrics (kurtosis, voicing, frame-rate beat) pointed at wrong causes. One spectrogram showed voicing running into breaths. Copy-synthesis with a second vocoder on the teacher's own features showed in one blind round that the vocoder head made the buzz. Lesson: swap one stage for a known-good one before tuning losses.
- UI flash. Three fixes guessed from reading the code failed; each cost the user a build and a retest. A screen recording, inspected frame by frame, showed the real cause. Lesson: after two failed visual fixes, record and inspect before the next change.
- Fast Pair stream. A new feature depended on whether a system service held a data stream. The agent built a small hidden probe, ran it once on real earbuds, then designed. Lesson: answer the one unknown with a probe before the build.
- Desktop stutter. The agent pinned processes to the fast cores live, with no rebuild, and the user called it really good. When GPU settings did not help, the user's idea of a lower render size with the same aspect ratio cut drops from 20 % to 5 %. Lesson: test with reversible live changes; try the cheap structural variable.
- "It did not do this before." The agent explained a new warning as outside policy. A version bisect was the faster path. Lesson: when the user dates a change, bisect first.
Hypotheses
- Security warning. The agent blamed a location permission. The user's timeline said the warning left when a boot receiver went away. Lesson: test the user's timeline and the other suspects, not only your own theory.
- "Environment not secure" toast. The agent built a theory about proxy detection. The cause was developer options being on. Lesson: rule out the simplest device setting first.
- Battery bug. All patches assumed one transport. The user questioned that base assumption, and it was wrong. Lesson: put "the base assumption is wrong" on the list.
- "Days of work." The agent called GPU zero-copy too hard and did not try. The user said agent estimates run high; a spike worked fast. Lesson: run a short spike before you defer or call something impossible.
Perception against metric
- Hidden display. The agent measured frame loss on a virtual display and reported good numbers. The user saw stutter on the real screen and had to say it twice. Lesson: when the user says "you did not test the real thing", change the setup before you report more numbers.
- TTS window branches. Two post-filters and a 21 ms window matched the target numbers. The user heard all three as worse. Lesson: the ear decides; then find a metric that agrees with it.
- Taskbar entry. The agent counted no window and said close works. The user still saw a taskbar entry: an unused second panel. Lesson: when the user sees what your check denies, look for a second object.
Plateau
- Blurred widget. Three tuning rounds did not fix the blur. Crisp rings, a different approach, did. Lesson: drop a failing approach early.
- Device icon. The agent iterated stems and cables by feel for many rounds. A photo of the real product, drawn from scratch, fixed it. Lesson: get the real reference first.
- Same retry. The same fix ran after the same failure several times. Lesson: identical failures need a new hypothesis, not a new retry condition.
Hold the position (counter-cases)
- Subscription relay. The user wanted an app to use a chat subscription through a relay. The agent checked the terms, showed that it bills as extra usage and breaks the terms, and did not build it. The user agreed. Lesson: hold a researched position with sources.
- Library offer. An upstream author offered his code as a library. The agent kept a small own core with credit: no pinned library, no async runtime. It gave the reasons, and the user said "we do as you say". Lesson: a concrete reason wins against a shortcut.
- Rewrite request. The user asked for a rewrite for parity. The agent proposed a small shared test file instead, and the user accepted. Lesson: offer the small path to the same goal.
- "That cannot be real." The user doubted a result. The agent answered with the code path and a command to run, not with more words. Lesson: prove, do not repeat.
- Running job. The user asked for a step that would break a training run. The agent said no and said when it would be safe. Lesson: refuse the harmful timing, give the safe time.
False success
- Login check. The agent said "token landed" and "adb off". The user had not logged in, and
pgrephad matched its own command. Lesson: check the effect, with a pid or a bracket pattern, not the command's exit.
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.

