debug-assist
Skill0 starsChanged 16 days agoMITView on GitHub
Troubleshoots hardware faults from symptoms, measurements, hypotheses and targeted diagnostic steps. Use when the user asks why a circuit fails, oscillates, overheats or behaves unexpectedly, or needs a measurement plan.
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- component-checkSkill
- component-selectSkill
- design-assistSkill
- eng-calcSkill
- git-workflowSkill
- hardware-checklistSkill
- hardware-specificationSkill
- hw-git-changelogSkill
- hw-git-readmeSkill
- hw-git-session-logSkill
- hw-phase-recordSkill
- part-spec-tableSkill
- pcb-inspectSkill
- pcb-reviewSkill
- price-compare-tableSkill
- progress-updateSkill
- sch-inspectSkill
- sch-reviewSkill
- stock-selectSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Distinctive: line 30
Use targeted reads of the saved schematic or board when KiCad structure matters to the diagnosis.
- Very specific: line 41
Never open or read a PDF. Datasheet values come from the user, official manufacturer web pages, or NotebookLM answers with cited text, used …
- Very specific: line 47
If the project has .claude/rules/engineering.md, follow it.
- Distinctive: line 64
Keep measured behavior, simulation results, saved CAD data and manufacturer specs apart, and cite the source of each key claim.
≈ “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
Hardware Debug Assistance
Diagnose hardware behavior from the evidence at hand. Start with no fixed idea of the topology, component, failure mode or root cause. Design files and hardware settings stay unchanged.
Workflow
- Establish the symptom. Expected versus observed behavior, operating conditions, how often it happens, and what was measured. Ask only for the missing detail that would change the next diagnostic step.
- Form hypotheses. Rank a few plausible causes by the observed evidence, not by how common they are in general. Keep observations apart from assumptions.
- Choose discriminating checks. The smallest safe measurement or inspection that tells the leading hypotheses apart. Give the measurement point, the reference, the possible outcomes and what each one means.
- Update the diagnosis. Revise or drop hypotheses as results come in. Propose a fix only when the evidence supports it.
Use targeted reads of the saved schematic or board when KiCad structure matters to the diagnosis. Use calculations, datasheets or application notes when a calculation or a device limit changes the diagnosis. Load other files or skills only when the next step needs them.
Evidence baseline
- Label each significant claim
VERIFIED(named evidence: CAD data, a calculation or an official source),ASSUMED(assumption stated),ESTIMATED(method and margin stated) orNOT_VERIFIED(evidence missing or check not run). - Never open or read a PDF. Datasheet values come from the user, official
manufacturer web pages, or NotebookLM answers with cited text, used only
after the user approves uploading the file. With none of these, the value is
NOT_VERIFIED. - KiCad design and library files are read-only. Propose changes; do not apply them.
- If the project has
.claude/rules/engineering.md, follow it; it is the full policy.
Optional companions
sch-inspectandpcb-inspect: targeted saved schematic and board queries.eng-calc: calculations with stated assumptions.component-check: device limits from the datasheet.
These help if installed. If one is missing, do the step directly under the
same evidence rules, or mark the dependent check NOT_VERIFIED.
Evidence and safety
- Classify each conclusion as Confirmed cause, Suspected cause or
NOT_VERIFIED. A plausible hypothesis stays suspected until a measurement confirms it. - Keep measured behavior, simulation results, saved CAD data and manufacturer specs apart, and cite the source of each key claim.
- Account for instrument bandwidth, probe loading, ground reference, setup and uncertainty before reading a waveform.
- For high-voltage, high-current, mains, battery or stored-energy circuits, put safe test conditions first. Never recommend unsafe probing, bypassing protection, or working on energized hardware without proper controls.
- KiCad net assignments alone do not show physical copper continuity, clearance or live hardware state.
Response
Stay on the user's immediate troubleshooting goal. Give Observed symptom, Leading hypotheses, Next discriminating check and What the results would mean, in short prose rather than a long fixed checklist. Write logs, reports, scripts or files only when the user asks.
Example
Symptom: 3V3 drops to about 2.6 V for 2 ms at power-up, then the MCU resets (user scope capture).
Hypotheses: 1. VIN sags under inrush (source or cable) | Suspected cause
2. Regulator hits current limit charging output caps | Suspected cause
Next check: probe VIN and 3V3 at the regulator pins, same ground point, single-shot trigger at power-up.
Meaning: VIN sags with 3V3 -> source side (1). VIN flat while 3V3 sags -> regulator limit (2).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.

