debugging-helpers/SKILL.md
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
npx skillsauth add lidge-jun/cli-jaw-skills debugging-helpersInstall 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.
Find root cause before attempting fixes. Symptom fixes mask underlying issues and waste time.
Complete each phase before proceeding to the next.
Before attempting any fix:
Read error messages carefully
Reproduce consistently
Check recent changes
Gather evidence in multi-component systems
When a system has multiple components (CI → build → signing, API → service → database), add diagnostic instrumentation before proposing fixes:
For each component boundary:
- Log what data enters and exits the component
- Verify environment/config propagation
- Check state at each layer
Run once to gather evidence showing WHERE it breaks
Then investigate that specific component
Example (multi-layer system):
# Layer 1: Workflow
echo "=== Secrets available: ==="
echo "IDENTITY: ${IDENTITY:+SET}${IDENTITY:-UNSET}"
# Layer 2: Build script
env | grep IDENTITY || echo "IDENTITY not in environment"
# Layer 3: Signing
security find-identity -v
# Layer 4: Actual signing
codesign --sign "$IDENTITY" --verbose=4 "$APP"
Trace data flow
See root-cause-tracing.md for the complete backward tracing technique.
Quick version:
Create a failing test case — simplest possible reproduction, automated if feasible
Implement a single fix — address root cause only; no "while I'm here" improvements
Verify the fix — test passes, no other tests broken, issue actually resolved
If the fix fails — count attempts:
If 3+ fixes failed: question architecture
Pattern indicating architectural problems:
Stop and question fundamentals:
Discuss with the human before attempting more fixes.
If any of these apply, pause and re-investigate before continuing:
Available in this directory:
root-cause-tracing.md — trace bugs backward through call stack to find original triggerdefense-in-depth.md — add validation at multiple layers after finding root causecondition-based-waiting.md — replace arbitrary timeouts with condition pollingRelated skills:
| Phase | Key Activities | Success Criteria | |-------|---------------|------------------| | 1. Root Cause | Read errors, reproduce, check changes, gather evidence | Understand what and why | | 2. Pattern | Find working examples, compare | Identify differences | | 3. Hypothesis | Form theory, test minimally | Confirmed or new hypothesis | | 4. Implementation | Create test, fix, verify | Bug resolved, tests pass |
development
Goal execution guidelines with PABCD integration, verification tiers, documentation workflow, and AI-driven planning
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
development
Use this skill any time a spreadsheet file is the primary input or output (.xlsx, .xlsm, .csv, .tsv). This includes: creating, reading, editing, analyzing, or formatting spreadsheets; cleaning messy tabular data; converting between formats; and data visualization with charts. Also use for pandas-based data analysis when the deliverable is a spreadsheet. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration.
tools
Use this skill when the user wants to build a financial model, 3-statement model, DCF valuation, cap table, scenario analysis, or financial projections in Excel. Trigger on: 'financial model', '3-statement model', 'DCF', 'cap table', 'pro forma', 'projections', 'sensitivity analysis', 'waterfall', 'debt schedule', 'break-even', 'discounted cash flow', 'capitalization table', 'fundraising model', 'WACC calculation', 'scenario analysis model'. Input is a text prompt with assumptions. Output is a single .xlsx file with formula-driven, interconnected statement sheets.