byjosiahsiegel· 48 skills
Comprehensive bash script debugging and troubleshooting techniques for 2025. PROACTIVELY activate for: (1) debugging a misbehaving bash script, (2) using set -x, set -e, set -u, set -o pipefail (strict mode), (3) customizing PS4 for richer trace output, (4) trap DEBUG, ERR, and EXIT for diagnostics, (5) bashdb and other interactive debuggers, (6) profiling slow scripts (timing, BASH_REMATCH overhead), (7) reproducing CI-only failures locally, (8) resolving unbound variable or command not found errors, (9) understanding subshell vs current-shell variable scope. Provides: strict-mode template, PS4 patterns, trap recipes for instrumentation, profiling techniques, and a step-by-step debugging playbook.
$npx -y skills add josiahsiegel/claude-plugin-marketplace --skill debugging-troubleshooting-2025Installs into the current project.
Run `npx skills use "https://github.com/josiahsiegel/claude-plugin-marketplace" --skill "josiahsiegel/claude-plugin-marketplace/debugging-troubleshooting-2025"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/josiahsiegel/claude-plugin-marketplace" that are relevant to the current task. Run `npx skills add "https://github.com/josiahsiegel/claude-plugin-marketplace"` and select the relevant skills, then follow their instructions.