skills/platform/traces/SKILL.md
Distributed tracing analysis for performance investigation and service dependency mapping. Analyze latency breakdowns, identify bottlenecks, map service calls, and correlate slow requests with code changes. Use when: "trace analysis", "distributed tracing", "latency investigation", "slow requests", "service dependencies", "performance tracing"
npx skillsauth add mikeparcewski/wicked-garden tracesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze distributed traces for performance investigation and service dependency mapping.
Use capability-based discovery:
# Discover available integrations via capability detection
# Scan for tracing capabilities by analyzing server descriptions:
# - tracing capability: Dedicated distributed tracing systems
# - apm capability: APM tools that include distributed tracing
# - telemetry capability: Unified observability with tracing support
For each discovered source:
For slow traces:
Build dependency graph:
See refs/bottlenecks-detection.md and refs/bottlenecks-resolution.md for detailed patterns.
Common bottleneck types:
Use wicked-garden:search to find:
| Capability | What to Look For | Provides | |------------|------------------|----------| | tracing | Distributed tracing, span collection, trace analysis | Distributed traces, span details | | apm | Performance monitoring with distributed tracing | Traces with performance context | | telemetry | Unified observability with traces and metrics | Unified traces and metrics |
Fallback: Analyze code for call patterns via wicked-garden:search (database calls, HTTP clients, async operations).
Provide trace analysis with:
See refs/bottlenecks-detection.md and refs/bottlenecks-resolution.md for detailed output templates.
See refs/bottlenecks-detection.md and refs/bottlenecks-resolution.md for detailed analysis of:
Sequential database queries in a loop. Fix with batch queries or JOIN.
Waiting for external APIs sequentially. Fix with Promise.all or async processing.
Repeated identical queries. Fix with caching layer (Redis, in-memory).
Slow database operations. Fix with indexes, query optimization, pagination.
Lock waits or queue delays. Fix with reduced lock scope, optimistic locking.
Identify services on critical path (required for request completion). Focus optimization here.
Single request triggers many downstream calls. Risk of amplified load and cascading failures.
Service A calls B calls A (cycle). Risk of infinite loops and complex debugging.
See refs/dependencies.md for detailed dependency analysis patterns.
When bottlenecks identified, engage wicked-garden:engineering:backend with trace context, code locations, and optimization recommendations.
During build phase:
Emit events:
observe:trace:slow:warningobserve:correlation:found:successdevelopment
--- name: large-scale-migration description: How to execute a LARGE MECHANICAL change across any codebase with LEVERAGE instead of an agent-grind or hand-edits — a cross-cutting migration, refactor, rename, dialect/framework/DB port, library adoption, or bulk transform. The map→transform→gate pattern: a deterministic transform driven by a source-of-truth map, proven by a differential-equivalence gate. Use when the work is "migrate all X to Y", "rename Z everywhere", "port to a new DB/dialect/fra
testing
v11 LLM-based work-shape classifier. Replaces the regex archetype detector with the model's own reasoning. Reads the user's prompt, picks the right archetype(s) from the catalog, identifies signals (blast_radius, novelty, reversibility, etc.), and persists to SessionState so subsequent turns steer correctly. Use when: the prompt_submit hook emitted a `<wg classify-due />` directive, OR explicitly invoked at session start, OR when re-classifying after the user changes scope mid-session.
tools
v11 work-shape archetype runner. When a prompt has been routed to one of the 9 archetypes (triage, explore, specify, decide, ship, review, incident, build, migrate), this skill is the entry point. It picks the right per-archetype playbook from refs/ and executes the phase shape declared in `.claude-plugin/archetypes.json`. Use when: a `<wg archetype="X">` or `<wg archetypes>` system-reminder tag appears, an explicit "let's run the X archetype" request, or when one of the per-archetype slash commands resolves to this skill.
development
Show or set the session intent variable. Intent gates how loud the framework is — simple-edit (silent), feature/research (synthesis directive), rigor (full crew context). Auto-detected on turn 1; this skill overrides explicitly. Sticky for the session. Use when: "set intent", "intent override", "/wicked-garden:intent", "make the framework quiet", "force rigor", "what's my intent".