aj-geddes avatar

Intermittent Issue Debugging

Chasing down bugs that only show up sometimes is miserable, and this skill gives you a systematic approach to actually catch them. It covers the essentials: comprehensive logging strategies with timestamps and correlation IDs, common culprits like race conditions and resource exhaustion, and a step-by-step investigation process. The reference guides break down capturing intermittent issues, identifying patterns in sporadic failures, and setting up monitoring to prevent recurrence. If you've ever stared at logs trying to figure out why a test passes 19 times then fails once, or why users occasionally report an error you can't reproduce, this is worth having in your toolkit.

skills.sh installs
433
GitHub stars
379
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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}`);

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & CI/CD, Git & Pull Requests, AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1pedronauck avatarelectron-builderpedronauck/skillsComprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows. Use when: (1) configuring electron-builder builds433skills.sh installs
2tristanmanchester avatarreddit-readonlytristanmanchester/agent-skillsBrowse and search Reddit in read-only mode using public JSON endpoints. Use when the user asks to browse subreddits, search for posts by topic, inspect comment 432skills.sh installs
3davila7 avatarmlflowdavila7/claude-code-templatesTrack ML experiments, manage model registry with versioning, deploy models to production, and reproduce experiments with MLflow - framework-agnostic ML lifecycl427skills.sh installs
4aj-geddes avatarservice-mesh-implementationaj-geddes/useful-ai-promptsImplement service mesh (Istio, Linkerd) for service-to-service communication, traffic management, security, and observability.426skills.sh installs
5aj-geddes avatarazure-functionsaj-geddes/useful-ai-promptsCreate serverless functions on Azure with triggers, bindings, authentication, and monitoring. Use for event-driven computing without managing infrastructure.424skills.sh installs
6unclecatvn avatarai-vibe-slidesunclecatvn/agent-skillsCreate beautiful, professional HTML or React slide decks ready for fullscreen presentation. Use this skill when the user wants to: create a PPT/slide/presentati424skills.sh installs