Skills/systematic-debugging/SKILL.md
Applies a modified Fagan Inspection methodology to systematically resolve persistent bugs and complex issues. You should active this skill when multiple previous fix or debugging attempts have failed repeatedly, or when a methodical root cause analysis or complex problems is needed. Highly effective for complex problems. Do not use for simple troubleshooting.
npx skillsauth add sammcj/agentic-coding systematic-debuggingInstall 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.
This skill applies a modified Fagan Inspection methodology for systematic problem resolution when facing complex problems or stubborn bugs that have resisted multiple fix attempts.
Follow these four phases sequentially. Do not skip phases or attempt fixes before completing the inspection.
Establish a clear understanding of the problem before analysis:
Output: A clear problem statement that anyone could understand.
Perform a line-by-line walkthrough as the "Reader" role in Fagan Inspection. Identify defects without attempting to fix them yet - this is pure inspection.
Check against these defect categories:
Logic Errors
Boundary Conditions
Error Handling
Data Flow Issues
Integration Points
Think aloud during this phase. For each section of code:
Output: A categorised list of identified defects with line numbers and specific descriptions.
After identifying issues, trace back to find the fundamental cause - not just symptoms.
Five Whys Technique:
Consider:
State assumptions explicitly:
Output: A clear statement of the root cause, the chain of reasoning that led to it, and any assumptions that need validation.
Now propose specific fixes for each identified issue.
For each proposed solution:
Verification Planning:
Output: A structured list of fixes with verification steps.
After completing all four phases, provide:
tools
Provides tools for managing MarkEdit, a macOS markdown editor
tools
Provides knowledge on using the `glean` CLI tool to access company knowledge and documents through Glean. Use when the user asks you to use Glean to search, read or otherwise access knowledge from their company's Confluence, Slack, Google Drive Files (Slides, Documents, Sheets) etc.
development
Applies the Diataxis framework to create or improve technical documentation. Use when being asked to write high quality tutorials, how-to guides, reference docs, or explanations, when reviewing documentation quality, or when deciding what type of documentation to create. Helps identify documentation types using the action/cognition and acquisition/application dimensions.
development
Use when answering questions from this machine-learning knowledge base. Triggers: questions about transformers, attention cost and efficiency, and long-context scaling; 'what do we know about attention', 'check the ML wiki'. Read-only querying of compiled knowledge; to add, update, supersede, lint, audit, or critique, use the llm-wiki skill instead.