Skip to content
aj-geddes avatar

Intermittent Issue Debugging

Systematic debugging guide for sporadic, hard-to-reproduce failures, covering logging, correlation, and root-cause investigation.

CCM score
38 of 100
skills.sh installs
436
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers intermittent failures such as sporadic log errors, flaky tests, suspected race conditions, timing-dependent bugs, and resource exhaustion
  • Includes a logging example that records timestamps, durations, and error types around a payment path, plus four reference guides
  • Provides reference guides on capturing intermittent issues, common causes, a systematic investigation process, and monitoring and prevention
  • Designed for engineers who need to isolate root causes of flaky behavior without a reliable reproduction

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill intermittent-issue-debugging -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Intermittent Issue Debugging

Table of Contents

Overview

Intermittent issues are the most difficult to debug because they don't occur consistently. Systematic approach and comprehensive monitoring are essential.

When to Use

  • Sporadic errors in logs
  • Users report occasional issues
  • Flaky tests
  • Race conditions suspected
  • Timing-dependent bugs
  • Resource exhaustion issues

Quick Start

Minimal working example:

// Strategy 1: Comprehensive Logging
// Add detailed logging around suspected code

function processPayment(orderId) {
  const startTime = Date.now();
  console.log(`[${startTime}] Payment start: order=${orderId}`);

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Debugging
First seen
Jun 3, 2026

Questions

What does the intermittent-issue-debugging skill do?

The intermittent-issue-debugging skill helps debug issues that occur sporadically and are hard to reproduce. It uses monitoring and systematic investigation to identify root causes of flaky behavior, such as race conditions and timing-dependent bugs.

How do I install the intermittent-issue-debugging skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill intermittent-issue-debugging -y in your project. After that, intermittent-issue-debugging lets the agent add detailed logging and correlation IDs around suspected code.

When should I use the intermittent-issue-debugging skill?

Use intermittent-issue-debugging for sporadic errors in logs, occasional user-reported issues, flaky tests, suspected race conditions, timing-dependent bugs, and resource exhaustion problems. It is built for cases where the failure cannot be reproduced on demand.

Where does intermittent-issue-debugging stand among other Debugging skills?

intermittent-issue-debugging is listed in the Debugging category alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging, and sentry-cli. Its focus is narrower: root causes of flaky, hard-to-reproduce behavior rather than general bug diagnosis.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Intermittent Issue Debugging

More Debugging