Implements distributed tracing with correlation IDs, trace propagation, and span tracking across microservices. Use for debugging distributed systems and monitoring request flows.
Ships in aj-geddes-useful-ai-prompts-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Implement correlation IDs and distributed tracing to track requests across multiple services and understand system behavior.
Minimal working example:
import express from "express";
import { v4 as uuidv4 } from "uuid";
// Async local storage for context
import { AsyncLocalStorage } from "async_hooks";
const traceContext = new AsyncLocalStorage<Map<string, any>>();
interface TraceContext {
traceId: string;
spanId: string;
parentSpanId?: string;
serviceName: string;
}
function correlationMiddleware(serviceName: string) {
return (
req: express.Request,
res: express.Response,
next: express.NextFunction,
) => {
// Extract or generate trace ID
const traceId = (req.headers["x-trace-id"] as string) || uuidv4();
const parentSpanId = req.headers["x-span-id"] as string;
const spanId = uuidv4();
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Correlation ID Middleware (Express) | Correlation ID Middleware (Express) |
| OpenTelemetry Integration | OpenTelemetry Integration |
| Python Distributed Tracing | Python Distributed Tracing |
| Manual Trace Propagation | Manual Trace Propagation |
references/correlation-id-middleware-express.md (opens in a new tab)references/manual-trace-propagation.md (opens in a new tab)references/opentelemetry-integration.md (opens in a new tab)references/python-distributed-tracing.md (opens in a new tab)scripts/health-check.sh (opens in a new tab)templates/dashboard-config.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/aj-geddes-useful-ai-prompts-4:correlation-tracingfrom aj-geddes-useful-ai-prompts-4
aj-geddes-useful-ai-prompts-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4259 skills in this plugin
/ab-test-analysisA/B Test AnalysisDesign and analyze A/B tests, calculate statistical significance, and determine sample sizes for conversion optimization and experiment validation/access-control-rbacImplement Role-Based Access Control (RBAC), permissions management, and authorization policies. Use when building secure access control systems with fine-grained permissions.
/accessibility-complianceImplement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard navigation, and a11y testing. Use when building inclusive web applications, ensuring regulatory compliance, or improving user experience for people with disabilities.
2 plugins ship this exact skill · first indexed Jul 8, 2026
Other plugins' skills for the same job