error-diagnostics-smart-debug
Debug Errors with AI-Powered Diagnostics
This skill helps developers quickly diagnose software errors by analyzing error messages, stack traces, and performance data to identify root causes and suggest fixes.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez Ă utiliser
Tester
Utilisation de "error-diagnostics-smart-debug". Analyze this error: 'Connection timeout after 30000ms' occurring in 5% of checkout requests in production
Résultat attendu:
- Issue Summary: Intermittent connection timeout in checkout service
- Root Cause Analysis: Likely causes - (1) External payment API latency 60%, (2) Database connection pool exhaustion 25%, (3) Network infrastructure issue 15%
- Recommended Strategy: Query DataDog traces for payment service duration, check connection pool metrics during error windows
- Fix Proposal: Implement circuit breaker pattern with 10s timeout, add retry with exponential backoff
- Validation: Deploy to canary traffic, monitor error rate reduction
Utilisation de "error-diagnostics-smart-debug". Parse this stack trace: TypeError: Cannot read property 'id' of undefined at UserService.getProfile (/src/user/service.js:42:15)
Résultat attendu:
- Root Cause: Null reference on user object - likely race condition or missing null check
- Hypothesis 1 (75%): User record missing from database - check authentication flow
- Hypothesis 2 (20%): Async timing issue - getProfile called before user data loaded
- Hypothesis 3 (5%): Schema mismatch - user object structure changed
- Recommended Fix: Add null guard: const userId = user?.id ?? throw new Error('User not found')
Audit de sécurité
SûrAll static findings are false positives. The skill is a legitimate debugging assistant that provides guidance on error diagnostics. No external commands, cryptographic algorithms, or network reconnaissance are present. The reported patterns were markdown formatting (backticks for code) and benign workflow descriptions.
Problèmes à risque moyen (1)
Problèmes à risque faible (2)
Score de qualité
Ce que vous pouvez construire
Production Incident Response
Quickly diagnose production errors by analyzing error patterns and recommending debugging strategies for on-call engineers.
Development Debugging
Get AI-assisted guidance on local debugging techniques, breakpoint placement, and step-through strategies.
Performance Issue Analysis
Analyze performance traces and APM data to identify bottlenecks, N+1 queries, and resource exhaustion issues.
Essayez ces prompts
Analyze this error: $ERROR_MESSAGE. What could be the root cause?
Parse this stack trace and identify the likely source of the issue: $STACK_TRACE. Provide 3 hypotheses ranked by probability.
Help debug this production issue: $ISSUE_DESCRIPTION. The error frequency is $FREQUENCY in $ENVIRONMENT environment. Recommend a debugging strategy.
Review this proposed fix for the error: $ERROR and $PROPOSED_FIX. Assess the risk level and suggest validation steps.
Bonnes pratiques
- Provide complete error context including stack traces, reproduction steps, and environment details
- Use observability data to validate hypotheses before implementing fixes
- Apply incremental debugging: start with simplest explanations before complex ones
- Always validate fixes with tests and canary deployments before full rollout
Éviter
- Blindly applying fixes without understanding root cause
- Ignoring error frequency and impact when prioritizing debugging efforts
- Skipping observability data collection and relying solely on code inspection
- Deploying fixes without validation or rollback strategy
Foire aux questions
What information should I provide for best debugging results?
Can this skill fix the errors automatically?
Does this skill work with all programming languages?
Can I use this for security vulnerabilities?
How does the skill choose the debugging strategy?
What observability tools does this skill integrate with?
Détails du développeur
Auteur
sickn33Licence
MIT
Dépôt
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/error-diagnostics-smart-debugRéf
main
Structure de fichiers
đź“„ SKILL.md