What problem does it solve?
Production errors pile up in Datadog Error Tracking with no systematic way to triage them, separate real code bugs from noise, and turn them into reviewed fixes. This Skill walks an agent from querying Datadog issues through root-cause analysis to a tested fix and a pull request.
Core Features & Use Cases
- Issue discovery and triage: Query Datadog Error Tracking via the Datadog MCP server (or span aggregation fallback), classify candidates as code bugs versus infra noise, version skew, or expected errors, and rank by impact, trend, and fix confidence.
- Root-cause analysis: Map error spans to code using service names, resource names, stack traces, and
service.version commit SHAs, then identify the introducing commit with git blame and deploy correlation.
- Test-first fixing and PR creation: Reproduce the bug with failing tests, apply the fix at the correct architectural layer, verify with typecheck and lint, comment on the Datadog issue, and open a PR against the development branch.
- Use Case: Ask the agent to investigate the most frequent production errors this week; it will filter out transient timeouts and expected errors, pick a genuine bug, confirm a fix plan with you, then deliver a tested PR linked to the Datadog issue.
Quick Start
Ask the agent to find the most frequent production errors in Datadog Error Tracking from the last week and fix the top genuine code bug.