examples/reference-agent/skills/systematic-debugging/SKILL.md
Use as the FIRST response when something is broken — "bug", "failing test", "not working", "debug this", "error", "crash", "unexpected behavior", "weird issue". Diagnoses root cause before proposing fixes. After root cause is found, hand off to fix-and-learn for repair and knowledge capture.
npx skillsauth add adrozdenko/soleri systematic-debuggingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
BEFORE touching any code:
salvador_core op:search_intelligent
params: { query: "<bug or error message>" }
salvador_core op:brain_strengths
salvador_core op:memory_search
params: { query: "<error or symptom>" }
If vault has a match — apply it directly. Then search web: exact error message, GitHub issues, Stack Overflow, official docs.
Only if vault and web produce no answer, proceed to Phase 1.
salvador_core op:loop_start
params: { prompt: "Debug: <bug>", mode: "custom" }
Track each step with op:loop_iterate.
Find working examples, compare against references (read completely), identify differences, understand dependencies. Use op:search_intelligent for comparison.
Form single hypothesis, test minimally (one variable at a time), verify before continuing. If unsure — ask for help.
salvador_core op:loop_complete
salvador_core op:capture_knowledge
params: {
title: "<bug>",
description: "<root cause, solution, what made it hard to find>",
type: "anti-pattern",
category: "<domain>",
tags: ["<relevant>"]
}
salvador_core op:session_capture
| Phase | Key Activities | Tools |
| ----------------- | ------------------------------ | -------------------------------------------------------- |
| 0. Search | Vault, web, memory | search_intelligent, brain_strengths, memory_search |
| 1. Root Cause | Read errors, reproduce, trace | loop_iterate |
| 2. Pattern | Find working examples, compare | search_intelligent |
| 3. Hypothesis | Form theory, test minimally | loop_iterate |
| 4. Implementation | Test, fix, verify | loop_iterate |
| 5. Capture | Persist root cause | capture_knowledge, loop_complete |
Related skills: test-driven-development, verification-before-completion, fix-and-learn
testing
Triggers: "terse mode", "be brief", "less tokens", "fewer tokens", "compress output", "caveman", or invokes /terse. Token-efficient responses with full technical accuracy.
tools
Triggers: "compress this file", "compress CLAUDE.md", "compress memory", "shrink this", "reduce tokens in file", or invokes /compress. Compresses natural language files to save input tokens.
testing
Triggers: "release", "bump version", "publish packages", "cut a release", "version bump", "npm publish". Bumps monorepo versions, commits, tags, pushes to trigger CI release. Use deliver-and-ship for quality gates.
development
Triggers: "implement X", "build Y", "fix Z", "add feature", or any work task needing planning + execution. Full orchestration loop: plan, execute, complete with vault context and brain recs.