/sir-albert:debugfrom Sir Albert
Use when something is broken, failing, throwing errors, or behaving wrong. Triggers on "debug this", "diagnose", "something is broken", "this is failing", "figure out why X", "diagnose this bug", "it's throwing an error", "something's off", "this isn't working".
Ships in Sir Albert. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Boot from os/PREAMBLE.md.
Adapted from Pocock skills/engineering/diagnosing-bugs (MIT); see THIRD_PARTY_NOTICES.md.
Phase 1 is non-negotiable. Do not read code looking for a theory before Phase 1 is complete. The moment you think "I can see the bug from here" is the moment this skill is most needed.
When Gal is driving a live repro turn by turn (os/rules/rigor.md):
Show commands, outputs, and captured artifacts only after redacting secrets. Write <REDACTED> in place of any credential, token, API key, or auth header. Build loops against env vars so credentials stay in the environment. If the redacted output is not enough to diagnose the bug, say so and ask the user.
This is the skill. A tight, red-capable loop beats any amount of code reading.
Once a loop exists, treat it as a product:
A 2-second deterministic loop is a debugging superpower. A 30-second flaky loop is barely useful.
Goal is not a clean repro but a higher reproduction rate. Loop the trigger 100×, add stress, narrow timing windows. A 50%-flake bug is debuggable; 1% is not. Raise the rate until it is ≥50% before proceeding.
Stop. Say so explicitly. List what was tried. Ask the user for:
Do not proceed to Phase 2 without a loop.
Phase 1 is done only when:
Show the invocation and its actual output (redacted) before proceeding.
Generate 3–5 ranked hypotheses before testing any. Each must be falsifiable:
"If X is the cause, then changing Y will make the bug disappear / changing Z will make it worse."
If the prediction cannot be stated, the hypothesis is a vibe. Discard or sharpen it.
Show the ranked list before testing. The user may re-rank instantly based on domain knowledge.
Change one variable at a time. Each probe maps to a specific prediction from Phase 2.
Prefer debugger / REPL inspection over logs. If logs are needed, tag every debug log with a unique prefix (e.g., [DEBUG-a4f2]) — cleanup becomes a single grep.
For performance bugs: measure first (timing harness, profiler, query plan), then fix. Logs are wrong for perf bugs.
Before done:
[DEBUG-...] logs removed (grep the prefix)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gal-tab/sir_albert --plugin sir-albert42 skills in this plugin
/board-of-advisorsAssemble a virtual "Board of Advisors" offering 4 distinct perspectives on a problem, decision, or strategy. Use when the user asks for "board of advisors", "multiple perspectives", "evaluate this decision from different angles", or "4 points of view"./brainstormUse when exploring angles, sharpening thinking, attacking a plan, running a panel of advisors, drilling an idea with relentless questions, zooming out on context, designing a solution, or receiving a context dump asking for your opinion or a recommendation. Triggers on: "brainstorm this", "grill this", "attack this", "zoom out", "play devil's advocate", "let's design this", "board of advisors", "sharpen this", "stress test this", "find holes in this", "fresh perspective", "4 perspectives", "want to build X", "want to understand what's happening", "look at this and advise", "what's really going on here", "here's the situation"./buildOther plugins' skills for the same job