error-troubleshooter

Automate troubleshooting of command and script errors with hypothesis testing.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/iciakky/cc-general-skills --skill error-troubleshooter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-troubleshooter
Source: https://github.com/iciakky/cc-general-skills/tree/main/skills/error-troubleshooter
Command: npx skills add https://github.com/iciakky/cc-general-skills --skill error-troubleshooter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill proactively tackles both explicit errors (like stack traces) and insidious "silent failures" where code runs but doesn't produce the expected outcome. It eliminates the need for manual, reactive troubleshooting, saving you time and preventing issues from escalating into larger problems.

Core Features & Use Cases

  • Proactive Investigation: Automatically triggers on unexpected behavior or errors, initiating diagnosis without explicit user command, ensuring issues are caught early.
  • Dual-Mode Troubleshooting: Handles both explicit failures (e.g., stderr, exceptions) and subtle anomalies (e.g., missing expected effects, wrong output, silent failures).
  • Systematic Diagnosis: Employs error template extraction, hypothesis testing, and web research to pinpoint root causes efficiently, even for Stack Overflow-worthy issues.
  • Use Case: If your script completes without an error, but a file it was supposed to create is missing, or a configuration change didn't take effect, this skill will automatically investigate the discrepancy, research potential causes, and propose a solution, allowing you to rest.

Quick Start

"My command succeeded, but the expected output file was not generated. Activate the error-troubleshooter skill to investigate this silent failure."

Frequently Asked Questions about error-troubleshooter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot silent failures where a command succeeds but doesn't produce the expected output?

Silent failures occur when code runs without errors but the outcome doesn't match expectations—like a missing file or unapplied configuration. Automated troubleshooting applies error templates, hypothesis testing, and web research to diagnose root causes systematically, eliminating manual investigation.

Can I automate debugging of both explicit errors and unexpected behavior in scripts?

Yes. Automated troubleshooting handles explicit failures (stderr, exceptions, non-zero exit codes, SDK/API errors) and subtle anomalies (wrong output, missing effects) across development, testing, and CI contexts through systematic diagnosis and hypothesis testing.

What's the best way to investigate command errors without manually analyzing logs and stack traces?

Proactive error resolution extracts error templates, tests hypotheses, and conducts web research to pinpoint root causes efficiently. This approach catches issues early and prevents escalation, replacing reactive manual troubleshooting with automated diagnosis.

How do I ensure script outcomes match expectations when errors don't surface explicitly?

Proactive investigation automatically triggers on unexpected behavior, initiating diagnosis without explicit command. It collects privacy-preserving environment data and employs reproducible diagnostic workflows to validate functional and technical requirements.

Does automated error troubleshooting work across development, testing, and CI environments?

Yes. Error automation applies consistently across development, testing, and CI contexts using environment-aware diagnostic workflows that extract templates, test hypotheses, and research causes to handle both explicit failures and silent anomalies.