systematic-debugging
Use when diagnosing bugs, failing tests, build failures, unexpected behavior, flaky tests, regressions, or production incidents. Requires reproduction, root cause evidence, one-hypothesis fixes, and regression verification before editing.
What this skill does
# Systematic Debugging Fix root causes, not symptoms. Do not edit code until you have reproduced the issue or gathered enough evidence to explain why reproduction is impossible. ## Process ### 1. Reproduce - Capture the exact command, input, or user steps. - Read the full error message and stack trace. - Confirm whether the issue is deterministic or intermittent. - Record expected behavior versus actual behavior. If the issue cannot be reproduced, gather logs or traces and report the missing data instead of guessing. ### 2. Trace Root Cause - Check recent changes that touch the failing path. - Compare broken code with a nearby working example. - Trace bad data backward from the failure site to the source. - In multi-component systems, add temporary diagnostics at boundaries to find which layer changes the data or state. Write the hypothesis as: "I think X is the root cause because Y evidence." ### 3. Test One Hypothesis - Change one variable at a time. - Prefer the smallest diagnostic or failing test that proves the hypothesis. - If the hypothesis fails, remove incidental diagnostic changes and form a new hypothesis from the new evidence. - After three failed fix attempts, stop and question whether the architecture or task framing is wrong. ### 4. Fix And Verify - Add a regression test before the fix whenever feasible. - Make the minimal code change that addresses the root cause. - Run the regression test and relevant existing tests. - Use `verification-before-completion` before reporting success. ## Anti-Patterns - Patching the line where the error surfaced without tracing the source. - Changing tests to match broken behavior. - Bundling cleanup or refactors into a bug fix. - Trying multiple fixes at once. - Declaring "fixed" after code changes without rerunning the failing scenario. ## Report Template ```markdown ## Debugging Report ### Reproduction - Command/steps: - Expected: - Actual: ### Root Cause - Hypothesis: - Evidence: ### Fix - Files: - Why this is minimal: ### Verification - Command: - Result: ```
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.