/hoangsa:memory-debuggingfrom hoangsa
Provides a structured debugging workflow using a memory graph to trace errors backwards from symptoms to root causes. Invoke when debugging, tracing errors, or investigating failures.
Ships in hoangsa. 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.
Find the origin of a bug by walking the graph backwards from the
symptom. Recall locates the suspect symbol; memory_symbol_context
walks its callers until you reach the real cause.
1. resources/read hoangsa-memory://memory/LESSONS.md → known-bug lessons first
2. memory_recall({query: "<error or symptom>"}) → find the suspect
3. memory_symbol_context({fqn: <suspect>}) → callers / callees
4. memory_impact({fqn, direction: "up"}) → full upstream
5. Read the suspect + its callers carefully
6. After the fix: memory_remember_lesson
A past session may have hit this bug. LESSONS.md entries are keyed
on trigger strings — scan for anything matching the symptom. If a
lesson says "this exact error comes from X", start there.
resources/read { uri: "hoangsa-memory://memory/LESSONS.md" }
Feed the error message literally. Retrieval is strongest on exact tokens (function names, error strings, log lines). For example:
memory_recall { query: "connection refused retry pool exhausted" }
Include the error type, a noun from the failing operation, and any concrete identifier (module, handler, queue name).
Once recall returns a candidate FQN:
memory_symbol_context { fqn: "pool::checkout" }
Pay special attention to:
callers — who invoked the failing path. Bugs often live in the
caller's assumptions, not the callee.callees — what the suspect delegates to. The actual throw site
may be 1–2 hops deeper.references — non-call uses. A misconfigured trait impl, a
generic bound violation, a type that escapes.If context doesn't make the cause obvious, run:
memory_impact { fqn: <suspect>, direction: "up", depth: 3 }
The depth-1 callers are the contexts in which the bug manifests. Often the bug is "caller A passes a value the callee doesn't handle"; seeing all callers at once exposes the outlier.
Once you have a narrow set of suspect files, use Read with line
ranges from the graph results — don't load whole files. The graph
already gave you path:line for every hit.
When the fix lands and tests pass, if the bug is durable and non-obvious (not a typo), persist a lesson:
memory_remember_lesson {
trigger: "seeing ETIMEDOUT from the pool on cold start",
advice: "pool::checkout has a 5s dial timeout; raise it or pre-warm
via pool::ensure_min in the init path."
}
Keep the trigger as a situation description, not a command. Lessons fire on situation match; imperatives don't match future recalls.
path:line; use it. Reading a 2000-line file to find a 5-line bug
burns context.If the error message lives in a dependency (e.g. reqwest: connection refused), recall won't find it — the error text isn't in your code.
Recall for the call site instead: "reqwest get client" or the
wrapper function's name. The graph will lead you to the caller, which
is in your code.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/fe-testingThis skill should be used when the user is building, changing, or trying to verify a frontend feature on web (React/Vite) or React Native/Expo, and is unsure how to prove it actually works. Triggers on phrases like 'how do I test this component/screen', 'verify this feature', 'make sure this works on web/mobile', 'is this covered by tests', 'my tests pass but the feature is broken', 'no tests yet', or before shipping any FE change. Guides the full loop: define verifiable success criteria before coding, write tests at the correct layer (logic/component/E2E/visual), and confirm behavior by running the real app./git-flowThis skill should be used when the user wants to start a new task, switch between tasks, park or resume work, finish a task (push + PR), clean up merged branches, or sync with upstream. Triggers on phrases like 'start task', 'new task', 'work on', 'switch to', 'park this', 'resume', 'continue where I left off', 'done with this', 'finish task', 'create PR', 'clean branches', 'delete merged', 'rebase', 'pull latest', or 'sync with main'./memory-cliUse when the user needs to run hoangsa-memory CLI commands — init / index / query / watch / memory / archive / impact / context / changes / graph / projects. Examples: "index this repo", "show memory", "trace the graph", "find taint paths", "consolidate memory".
npx claudepluginhub unknown-studio-dev/hoangsa --plugin hoangsaOther plugins' skills for the same job