oracle-debug

Solid

Disciplined debugging methodology. Triggers on bug reports, test failures, "debug this", "diagnose this", unexpected behavior, build failures, integration issues, or performance regressions. Find root cause before a permanent corrective fix; contain urgent harm safely first.

Code & Development 46 stars 4 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
56
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Oracle Debug Random fixes waste time and create new bugs. Quick patches mask underlying issues. **Core principle:** find root cause before a permanent corrective fix. Temporary containment is appropriate when needed to limit security, production, or data-loss impact. **Violating the letter of this process is violating the spirit of debugging.** ## The Iron Law ``` NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST ``` If you haven't completed Phase 1, you cannot propose fixes. ## When to Use Use for any technical issue: - Test failures - Bugs in production - Unexpected behavior - Performance regressions - Build or integration failures - Intermittent failures **Use this especially when:** - Under time pressure - "Just one quick fix" seems obvious - You've already tried multiple fixes - The previous fix didn't work - You don't fully understand the issue ## The Four Phases You must complete each phase before proceeding to the next. --- ## Phase 1 — Root Cause Investigation **Before attempting any fix:** Use the project's domain glossary and ADRs to build a clear mental model of the relevant modules before tracing. 1. **Read error messages carefully.** Read the full stack trace, line numbers, file paths, and error codes. Don't skip warnings. 2. **Build a fast feedback loop.** If you don't have a fast, deterministic, pass/fail signal for the bug, no amount of code-reading will save you. Spend disproportionate effort here. Try these in order: - Failing test ...

Details

Author
martinffx
Repository
martinffx/atelier
Created
8 months ago
Last Updated
1 months ago
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category