Debug Log Skill

Engineer-grade debugging discipline for any codebase. Invoke this skill before writing code on any non-trivial task AND every time you fix a bug, crash, build error, UI regression, flaky test, or unexpected behaviour. It enforces a structured `DEBUG_LOG.md` protocol, an *active pre-flight* grep-based retrieval of applicable prevention rules, a "think before coding" five-item plan, and a pre-mortem catalog of frequently-encountered traps in web (React / Next.js / Node / TypeScript), iOS (Swift / SwiftUI / UIKit), Android (Kotlin / Compose), and macOS (Swift / AppKit / SwiftUI) codebases. Use this skill whenever the user mentions debugging, crashes, errors, "it's not working", "why is this broken", "the build is failing", "this test is flaky", "fix this bug", stack traces, exception types (NullPointerException, TypeError, SIGSEGV, fatal error), or when starting new implementation work in any of the supported tracks so prevention rules from prior bugs are retrieved first.

satvikxbansal ba24411 8 files · 94.2 KB Updated

File contents

satvikxbansal/debug-log-skill/tree/main/ commit ba244112df

Frequently asked questions

npx skillmds@latest add satvikxbansal/debug-log-skill