์Šคํ‚ฌ react-observability
๐Ÿ“ฆ

react-observability

์•ˆ์ „

Build Observable React Applications with Smart Logging

Silent failures make debugging impossible. This skill teaches you to write React code with built-in observability through structured logging, contextual error messages, and production-ready debugging patterns.

์ง€์›: Claude Codex Code(CC)
๐Ÿ“Š 71 ์ ์ ˆํ•จ
1

์Šคํ‚ฌ ZIP ๋‹ค์šด๋กœ๋“œ

2

Claude์—์„œ ์—…๋กœ๋“œ

์„ค์ • โ†’ ๊ธฐ๋Šฅ โ†’ ์Šคํ‚ฌ โ†’ ์Šคํ‚ฌ ์—…๋กœ๋“œ๋กœ ์ด๋™

3

ํ† ๊ธ€์„ ์ผœ๊ณ  ์‚ฌ์šฉ ์‹œ์ž‘

ํ…Œ์ŠคํŠธํ•ด ๋ณด๊ธฐ

"react-observability" ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. Add logging to track why users are hitting the 'item not found' error in the cart

์˜ˆ์ƒ ๊ฒฐ๊ณผ:

The skill provides a logger wrapper that logs when cart items are missing, including the item ID, current cart state, last sync time, and a hypothesis that the cache may be stale. This gives developers enough context to diagnose the issue from production logs.

"react-observability" ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. Help me debug this checkout flow that sometimes fails silently

์˜ˆ์ƒ ๊ฒฐ๊ณผ:

The skill generates a flow tracing pattern with a unique checkout ID, logging each step of validation, payment processing, and order confirmation with timestamps and state snapshots, making it easy to identify where the flow stops in production.

"react-observability" ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. Create an error boundary that captures component crashes with full context

์˜ˆ์ƒ ๊ฒฐ๊ณผ:

The skill provides an ErrorBoundary component that catches rendering errors, logs the error message, stack trace, and component stack, reports to error monitoring services, and displays a fallback UI to prevent full app crashes.

๋ณด์•ˆ ๊ฐ์‚ฌ

์•ˆ์ „
v5 โ€ข 1/21/2026

Educational skill providing React observability best practices. All static findings are false positives from documentation examples in markdown code blocks. No executable code or security risks detected.

2
์Šค์บ”๋œ ํŒŒ์ผ
1,231
๋ถ„์„๋œ ์ค„ ์ˆ˜
0
๋ฐœ๊ฒฌ ์‚ฌํ•ญ
5
์ด ๊ฐ์‚ฌ ์ˆ˜
๋ณด์•ˆ ๋ฌธ์ œ๋ฅผ ์ฐพ์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค

ํ’ˆ์งˆ ์ ์ˆ˜

38
์•„ํ‚คํ…์ฒ˜
100
์œ ์ง€๋ณด์ˆ˜์„ฑ
87
์ฝ˜ํ…์ธ 
30
์ปค๋ฎค๋‹ˆํ‹ฐ
100
๋ณด์•ˆ
91
์‚ฌ์–‘ ์ค€์ˆ˜

๋งŒ๋“ค ์ˆ˜ ์žˆ๋Š” ๊ฒƒ

Debug Production Issues Without Source Maps

Add comprehensive logging to React components so production errors include enough context to diagnose issues from logs alone, even when source maps are unavailable.

Implement Observability in New React Features

Design new features with observability from the start by adding structured logging, error boundaries, and flow tracing to complex user workflows.

Audit Existing Code for Silent Failures

Review existing React components to identify and fix silent early returns, missing error context, and unhandled promise rejections that make debugging difficult.

์ด ํ”„๋กฌํ”„ํŠธ๋ฅผ ์‚ฌ์šฉํ•ด ๋ณด์„ธ์š”

Add Logging to Component
Add structured logging to this React component with proper error context and state snapshots
Design Error Message
Improve this error message to include diagnostic context, relevant state, and a hypothesis about the cause
Implement Flow Tracing
Add flow tracing with unique identifiers to this multi-step async operation so I can track execution in logs
Build Secure Logger with Redaction
Create a logging utility that automatically redacts sensitive fields like passwords, tokens, and API keys from log output

๋ชจ๋ฒ” ์‚ฌ๋ก€

  • Log every early return with enough context to understand why the code path was taken and what state led to it
  • Include a hypothesis in error messages about what might have caused the failure to speed up debugging
  • Use unique flow identifiers for multi-step operations so you can trace entire workflows in log aggregation tools

ํ”ผํ•˜๊ธฐ

  • Logging sensitive data like passwords, tokens, or API keys without redaction can expose credentials in log files
  • Generic error messages without context force developers to add logging and redeploy to diagnose production issues
  • Silent catches that swallow errors without logging make it impossible to know when failures occur in production

์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ

Does this skill work with React Native?
Yes, all patterns work with both React web and React Native. The logging utilities use standard console methods that work in both environments.
How do I integrate with my existing logging service?
The skill provides logger wrapper patterns that you can customize to send logs to your service. Replace the console calls with your logging SDK calls.
Will adding all this logging slow down my app?
The skill includes log level filtering so you can control verbosity. Debug logs can be disabled in production while keeping errors and warnings active.
Can I use this with TypeScript?
Yes, all examples are written in TypeScript with proper type annotations and type assertions for safer error handling.
How do I prevent logging sensitive user data?
The skill includes a redaction utility that automatically strips sensitive fields from log context objects before they are written to logs or sent to monitoring services.
What if I need to debug in production right now?
The skill includes a quick debugging template you can add temporarily to dump state at key points, then remove or gate behind a feature flag once the issue is resolved.

๊ฐœ๋ฐœ์ž ์„ธ๋ถ€ ์ •๋ณด

์ž‘์„ฑ์ž

CJHarmath

๋ผ์ด์„ ์Šค

MIT

์ฐธ์กฐ

main

ํŒŒ์ผ ๊ตฌ์กฐ

๐Ÿ“„ SKILL.md