josiahsiegel avatar

Debugging Troubleshooting 2025

This is a solid reference for when bash scripts misbehave in ways that make you want to throw your laptop. It covers strict mode flags (set -euo pipefail), custom PS4 prompts that show file and line numbers in traces, trap-based error handlers with stack traces, and profiling techniques for timing slow commands. The examples are copy-paste ready, like rollback-on-failure patterns and debugging why scripts work locally but break in cron. Honestly, the most useful part is the troubleshooting section on platform differences and whitespace issues, since those are the things that eat hours of your day. Good to have bookmarked when set -x alone isn't cutting it.

skills.sh installs
196
GitHub stars
61
last updated
Aug 21, 2026

Install

$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill debugging-troubleshooting-2025 --agent claude-code

Installs into .claude/skills of the current project.

Files

🚨 CRITICAL GUIDELINES

Windows File Path Requirements

MANDATORY: Always Use Backslashes on Windows for File Paths

When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).

Examples:

  • ❌ WRONG: D:/repos/project/file.tsx
  • ✅ CORRECT: D:\repos\project\file.tsx

This applies to:

  • Edit tool file_path parameter
  • Write tool file_path parameter
  • All file operations on Windows systems

Documentation Guidelines

NEVER create new documentation files unless explicitly requested by the user.

  • Priority: Update existing README.md files rather than creating new documentation
  • Repository cleanliness: Keep repository root clean - only README.md unless user requests otherwise
  • Style: Documentation should be concise, direct, and professional - avoid AI-generated tone
  • User preference: Only create additional .md files when user specifically asks for documentation

Bash Debugging & Troubleshooting (2025)

Overview

Comprehensive debugging techniques and troubleshooting patterns for bash scripts following 2025 best practices.

Debug Mode Techniques

Sponsors

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Categories
DevOps & CI/CD, Debugging, Automation & Workflows, CLI & Terminal
First seen
Jun 3, 2026

More from josiahsiegel/claude-plugin-marketplace

All 26
1borghei avatarsenior-data-engineerborghei/claude-skillsData engineering for batch and streaming pipelines with Airflow, dbt, Spark, and Kafka. Use when designing data architectures, building pipelines, adding data-q195skills.sh installs
2odyssey4me avatargoogle-slidesodyssey4me/agent-skillsMarkdown-driven presentation builder with Google Slides upload. Write Markdown, build .pptx locally, review in LibreOffice, upload to Google Slides.195skills.sh installs
3dkyazzentwatwa avatarmcp-builderdkyazzentwatwa/chatgpt-skillsPlan and build MCP servers with agent-friendly tools, schemas, error handling, and evaluation. Use when creating or refactoring MCP integrations.194skills.sh installs
4borghei avataraccount-executiveborghei/claude-skillsSales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans193skills.sh installs
5charleswiltgen avataraxiom-xctest-automationcharleswiltgen/axiomUse when writing, running, or debugging XCUITests. Covers element queries, waiting strategies, accessibility identifiers, test plans, and CI/CD test execution p193skills.sh installs
6mvanhorn avatarpp-allrecipesmvanhorn/printing-press-libraryEvery Allrecipes recipe in your terminal — cached as data, with pantry-aware search, Bayesian-smoothed ranking, and one-line grocery lists. Trigger phrases: `se193skills.sh installs