Teaches Claude how to instrument web apps correctly — what to measure, what context to attach, and what mistakes to avoid.
Most web teams instrument poorly:
This plugin teaches Claude to capture both user intent (what they tried to do) and system state (browser conditions, errors, performance) so you can answer "Why did this fail, and for whom?"
claude plugin marketplace add caleb-davis-plugins/web-observability
claude plugin install web-observability
/instrument
/audit src/features/checkout
"How should I instrument this checkout flow?"
"What's wrong with my Core Web Vitals?"
"Set up session replay with Sentry"
"Review this code for observability anti-patterns"
"Track this user journey from signup to first purchase"
| Command | Description |
|---|---|
/instrument |
Generate prioritized instrumentation plan for React, Vue, Angular, Svelte, etc. |
/audit [path] |
Scan existing code for instrumentation gaps and anti-patterns |
Explores web codebases to understand architecture and identify instrumentation opportunities.
Focus Areas:
Output:
Reviews code changes for observability issues before they ship.
Focus Areas:
Output:
11 skills that activate automatically based on context:
| Skill | Trigger |
|---|---|
instrumentation-planning |
"What should I measure?" |
core-web-vitals |
"LCP is slow", "Fix CLS" |
error-tracking |
"Set up error boundaries" |
source-map-setup |
"Configure source maps" |
route-transition-tracking |
"Track page navigation" |
api-tracing |
"Trace API requests" |
session-replay |
"Set up session replay" |
user-journey-tracking |
"Track user funnels" |
hydration-performance |
"SSR hydration is slow" |
bundle-performance |
"JavaScript is blocking" |
synthetic-monitoring |
"Set up Lighthouse CI" |
| Framework | Guide |
|---|---|
| React | references/frameworks/react.md |
| Next.js | references/frameworks/nextjs.md |
| Vue 3 | references/frameworks/vue.md |
| Nuxt 3 | references/frameworks/nuxt.md |
| Angular | references/frameworks/angular.md |
| Svelte | references/frameworks/svelte.md |
| SvelteKit | references/frameworks/sveltekit.md |
| Remix | references/frameworks/remix.md |
| Astro | references/frameworks/astro.md |
| Platform | Guide |
|---|---|
| Sentry | references/platforms/sentry.md |
| Datadog RUM | references/platforms/datadog.md |
| New Relic | references/platforms/newrelic.md |
| LogRocket | references/platforms/logrocket.md |
| FullStory | references/platforms/fullstory.md |
| PostHog | references/platforms/posthog.md |
| Vercel Analytics | references/platforms/vercel-analytics.md |
| OpenTelemetry | references/platforms/opentelemetry.md |
Use this plugin for:
Don't use for:
mobile-observability plugin)This plugin follows Anthropic's best practices for token-efficient context loading:
References are loaded only when needed, not upfront:
| Tier | When to Load | Files |
|---|---|---|
| Never | Skills are self-contained | - |
| On detection | Framework/SDK unclear | references/framework-detection.md, references/telemetry-detection.md |
| On flagging | Reporting anti-patterns | references/anti-patterns.md |
| On implementation | Generating code | references/frameworks/*.md, references/platforms/*.md |
| On code generation | Specific templates | templates/*.ts |
| Concern | Canonical File |
|---|---|
| Anti-patterns | references/anti-patterns.md |
| Framework detection | references/framework-detection.md |
| Telemetry detection | references/telemetry-detection.md |
| Component | Target Lines | Focus |
|---|---|---|
| Agent | 60-100 | Behavior, not data |
| Skill | 50-70 | Principles, reference templates |
| Command | 60-70 | Orchestration only |
| Hook | 1 prompt | Short, reference docs |
web-observability/
├── commands/ # /instrument, /audit (thin orchestrators)
├── agents/ # codebase-analyzer, instrumentation-reviewer
├── skills/ # 11 instrumentation skills (principles only)
├── hooks/ # Single consolidated anti-pattern hook
├── templates/ # Production-ready code templates
└── references/ # JIT-loaded guides (frameworks, platforms, patterns)
MIT — see LICENSE