graphify-recurring-bugs
Agent skill fromccplugins/awesome-claude-code-plugins
Use during root-cause investigation of any bug in a project that has graphify-out/graph.json — surfaces related code before grepping, flags likely duplicates of existing KNOWN_ISSUES.md entries before filing a new one, and when a match lands on a resolved entry surfaces its recorded fix so a known-good fix can be reused. No-op in any project without a built graph.
How to install graphify-recurring-bugs
install graphify-recurring-bugs
# install the awesome-claude-code-plugins pack with the skills CLI
npx skills add ccplugins/awesome-claude-code-plugins# or add only this skill to Claude Code: copy the folder
plugins/craftsman/skills/graphify-recurring-bugs/
# into
~/.claude/skills/graphify-recurring-bugs/ (all projects)
.claude/skills/graphify-recurring-bugs/ (one project)
1# Graphify-Aware Recurring Bugs23## Overview45A stack trace shows where a bug surfaced, not everywhere its root cause reaches. Grepping around6the crash site misses related call sites that share the same underlying problem — which is exactly7how the same root cause gets logged as three unrelated "new" bugs over time. `graphify` already8builds a queryable structural map of a codebase; this skill puts that map to work specifically9during bug investigation, not just general code Q&A.1011**Core principle:** a recurring bug should be recognized as recurring — and its known-good fix12reused — not re-discovered as new. graphify is the linker that recalls the past occurrence;13`KNOWN_ISSUES.md` is where the fix that worked is actually recorded.1415## Gate: does this apply?1617Check for `graphify-out/graph.json` at the project root before doing anything else in this skill.1819- **Missing** → this skill is a complete no-op. Don't suggest building a graph mid-investigation20 (that's a real side effect — leave it to `/craftsman:init`'s ask-first note, or to the user21 deciding to run `graphify .` themselves). Proceed with normal root-cause investigation.22- **Present** → continue below.2324## During root-cause investigation2526This slots into the evidence-gathering step of root-cause investigation (Phase 1 of the27superpowers `systematic-debugging` skill, where that plugin is installed) — run this *before*28falling back to raw grep:29…
Excerpt shown under the repository's Apache-2.0 license.
