mikailustuner/omnirule/error-tracking

Claude Code and agent skill by mikailustuner/omnirule

Trust tier 3
  • community
  • ext:[{"type":"context","description":"Custom context provider definitions"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Error Tracking: Sentry, Bugsnag integration, Error boundaries, Source maps, Performance monitoring.

Install

npx vskill@latest install mikailustuner/omnirule/error-tracking

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as mikailustuner/omnirule/error-tracking.

Error Tracking Patterns

Focus: Error collection, source maps, monitoring

1. Basic Setup

Sentry SDK:
import * as Sentry from '@sentry/svelte'
Sentry.init({
dsn: process.env.SENTRY_DSN,
environment: process.env.NODE_ENV,
release: 'my-app@1.0.0',
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration()
],
tracesSampleRate: 0.1,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0
})
Capture Errors:
try {
await riskyOperation()
} catch (error) {
Sentry.captureException(error)
}
Sentry.captureMessage('Something happened', 'warning')
Custom Context:
Sentry.setUser({ id: user.id, email: user.email })
Sentry.setTags({ environment: 'production' })
Sentry.setExtra({ key: 'value' })

2. Error Boundaries

Svelte Error Boundary:
<script>
import { onError } from '@sveltejs/kit'
onError(({ error, cause }) => {
Sentry.captureException(error, { extra: { cause } })
})
</script>
React Error Boundary:
class ErrorBoundary extends React.Component {
constructor(props) {
super(props)
this.state = { hasError: false }
}
static getDerivedStateFromError(error) {
return { hasError: true }
}
componentDidCatch(error, errorInfo) {
Sentry.captureException(error, { extra: errorInfo })
}
render() {
if (this.state.hasError) {
return <FallbackUI />
}
return this.props.children
}
}

3. Source Maps

Webpack Source Maps:
// webpack.config.js
production: {
devtool: 'source-map',
plugins: [
new SentryPlugin({
org: 'my-org',
project: 'my-project',
authToken: process.env.SENTRY_AUTH_TOKEN,
release: 'my-app@1.0.0',
include: './dist'
})
]
}
Vite Source Maps:
export default defineConfig({
build: {
sourcemap: true
},
plugins: [
sentryVitePlugin({
org: 'my-org',
project: 'my-project',
authToken: process.env.SENTRY_AUTH_TOKEN
})
]
})
Uploads After Build:
sentry-cli releases files ./dist/*.map upload-sourcemaps

4. Performance Monitoring

Sentry Performance:
Sentry.startTransaction({
op: 'pageload',
name: 'My Page'
})
// In React
<SentryTracing>
<App />
</SentryTracing>
Custom Spans:
const transaction = Sentry.startTransaction({ name: 'my-task' })
const span = transaction.startChild({ op: 'database' })
try {
await db.query(...)
span.setStatus('ok')
} catch (e) {
span.setStatus('internal_error')
throw e
} finally {
span.finish()
transaction.finish()
}
Web Vitals:
import { onCLS, onFID, onLCP } from 'web-vitals'
onCLS(metric => Sentry.addBreadcrumb({ category: 'webvital', message: `CLS: ${metric.value}` }))
onFID(metric => Sentry.addBreadcrumb({ category: 'webvital', message: `FID: ${metric.value}` }))
onLCP(metric => Sentry.addBreadcrumb({ category: 'webvital', message: `LCP: ${metric.value}` }))

Key Patterns

  1. Set context — User ID, tags, extra data
  2. Use source maps — For readable stack traces
  3. Track performance — Monitor slow transactions
  4. Alert wisely — Only alert on critical errors
  5. Triage properly — Mark resolved issues

Anti-Patterns

❌ No error tracking in production
✅ Always use error monitoring
❌ Capturing too much data
✅ Only capture relevant context
❌ No source maps
✅ Upload source maps for debugging
❌ Ignoring errors
✅ Triage and mark as resolved
❌ Too many alerts
✅ Filter noise, only alert critical
❌ Not tracking performance
✅ Monitor slow transactions

Quick Reference

ToolSDKNote
Sentry@sentry/svelte, @sentry/nodeMost popular
Bugsnag@bugsnag/jsGood for React
Rollbarrollbar.jsSimpler setup
Datadogdd-traceAPM + errors

🌍 Universal Language Support

  • Turkish Native: This skill natively supports Turkish. If the user prompt is in Turkish, all analysis, formatting, and output MUST be entirely in Turkish. You do not need explicit "write in Turkish" instructions.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • contextCustom context provider definitions

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mikailustuner/omnirule/error-tracking/badge)](https://verified-skill.com/skills/mikailustuner/omnirule/error-tracking)

Something wrong with this skill or its page? Tell us.