Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

observability

/observability

Przegląda w React Native raportowanie awarii, breadcrumbs, ślady wydajności i analitykę pod kątem debugowania produkcji bez danych osobowych.

Licencja
MIT
Ostatnia zmiana repozytorium
29.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przegląda w React Native raportowanie awarii, breadcrumbs, ślady wydajności i analitykę pod kątem debugowania produkcji bez danych osobowych.

Oryginalny opis (EN)

Review React Native crash reporting, breadcrumbs, performance traces, and analytics for PII-safe production debugging. Use when adding monitoring or reviewing observability in a change.

Jak działa

  1. Applicability
  2. When to Use
  3. Severity
  4. Guidance
  5. Anti-Patterns
  6. Pitfalls
Sekcje z nagłówków SKILL.md, w oryginale · 80 linii, 589 słów
Podgląd SKILL.md
---
name: observability
description: Review React Native crash reporting, breadcrumbs, performance traces, and analytics for PII-safe production debugging. Use when adding monitoring or reviewing observability in a change.
version: 1.0.1
platforms: [ios, android]
react-native-version: 0.76+
tags: [react-native, observability, crashes, analytics, privacy]
---

# Observability Skill

## Applicability

- **Platforms:** iOS and Android
- **React Native:** 0.76+ (New Architecture interop assumed unless a checklist item says otherwise)

## When to Use

- Adding crash reporting, analytics, performance traces, or a logging strategy
- Reviewing what a change records about the user or the session
- Debugging a production failure that cannot be reproduced on a device

## Severity

- **Merge-blocking:** a new event or log in this diff includes a name, email, token, or payment data.
- **Should-fix:** missing traces and breadcrumb wording.

## Guidance

Names, emails, and payment data in logs are also merge-blocking under [critical-rules](../critical-rules/SKILL.md). File that finding once, from `critical-rules`, when the line is in the diff.

### Crashes and errors

- [ ] Uncaught JavaScript errors, unhandled promise rejections, and native crashes are reported, and release builds can be symbolicated
- [ ] An error boundary reports the screen it failed on and still shows a recovery UI
- [ ] Caught errors that the user can retry are not also reported as crashes
- [ ] Dev and debug builds do not send events to the production project

### Context

- [ ] Breadcrumbs record the action (screen opened, request failed) without the payload
- [ ] A correlation id is attached to the client event and the matching server request
- [ ] User id, when set, is an internal id, not an email, name, or phone number
- [ ] Events are separated by environment (dev, staging, production)

**Incorrect:**
```tsx
logger.error('checkout failed', { email, cardLast4, token });
```

**Correct:**
```tsx
logger.error('checkout failed', {
  correlationId,
  screen: 'Checkout',
  status: error.status,
});
```

### Performance

- [ ] Screen-load and API-latency traces exist for the flows that matter, with a start and an end
- [ ] A trace is cancelled or dropped when the screen unmounts before it finishes
- [ ] JS-thread stalls are sampled; they are not logged on every frame

### Analytics and privacy

- [ ] Event names are stable and documented; properties follow one schema
- [ ] No names, emails, payment data, tokens, or free-text user content are in events or logs
- [ ] Collection starts only after the required consent (see `security`)
- [ ] Offline events are queued with a cap and are not sent with a payload captured before consent

## Anti-Patterns

| Anti-Pattern | Risk | Fix |
|---|---|---|
| Logging the request body | PII and tokens land in a vendor log | Log status, route template, and correlation id |
| A catch that reports and also swallows | The user sees a success while the crash tool fills with noise | Show the error, and report only unexpected failures |
| One analytics name reused for different actions | Funnels lie | One name per action, with a written schema |
| Sending debug logs to the production project | Dev traffic hides real crashes | Split the project or the environment tag and drop dev |

## Pitfalls

- Release crashes without source maps or native symbols point at minified frames. Confirm symbol upload for the build that shipped.
- A high sample rate on a chatty trace (scroll, animation) can drain battery and blow the quota. Sample those; keep crashes unsampled.
- Offline queues replay old events after the user logs out. Drop or re-key the queue on sign-out.
- Breadcrumbs that include search text or form values become a second store of personal data. Keep them to navigation and outcomes.

Wersje

RepozytoriumWynikLicencja
Ta strona · neha/rn-developer-skills100MIT
maragudk/fabrik100MIT
matteocodogno/wellforge100MIT
iuliandita/skills100MIT
ctxpipe-ai/ctxpipe100MIT
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT
wrongstack/wrongstack100MIT
nvidia/ai-factory-operations-agent100Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 03213f304c4f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90flutter-observability
    Projektuje, implementuje i naprawia obserwowalność produkcyjną we Flutterze: logi operacyjne, przechwytywanie błędów i awarii, breadcrumbs, ślady, kontekst wydania, kontrolę prywatności i weryfikację.
  • 90mobile-crash-reporting
    Ustawia raportowanie awarii w aplikacjach mobilnych: Crashlytics, Sentry, symbolikację, breadcrumbs, błędy niefatalne i kontekst użytkownika.
  • 100mobile-crash-reporting-sentry-firebase
    Konfiguruje raportowanie awarii natywnych na iOS i Androidzie w Crashlytics i Sentry, z symbolikacją i breadcrumbami.
  • 90mobile-observability
    Projektuje i sprawdza obserwowalność aplikacji mobilnych: raporty błędów, logi, metryki, alerty i koszty próbkowania.
  • 100crash-reporting-and-observability
    Podłącza raportowanie awarii Sentry za portem: start po zgodzie użytkownika, usuwanie danych osobowych, wydania i mapy źródeł dla każdego builda i aktualizacji, gdy dodajesz Sentry lub stosy są zminifikowane.
  • 90vercel-observability
    Monitoruje wydajność i błędy produkcyjne na Vercelu: analitykę, logi, ślady wywołań i alerty.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.