aiskillstore/marketplace/error-tracking
Claude Code and agent skill by aiskillstore/marketplace
- community
Checking that the SKILL.md file is still in the repository.
Author "aiskillstore" has blocked skill(s)
Add Sentry v8 error tracking and performance monitoring to your project services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.
Install
npx vskill@latest install aiskillstore/marketplace/error-trackingSKILL.md
The same SKILL.md was published earlier as aiskillstore/marketplace/error-tracking.
your project Sentry Integration Skill
Purpose
This skill enforces comprehensive Sentry error tracking and performance monitoring across all your project services following Sentry v8 patterns.
When to Use This Skill
- Adding error handling to any code
- Creating new controllers or routes
- Instrumenting cron jobs
- Tracking database performance
- Adding performance spans
- Handling workflow errors
π¨ CRITICAL RULE
ALL ERRORS MUST BE CAPTURED TO SENTRY - No exceptions. Never use console.error alone.
Current Status
Form Service β Complete
- Sentry v8 fully integrated
- All workflow errors tracked
- SystemActionQueueProcessor instrumented
- Test endpoints available
Email Service π‘ In Progress
- Phase 1-2 complete (6/22 tasks)
- 189 ErrorLogger.log() calls remaining
Sentry Integration Patterns
1. Controller Error Handling
2. Route Error Handling (Without BaseController)
3. Workflow Error Handling
4. Cron Jobs (MANDATORY Pattern)
5. Database Performance Monitoring
6. Async Operations with Spans
Error Levels
Use appropriate severity levels:
- fatal: System is unusable (database down, critical service failure)
- error: Operation failed, needs immediate attention
- warning: Recoverable issues, degraded performance
- info: Informational messages, successful operations
- debug: Detailed debugging information (dev only)
Required Context
Service-Specific Integration
Form Service
Location: ./blog-api/src/instrument.ts
Key Helpers:
WorkflowSentryHelper- Workflow-specific errorsDatabasePerformanceMonitor- DB query trackingBaseController- Controller error handling
Email Service
Location: ./notifications/src/instrument.ts
Key Helpers:
EmailSentryHelper- Email-specific errorsBaseController- Controller error handling
Configuration (config.ini)
Testing Sentry Integration
Form Service Test Endpoints
Email Service Test Endpoints
Performance Monitoring
Requirements
- All API endpoints must have transaction tracking
- Database queries > 100ms are automatically flagged
- N+1 queries are detected and reported
- Cron jobs must track execution time
Transaction Tracking
Common Mistakes to Avoid
β NEVER use console.error without Sentry β NEVER swallow errors silently β NEVER expose sensitive data in error context β NEVER use generic error messages without context β NEVER skip error handling in async operations β NEVER forget to import instrument.ts as first line in cron jobs
Implementation Checklist
When adding Sentry to new code:
- [ ] Imported Sentry or appropriate helper
- [ ] All try/catch blocks capture to Sentry
- [ ] Added meaningful context to errors
- [ ] Used appropriate error level
- [ ] No sensitive data in error messages
- [ ] Added performance tracking for slow operations
- [ ] Tested error handling paths
- [ ] For cron jobs: instrument.ts imported first
Key Files
Form Service
/blog-api/src/instrument.ts- Sentry initialization/blog-api/src/workflow/utils/sentryHelper.ts- Workflow errors/blog-api/src/utils/databasePerformance.ts- DB monitoring/blog-api/src/controllers/BaseController.ts- Controller base
Email Service
/notifications/src/instrument.ts- Sentry initialization/notifications/src/utils/EmailSentryHelper.ts- Email errors/notifications/src/controllers/BaseController.ts- Controller base
Configuration
/blog-api/config.ini- Form service config/notifications/config.ini- Email service config/sentry.ini- Shared Sentry config
Documentation
- Full implementation:
/dev/active/email-sentry-integration/ - Form service docs:
/blog-api/docs/sentry-integration.md - Email service docs:
/notifications/docs/sentry-integration.md
Related Skills
- Use database-verification before database operations
- Use workflow-builder for workflow error context
- Use database-scripts for database error handling
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/diet103/error-tracking/SKILL.md
Popularity
- Repository stars
- 429
- Repository forks
- 45
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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
[](https://verified-skill.com/skills/aiskillstore/marketplace/error-tracking)