debug

Collect Docker status, logs, environment variables, and database connectivity for debugging.

1|Updated Sep 25, 2024
One-click install
npx skills add https://github.com/Richie1129/SDLs_fullStack_remix --skill debug-richie1129
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/Richie1129/SDLs_fullStack_remix/tree/main/.claude/skills/debug
Command: npx skills add https://github.com/Richie1129/SDLs_fullStack_remix --skill debug-richie1129

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the collection of comprehensive environment snapshots before debugging, preventing cascading issues and ensuring Claude has all necessary context for accurate diagnosis.

Core Features & Use Cases

  • Automated Environment Snapshot: Gathers Docker status, service logs, database connection status, and environment variable presence.
  • Targeted Debugging: Allows focusing the snapshot on specific services (e.g., api, postgres) or general issues.
  • Use Case: When encountering an unexpected error in the application, running /debug will provide a detailed report of the current system state, helping to pinpoint the root cause efficiently.

Quick Start

Run /debug to collect a full environment snapshot for debugging.

Frequently Asked Questions about debug

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

FAQPage Schema
How do I collect Docker service logs and environment variables for debugging?

Collect Docker service logs and environment variables for debugging by running an automated environment snapshot that gathers service status, recent logs, database connectivity checks, and variable presence into a comprehensive diagnostic report.

What is an environment snapshot and when do I need one for troubleshooting?

An environment snapshot for troubleshooting is a comprehensive capture of your system state, needed when encountering unexpected application errors to provide complete context for diagnosing complex root causes.

Can I target the environment snapshot to specific services like postgres?

You can target the environment snapshot to specific services like postgres or api, focusing the diagnostic data collection on particular components rather than gathering the full system context.

Does this debugging approach work without external dependencies?

This debugging approach works without external dependencies, using internal scripts to query Docker status, service logs, database connectivity, and environment variable configurations directly from your development environment.

What is the best way to diagnose complex application issues in a Docker environment?

The best way to diagnose complex application issues in a Docker environment is gathering a complete system context snapshot, capturing service status and database connectivity to pinpoint root causes efficiently and prevent cascading issues.