Communitygithub.com

ComeOnOliver/skillshub

Sentry, Rollbar 등 오류 추적 서비스를 통합하여 애플리케이션의 프로덕션 디버깅 및 모니터링을 개선합니다. 사용자가 오류 모니터링이나 프로덕션 디버깅을 요청할 때 사용하세요.

skillshub란 무엇인가요?

이 스킬은 Sentry, Rollbar, Bugsnag, Airbrake, LogRocket과 같은 오류 추적 서비스를 다양한 프레임워크(React, Vue, Angular, Express, Fastify, Django, Flask, Rails)의 애플리케이션에 통합하는 방법을 제공합니다. 사용자가 오류 모니터링, 충돌 보고, 프로덕션 디버깅을 요청할 때 활용할 수 있습니다. 스킬은 프레임워크 탐지, 서비스 선택, 설치 및 설정, 오류 경계 추가, 컨텍스트 및 Breadcrumb 설정, 수동 오류 캡처, 민감 데이터 필터링, 소스 맵, 알림 설정, 성능 모니터링 등 12단계로 구성된 상세한 지침을 제공합니다. 각 지침에는 실제 코드 예제가 포함되어 있어 개발자가 쉽게 따라할 수 있습니다. 특히 Sentry를 중심으로 한 자세한 설정 방법과 함께 환경 분리, 릴리스 추적, 샘플링 비율, 팀 알림, 이슈 할당, 오류 그룹화, 민감 데이터 보호 등 모범 사례도 다루고 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/crazydubya/error-tracking-integrator

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

오류 추적 통합자

애플리케이션에 오류 추적 서비스를 통합하여 프로덕션 디버깅 및 모니터링을 개선합니다.

사용 시기

  • 사용자가 오류 모니터링 또는 추적을 요청할 때
  • 프로덕션 오류 로깅 설정 시
  • 사용자가 "Sentry", "오류 추적", "충돌 보고", "프로덕션 디버깅"을 언급할 때

지침

1. 프레임워크 탐지

애플리케이션 프레임워크 식별:

  • React, Vue, Angular (프론트엔드)
  • Express, Fastify (Node.js 백엔드)
  • Django, Flask (Python)
  • Rails (Ruby)

2. 오류 추적 서비스 선택

인기 서비스:

  • Sentry: 가장 인기 있고 포괄적
  • Rollbar: 백엔드에 적합
  • Bugsnag: 다중 플랫폼
  • Airbrake: Ruby 중심
  • LogRocket: 세션 재생 + 오류

3. 설치 및 설정

Sentry (React 예):

npm install @sentry/react
import * as Sentry from "@sentry/react";

Sentry.init({
  dsn: process.env.REACT_APP_SENTRY_DSN,
  environment: process.env.NODE_ENV,
  tracesSampleRate: 1.0,
  integrations: [
    new Sentry.BrowserTracing(),
    new Sentry.Replay()
  ],
});

Sentry (Node.js/Express):

const Sentry = require("@sentry/node");

Sentry.init({
  dsn: process.env.SENTRY_DSN,
  environment: process.env.NODE_ENV,
  tracesSampleRate: 1.0,
});

// 요청 핸들러 (첫 번째 미들웨어)
app.use(Sentry.Handlers.requestHandler());

// 오류 핸들러 (모든 라우트 이후, 오류 미들웨어 이전)
app.use(Sentry.Handlers.errorHandler());

4. 오류 경계 추가 (React)

import { ErrorBoundary } from '@sentry/react';

function App() {
  return (
    <ErrorBoundary fallback={<ErrorFallback />}>
      <YourApp />
    </ErrorBoundary>
  );
}

5. 컨텍스트 추가

사용자 컨텍스트:

Sentry.setUser({
  id: user.id,
  email: user.email,
  username: user.username
});

태그:

Sentry.setTag("page_locale", "en-US");
Sentry.setTag("feature_flag", "new_ui");

컨텍스트:

Sentry.setContext("order", {
  id: order.id,
  total: order.total,
  items: order.items.length
});

6. Breadcrumb

오류로 이어지는 사용자 작업 추적:

Sentry.addBreadcrumb({
  category: "auth",
  message: "User logged in",
  level: "info"
});

Sentry.addBreadcrumb({
  category: "ui",
  message: "Button clicked",
  data: { buttonId: "submit-form" }
});

7. 수동 오류 캡처

try {
  riskyOperation();
} catch (error) {
  Sentry.captureException(error, {
    tags: { section: "payment" },
    level: "error",
    extra: { orderId: order.id }
  });
}

8. 민감 데이터 필터링

PII 스크러빙:

Sentry.init({
  beforeSend(event, hint) {
    // 민감 데이터가 포함된 경우 전송하지 않음
    if (event.request?.data?.password) {
      delete event.request.data.password;
    }
    return event;
  },
  ignoreErrors: [
    // 브라우저 확장 프로그램 오류 무시
    /extensions\//i,
    /^Non-Error promise rejection/,
  ]
});

9. 소스 맵 (프로덕션)

읽기 쉬운 스택 트레이스를 위해 소스 맵 활성화:

Webpack:

// webpack.config.js
module.exports = {
  devtool: 'source-map',
  plugins: [
    new SentryWebpackPlugin({
      org: "your-org",
      project: "your-project",
      authToken: process.env.SENTRY_AUTH_TOKEN,
      include: "./dist",
    }),
  ],
};

10. 알림 설정

다음에 대한 알림 설정:

  • 새로운 이슈
  • 재발 (해결된 이슈가 다시 발생)
  • 오류율 급증
  • 중요 오류 (결제, 인증 실패)

11. 성능 모니터링

트랜잭션 추적 추가:

const transaction = Sentry.startTransaction({
  name: "processOrder",
  op: "task"
});

try {
  await processOrder();
} finally {
  transaction.finish();
}

12. 모범 사례

  • 환경 분리: dev/staging/prod에 대해 다른 프로젝트 사용
  • 릴리스 추적: 오류에 릴리스 버전 태깅
  • 샘플링 비율: 오류는 100%, 성능은 낮은 비율
  • 팀 알림: Slack/이메일 통합
  • 이슈 할당: 코드 소유자에게 자동 할당
  • 오류 그룹화: 더 나은 그룹화를 위한 사용자 지정 핑거프린팅
  • 민감 데이터 로깅 금지: PII, 비밀번호, 토큰

지원 파일

  • templates/sentry-react.js: React 통합 템플릿
  • templates/sentry-node.js: Node.js 통합 템플릿
  • templates/sentry-python.py: Python 통합 템플릿

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

관련 스킬