/craftsman:graphify-recurring-bugsfrom craftsman
Uses graphify code graph to surface related code during bug investigation, flag duplicate known issues, and recall past fixes. No-op without graph.json.
Ships in craftsman. 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.
None: SKILL.md is the whole skill.
A stack trace shows where a bug surfaced, not everywhere its root cause reaches. Grepping around
the crash site misses related call sites that share the same underlying problem — which is exactly
how the same root cause gets logged as three unrelated "new" bugs over time. graphify already
builds a queryable structural map of a codebase; this skill puts that map to work specifically
during bug investigation, not just general code Q&A.
Core principle: a recurring bug should be recognized as recurring — and its known-good fix
reused — not re-discovered as new. graphify is the linker that recalls the past occurrence;
KNOWN_ISSUES.md is where the fix that worked is actually recorded.
Check for graphify-out/graph.json at the project root before doing anything else in this skill.
/craftsman:init's ask-first note, or to the user
deciding to run graphify . themselves). Proceed with normal root-cause investigation.This slots into the evidence-gathering step of root-cause investigation (Phase 1 of the
superpowers systematic-debugging skill, where that plugin is installed) — run this before
falling back to raw grep:
graphify query "<symptom or affected function/file>" — get a scoped subgraph of related code.
This is both cheaper in tokens than grepping the whole codebase and more thorough than reading
only the stack trace, since it surfaces callers/dependents that share the same code path.Don't file blind. For each existing entry in the project's KNOWN_ISSUES.md — open and
resolved — check for a structural link:
graphify path "<new bug's file/symbol>" "<existing entry's file/symbol>" — a short path
(direct call, shared callee, same module) is a signal the new bug may be the same root cause
resurfacing at a different call site.<path>, not a new issue." Let the user or the fix decide whether
to merge, not an automatic merge — this is a heuristic signal, not a certainty.KNOWN_ISSUES.md, not the graph.)Run graphify update . (incremental, AST-only extraction — no LLM cost) so the graph reflects the
fix for the next investigation. This mirrors the same rule some projects already keep in their own
CLAUDE.md; this skill makes it apply everywhere a graph exists, not just one project.
graphify <path>), never triggered implicitly by a bug investigation.KNOWN_ISSUES.md entries — it only surfaces a possible
relationship for a human (or the coder agent, with the user's judgment) to confirm.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/caveats-and-statusUse when about to report any nontrivial task as complete — requires closing with a Caveats & status section stating what was verified, what was assumed, and what's unresolved./commit-craftUse before any git commit, branch, or pull request — defines the project's conventions for atomic commits, message format, branch naming, and PR hygiene so history stays navigable, bisectable, and safe to ship./environment-memoryUse before retrying any command, tool, or approach that failed once, and immediately after discovering any OS/shell/tool-specific quirk — checks and updates a stable cross-project quirks file so failed approaches are never silently repeated.npx claudepluginhub ccplugins/awesome-claude-code-plugins --plugin craftsmanOther plugins' skills for the same job