From clay-pack
Apply Clay advanced debugging techniques for hard-to-diagnose issues. Use when standard troubleshooting fails, investigating complex race conditions, or preparing evidence bundles for Clay support escalation. Trigger with phrases like "clay hard bug", "clay mystery error", "clay impossible to debug", "difficult clay issue", "clay deep debug".
How this skill is triggered — by the user, by Claude, or both
Slash command
/clay-pack:clay-advanced-troubleshootingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Deep debugging techniques for complex Clay issues that resist standard troubleshooting.
Deep debugging techniques for complex Clay issues that resist standard troubleshooting.
Run the comprehensive debug script to gather pod logs, Prometheus metrics, network captures, Jaeger traces, and configuration state into a timestamped tarball.
Test each layer independently: network connectivity, DNS resolution, TLS handshake, authentication, API response, and response parsing. The first failure identifies the root cause layer.
Strip down to the simplest failing case: fresh client, no customization, simplest API call (ping). Log full error details including stack trace.
Use TimingAnalyzer to measure each operation and detect latency anomalies. Monitor heap usage over time to detect memory leaks (>100MB growth over 1 hour). Use ConcurrencyChecker to detect race conditions.
Fill out the support escalation template with severity, request ID, reproduction steps, expected vs actual behavior, and attach all collected evidence.
For complete debug scripts, TypeScript utilities, and escalation template, load the reference guide:
Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)
| Issue | Cause | Solution |
|---|---|---|
| Can't reproduce | Race condition | Add timing analysis |
| Intermittent failure | Timing-dependent | Increase sample size |
| No useful logs | Missing instrumentation | Add debug logging |
| Memory growth | Resource leak | Use heap profiling |
For load testing, see clay-load-scale.
Basic usage: Apply clay advanced troubleshooting to a standard project setup with default configuration options.
Advanced scenario: Customize clay advanced troubleshooting for production environments with multiple constraints and team-specific requirements.
npx claudepluginhub bulozb/claude-code-plugins-plus-skills --plugin clay-packGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.
4plugins reuse this skill
First indexed Jul 11, 2026