Skip to content
Back to skills

1545 Requirements 7deaa141

ASecurity

**Feature**: troubleshoot-enhancement **Status**: APPROVED **Created**: 2026-01-30

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
testingpythonrustgojavac++dockertestinggit

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1545-requirements_7deaa141 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1545 Requirements 7deaa141?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1545 Requirements 7deaa141
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1545-requirements-7deaa141/badge)](https://www.skillsdirectory.com/skills/tools-only-1545-requirements-7deaa141)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Requirements: Troubleshoot Enhancement

**Feature**: troubleshoot-enhancement
**Status**: APPROVED
**Created**: 2026-01-30

## Goal

Transform `/zerg:troubleshoot` into a world-class software code troubleshooter with:
- Deep multi-language error analysis with semantic understanding
- Automated log correlation across workers with timeline reconstruction
- Hypothesis testing with executable verification commands
- Intelligent fix suggestions with code-aware recovery
- Environment diagnostics with dependency graph analysis
- Structured resolution workflows with confidence scoring

## Functional Requirements

### FR-1: Advanced Error Intelligence
- Multi-language AST-aware error parsing (Python, JS/TS, Go, Rust, Java, C++)
- Stack trace decompilation with source mapping
- Error fingerprinting for deduplication across workers
- Semantic error classification beyond regex matching
- Error chain analysis (caused-by traversal)

### FR-2: Log Correlation Engine
- Timeline reconstruction across all worker logs
- Temporal clustering of related errors
- Cross-worker error correlation with causality inference
- Log pattern evolution tracking (same error changing over time)
- Structured log parsing (JSONL + plaintext)

### FR-3: Hypothesis Engine
- Evidence-weighted hypothesis ranking (Bayesian-style scoring)
- Automated hypothesis testing with executable commands
- Hypothesis chaining (if A confirmed, test B)
- Confidence scoring with evidence tracking
- Knowledge base of common ZERG failure patterns

### FR-4: Code-Aware Recovery
- Context-aware fix suggestions based on error location
- Dependency graph analysis for import/module errors
- Git-aware recovery (blame, diff, bisect suggestions)
- Safe vs destructive action classification with rollback plans
- Multi-step recovery orchestration with verification gates

### FR-5: Environment Diagnostics
- Python environment introspection (venv, packages, versions)
- Docker health and resource analysis
- Network connectivity verification
- Resource utilization (CPU, memory, disk, file descriptors)
- Configuration validation against expected state

### FR-6: Interactive Resolution Workflow
- Guided troubleshooting wizard mode (`--interactive`)
- Progressive disclosure (summary → detail → deep dive)
- Session persistence for multi-step investigations
- Report generation (markdown, JSON, HTML)
- Integration with `/zerg:retry` for seamless recovery

## Non-Functional Requirements

- All new modules must have ≥90% test coverage
- No new external dependencies beyond stdlib + existing deps (click, rich)
- Backward-compatible with existing `zerg troubleshoot` CLI interface
- Each diagnostic phase must complete within 30 seconds

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.