nx/skills/debug/SKILL.md
Use when debugging a failing code path (intentionally flat — Serena handles symbol navigation) — tries the debug plan library first for per-file authoring context and summarises design intent, falls through to /nx:query if nothing matches
npx skillsauth add hellblazer/nexus debugInstall 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.
You MUST call nx_answer when investigating why a code path was
designed the way it is. Direct search on the failing file returns
chunks; the debug plan surfaces the decision history behind those
chunks. Skipping nx_answer skips the design intent.
Note — the debug scenario is intentionally flat (no traverse
step). Dev work starts from a concrete failing path; the primary
link walk is the catalog's per-file lookup (not multi-hop graph
traversal). Serena handles symbol-level navigation separately.
mcp__plugin_nx_nexus__nx_answer(
question=<caller's phrasing>,
dimensions={"verb": "debug"},
context=<failing_path + symptom — as JSON string if needed>,
)
One tool call. nx_answer handles match → run → record. Plan-miss
falls through to an inline claude -p planner.
failing_path — the file (or directory) where the symptom manifests.symptom — one-line description of what's failing.jet_brains_find_symbol,
jet_brains_find_referencing_symbols, etc.). The debug plan
surfaces design context; Serena surfaces code structure. Use them
together./nx:debugging — once the design context is known, the
hypothesis-driven debugging skill guides the iterative fix loop.search is fineA single-corpus RDR lookup — e.g. "find the RDR that covers this
module's error-handling approach" — is fine via
mcp__plugin_nx_nexus__search(query=..., corpus="rdr__<owner>__voyage-context-3__v1")
(or the bare rdr prefix to fan out to all matching collections).
Fast, cheap, and the chunks often contain the design rationale directly.
Use this skill when: the question needs to walk the catalog's per-file links (code → RDR → related RDRs) or synthesize across multiple design notes rather than surface a single chunk.
search directly when the question needs a catalog walk
across per-file links. search returns top-K by cosine; it won't
traverse the "this code implements that RDR" typed links. If you
need the walk, you need nx_answer.plan_match directly instead of nx_answer. You lose
the record step, the inline-planner fallback, and use_count telemetry.debug without a failing_path. No reasonable
default; raises PlanRunBindingError.See /nx:plan-first and docs/plan-authoring-guide.md.
development
Use when critiquing / auditing / reviewing a change set against decision history — tries the review plan library first (catalog lookup → decision-evolution traversal → extract → compare), falls through to /nx:query if nothing matches
documentation
Use when doing design / architecture / planning work that walks from prose (RDRs, docs, knowledge) into the modules implementing a concept
development
Use when surveying the plan library's runtime metrics to propose plans for promotion to a higher scope — advisory-only; dispatches the plan-promote-propose meta-seed (no lifecycle ops — those ship in RDR-079)
business
Use when inspecting plan runtime metrics or enumerating dimension-registry usage — dispatches plan_match with dimensions={verb:plan-inspect}; strategy:default reports per-plan metrics, strategy:dimensions reports registry usage counts