/athena:systematic-debugging <description of the bug or failure>from athena
Investigate root cause before you repair a bug or unexpected behavior. Use available Mnemosyne advice; missing guidance does not stop otherwise authorized work.
Ships in athena. 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; scripts run unread.
Use the autonomous workflow policy for authority, recovery, resources, validation, and delivery.
A repair without evidence wastes time and can create a new bug. A repair of only the symptom can hide the root cause.
Apply the ASD-STE100 technical-English policy to this skill and to all prose that it produces.
Aim to find the root cause before you attempt a repair. Avoid repairing only the symptom. Follow the steps in this process.
Use Athena's canonical engineering-principles catalog for the principle definitions. Use these principles in this workflow:
Run advise with the error description. If guidance is missing, stale, or not verifiable, report
the limit and continue otherwise authorized investigation with source and failure evidence. Keep the
best-effort retrieval attempt.
Aim for phase 1 before any repair.
Use this skill for all technical issues, including:
Use this skill especially in these conditions:
Aim to complete each phase before you continue to the next phase. Keep this order where you can; when a phase cannot be completed, note what is missing and continue with the next phase that can run.
Before you attempt a repair, prefer to complete these steps:
Record these items from the complete failure output:
Avoid skipping an error or warning. An error message can identify the cause.
Reproduce the failure consistently.
Record the exact conditions, steps, and frequency of the failure.
If you cannot reproduce the failure, collect more data.
Avoid guessing the cause.
Compare the failed state with recent repository history.
Inspect these possible sources of the failure:
git diff;If the system has multiple components, isolate the failed boundary.
Before you propose a repair, add only the minimum non-sensitive diagnostic instrumentation that P047 — Observability Is Part of Correctness calls for.
At each component boundary:
Run the instrumented reproduction one time to collect evidence.
Use the evidence to identify the failed component.
Investigate that component.
If an incorrect value is deep in the call stack, trace the value back to its source.
Identify where the incorrect value starts and which caller supplied it.
Continue the trace until you find the source.
Identify the source as the repair location.
Avoid repairing only the symptom.
Identify the pattern before you make a repair:
Use this method to test a hypothesis:
The root cause is X because Y.I do not understand X.Repair the root cause.
Avoid repairing only the symptom. Before you add code, check whether removal, reuse, consolidation, or deletion of an obsolete workaround is the smallest safe repair. If that repair preserves the contract, choose it.
Use the test-driven-development skill to create a regression test.
Under P026 — Regression Before Repair, create the test before the repair.
Under P022, make the test assert observable behavior.
Under P028, make the test cover the applicable failure path.
Implement one repair that corrects the root cause.
Under P065, aim to run this validation:
Under P027, prefer deterministic and isolated tests.
Under P067, prefer not to weaken tests.
Under P068, prefer not to bypass validation.
If the repair changes failure behavior, complete these steps:
If the repair does not correct the issue, complete these steps:
Repeated failed repairs can show an incorrect model, a missing dependency, or an architecture problem. They require a new assessment. They do not prove that the architecture is incorrect.
Review the evidence for these conditions:
Before another repair attempt, reassess the collected evidence and select a viable approach. If the evidence shows an incorrect hypothesis, return to phase 1. Propose an architecture change when the evidence supports it.
Return to phase 1 instead of continuing the change when one of these conditions applies:
When you return to phase 1, use the new information to refine the hypothesis or the model.
Before you run a check, find the target repository commands. Inspect AGENTS.md, task runners,
manifests, lockfiles, and continuous integration (CI) configuration. Prefer the command that required
CI uses.
If the sources conflict or you cannot find a safe command, ask the user. Prefer not to use Athena
commands as a substitute.
Keep the target repository as the current working directory. Resolve
scripts/repository_evidence.py against this installed skill directory. Invoke that absolute helper
path with PATTERN --source-root SOURCE_ROOT. The helper collects the latest ten commits, a diff
bounded to that revision window, and matching source locations as JSON. Run the discovered
repository-focused test and type-check commands through the host execution tool. Keep their complete
output as evidence.
Before you state that the bug is fixed, rerun the original reproduction and the repository-defined checks when they are available; when they cannot run, state the result and what is missing. The evidence-integrity policy describes good practice for durable evidence; note which of its expectations were met and which are missing.
If the session produces durable debugging knowledge, offer to invoke learn. An indirect learn
invocation is read-only and does not increase the requested scope. If the user requests durable
learning, use the delivery boundary of learn. Useful lessons include these items:
This record prevents another agent from repeating the same debugging session.
Adapted from obra/superpowers under the MIT License. Copyright (c) 2025 Jesse Vincent.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub homericintelligence/athena --plugin athena20 skills in this plugin
/address-reviewAddress every review thread on a pull request. Use this skill when a PR has review comments. For each thread, fix the concern in code, reply on the thread, and resolve it. Handle a dirty worktree, a stale branch, and conflicts yourself./adviseRetrieve relevant Mnemosyne guidance from the available local checkout and open pull requests before unfamiliar planning or implementation. Stale, missing, or unverifiable knowledge limits the advice but does not stop the primary task./babysitCoordinate a set of long-lived agent sessions and automation loops to a completion boundary. Use this skill when the user asks you to watch, track, revive, babysit, or guide many agent sessions, when sessions or hephaestus-automation-loop runs do work that does not appear in commits or pull requests, or when supervision must continue until an external event such as a new product release. The coordinator keeps authority, instructs the owning agents, arms an event-driven monitor, answers agent questions, and escalates non-simple blockers to the user. The required session store and session-resume capabilities are host-specific; when the host does not have them, supervise loop processes by their operating-system evidence only and do each coordination step manually with the same contracts.