devtools-instrumentation
OfficialInstrument libraries for deep debugging insights.
Software Engineering#debugging#devtools#instrumentation#event bus#library development#performance monitoring
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of instrumenting libraries to emit critical diagnostic data to TanStack Devtools, minimizing noise and maximizing insight for debugging.
Core Features & Use Cases
- Strategic Event Emission: Place
emit()calls at architecture boundaries (middleware, state transitions, lifecycle hooks) for maximum diagnostic value. - Consolidated Events: Reduce high-frequency emissions into single, informative events.
- DRY Payloads: Reuse common data fields across multiple event types.
- Production Guarding: Ensure minimal overhead in production environments.
- Transparent Bridging: Seamlessly send events from server to client and across browser tabs.
- Use Case: Instrumenting a custom router library to emit a single
request-processedevent that includes middleware chain duration, status, and error information, allowing for quick identification of performance bottlenecks.
Quick Start
Use the devtools-instrumentation skill to add event emissions to the router's middleware pipeline boundaries.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: devtools-instrumentation Download link: https://github.com/TanStack/devtools/archive/main.zip#devtools-instrumentation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.