skills/pre-debug-check/SKILL.md
Checks anti-patterns, past error solutions, and mid-execution barriers before any fix. Auto-triggers on errors, test failures, or build problems. Must fire before systematic-debugging.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers pre-debug-checkInstall 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.
Before attempting ANY fix for an error, check if this problem (or something similar) has been solved before. Also stay alert for familiar barrier patterns during execution.
cat ~/.claude/anti-patterns.md 2>/dev/null
cat ~/.claude/recurring-bugs.md 2>/dev/null
If neither file exists, report "No anti-patterns or recurring bugs found" and proceed with normal debugging.
Extract key terms from the error message (package names, error codes, function names), then search all knowledge sources:
grep -i "KEYWORD" ~/.claude/anti-patterns.md ~/.claude/recurring-bugs.md 2>/dev/null
grep -ri "KEYWORD" ~/.claude/projects/*/memory/ 2>/dev/null
⚠️ RECURRING BUG DETECTED — Report #[N]
Bug: [bug title]
Previous fix attempts:
- [DATE]: [what was done] — DIDN'T HOLD because [reason]
- [DATE]: [what was done] — DIDN'T HOLD because [reason]
DO NOT re-apply previous fixes. They didn't hold.
ESCALATION REQUIRED: [level based on report count]
Proceeding with deeper root-cause analysis.
KNOWN PATTERN MATCH:
Title: [pattern title]
Failed approach (DO NOT TRY): [what didn't work]
Working fix: [what actually works]
Context: [when this applies]
Recommendation: Apply the known working fix directly. Do not retry the failed approach.
No known anti-patterns or recurring bugs match this error. Proceeding with fresh debugging.
Rate your match confidence:
Beyond the initial check, stay alert for these patterns during any workflow:
| Signal | What It Looks Like | Action | |--------|-------------------|--------| | Error deja vu | Same error seen before in this session or anti-patterns | Stop. Apply known fix. | | Approach repetition | About to try something that already failed | Skip it. Try documented alternative. | | Escalating cascade | Fix A broke B, fix B broke C | Stop after 2 cascades. Problem is architectural, not local. | | Environment friction | iCloud+git, Node versions, venv, permissions | Check anti-patterns. Usually a known issue. | | Framework quirk | Code looks correct but doesn't behave as expected | Check docs before guessing. |
which pythonWhen a barrier is recognized mid-execution:
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.