academic-writing
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Debug a bug, test failure, crash, or unexpected behaviour by finding the root cause before changing anything, instead of guessing at fixes. Works in any language or stack. Use when something is broken, a test is failing, behaviour is wrong, or a previous fix didn't hold.
Claude Code
$ npx -y skills add KhaledSaeed18/dotclaude --skill systematic-debugging --agent claude-code
Codex
$ npx skills add KhaledSaeed18/dotclaude --skill systematic-debugging -a codex -y
Cursor
$ npx skills add KhaledSaeed18/dotclaude --skill systematic-debugging -a cursor -y
Gemini CLI
$ npx skills add KhaledSaeed18/dotclaude --skill systematic-debugging -a gemini-cli -y
GitHub Copilot
$ npx skills add KhaledSaeed18/dotclaude --skill systematic-debugging -a github-copilot -y
OpenCode
$ npx skills add KhaledSaeed18/dotclaude --skill systematic-debugging -a opencode -y
Windsurf
$ npx skills add KhaledSaeed18/dotclaude --skill systematic-debugging -a windsurf -y
name: systematic-debugging description: Debug a bug, test failure, crash, or unexpected behaviour by finding the root cause before changing anything, instead of guessing at fixes. Works in any language or stack. Use when something is broken, a test is failing, behaviour is wrong, or a previous fix didn't hold.
Find the root cause before you touch a line of code. A fix that targets a symptom you don't understand either fails or moves the bug somewhere else, and each blind attempt makes the next one harder to reason about. Investigation first is not the slow path; it is the fast one.
**No fix before you can name the root cause.** If you can't say "the bug happens because X", you are still investigating, not fixing. The moment you feel "let me just try changing this and see": stop. That instinct is the thing this skill exists to interrupt.
This holds hardest exactly when it feels most skippable: under time pressure, when the bug "looks simple", when you've already tried two things. Simple bugs have root causes too, and guess-and-check is slower than it feels because every wrong attempt has to be unwound.
Do all of this before forming any fix.
Count your attempts. If three fixes have failed, stop fixing. Three failures, especially when each one reveals a new problem in a different place, or each "fix" needs a larger refactor to work, is not a run of bad luck. It is a sign the underlying design is wrong. Step back and question the architecture itself with the user before attempting a fourth patch. That is a different conversation, not another guess.
These thoughts all mean *return to Step 1*:
Occasionally thorough investigation shows the issue is genuinely environmental, timing-dependent, or external. Then: document what you ruled out, implement appropriate handling (retry, timeout, a clear error, monitoring), and move on. But reach this conclusion only after the investigation above, most "no root cause" calls are just incomplete ones.
Adapted from the `systematic-debugging` entry of [superpowers](https://github.com/obra/superpowers) by Jesse Vincent (MIT). The structure and the core rules are theirs; the wording, the examples, and the integration with this registry's other items are this repository's.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Report computational benchmarks and experimental comparisons the way examiners and reviewers expect: fair baselines run under the…
Maintain the thesis .bib file as a single source of truth: fetch verified BibTeX from a DOI, arXiv id, or title via CrossRef and…
Expand a set of key papers into the literature around them by walking the citation graph with the Semantic Scholar and OpenAlex…
Audit every citation in a chapter, paper, or proposal against the .bib file and the real world: each cite key must exist, each…
Structure a thesis whose contribution is a built artifact (tool, system, method, model) using design science research: explicit…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.