Skip to content
Back to skills

Debug

ASecurity

Memory-first debugging: check deja for the fix seen before, find the root cause step by step, record it. Use when something fails.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgonodedebugginggit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add sagarkonkanagaon-netizenk/deja --skill debug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debug?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sagarkonkanagaon-netizenk-debug/badge)](https://www.skillsdirectory.com/skills/sagarkonkanagaon-netizenk-debug)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debug
description: Memory-first debugging: check deja for the fix seen before, find the root cause step by step, record it. Use when something fails.
argument-hint: "[error text or symptom]"
---

# Memory-first debugging

1. **Ask memory first.** Run `node "${CLAUDE_PLUGIN_ROOT}/bin/deja.mjs" why` with the key error lines as one quoted argument (a quoted heredoc, never raw interpolation). Also call `recall` with two or three distinctive words from the error and the area of code. A past fix that fits is the fastest path: try it, and say which memory it came from.
2. **Reproduce.** Find the smallest command that shows the failure. Note the exact output. If it does not reproduce, say so and look for state: caches, env, services, data, time.
3. **Read before guessing.** Read the code on the failing path and the last changes to it (`git log -p -3 -- <file>`). Write down one hypothesis at a time and the observation that would prove it wrong.
4. **Test one hypothesis per step.** Change one thing, rerun the smallest reproduction, keep or revert. Do not stack speculative changes.
5. **Fix the cause, not the symptom.** Then run the wider check (the test file, then the suite or build) so the fix is proven and deja's playbook learns the passing command.
6. **Record the why.** deja captures the error and the commands that fixed it on its own. Add the root cause with `remember`, kind `fix`, a title naming the error, a body that says why it happened and how to tell next time, and the files involved. If the trap will catch people before the error even shows, also save a `gotcha`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.