一键导入
instrumentation-planning
Plan what to measure in web applications. Use when starting observability or prioritizing instrumentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan what to measure in web applications. Use when starting observability or prioritizing instrumentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Instrument API requests with spans and distributed tracing. Use when tracking request latency or debugging API issues.
Monitor JavaScript bundle size and execution performance. Use when tracking bundle size, identifying large chunks, or optimizing load performance.
Measure and optimize Core Web Vitals (LCP, INP, CLS). Use when implementing CWV tracking or debugging performance.
Set up error tracking with actionable context. Use when configuring error capture or error boundaries.
Measure SSR hydration timing and issues. Use when tracking hydration performance, debugging hydration mismatches, or optimizing SSR/SSG applications.
Measure time from navigation to page fully loaded and interactive. Use when tracking SPA navigation, route changes, or slow page transitions.
| name | instrumentation-planning |
| description | Plan what to measure in web applications. Use when starting observability or prioritizing instrumentation. |
| triggers | ["planning telemetry","prioritize instrumentation","what should I track"] |
| priority | 1 |
Strategic guidance for what to measure in web applications.
For each user job, ask:
| Tier | Focus | Priority |
|---|---|---|
| 1 | Errors + source maps | P0 - Day 1 |
| 2 | Core Web Vitals | P0 - Day 1 |
| 3 | User context + breadcrumbs | P0 - Week 1 |
| 4 | Route transitions + API tracing | P1 - Week 2 |
| 5 | Business metrics + synthetic tests | P2 - Month 1 |
| Metric | Good | Needs Improvement | Poor |
|---|---|---|---|
| LCP | ≤2.5s | ≤4.0s | >4.0s |
| INP | ≤200ms | ≤500ms | >500ms |
| CLS | ≤0.1 | ≤0.25 | >0.25 |
Use now for easier migration later:
http.request.method not methodhttp.request.duration not apiCallTimeurl.path not pageSee references/anti-patterns.md for:
See references/instrumentation-patterns.md for:
See references/jtbd.md for Jobs-to-be-Done framework.
skills/core-web-vitals - Tier 2 implementationskills/error-tracking - Tier 1 implementationskills/source-map-setup - Tier 1 implementation