error-debugging-error-analysis
Depure Erros de Produção com Eficácia
Esta habilidade ajuda desenvolvedores a identificar rapidamente a causa raiz de erros em sistemas de produção e implementar soluções adequadas de tratamento de erros e observabilidade.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“error-debugging-error-analysis”。 Analyze this error: NullPointerException at UserService.java:45
预期结果:
Based on the stack trace, the NullPointerException originates at UserService.java:45. This typically means a null value was passed to a method that expects a non-null argument. Recommended approach: 1) Check the call chain to find where null is passed, 2) Add null validation at the entry point, 3) Consider using Optional types to make nullability explicit.
正在使用“error-debugging-error-analysis”。 How do I set up distributed tracing for my microservices?
预期结果:
For distributed tracing, I recommend: 1) Use OpenTelemetry for vendor-neutral instrumentation, 2) Implement correlation IDs in all service headers, 3) Set up a trace collector (Jaeger or Tempo), 4) Add trace context propagation across service boundaries. Here is a code example for middleware...
安全审计
安全This is an educational debugging and error analysis skill. Static findings flagged example code patterns in documentation (shell commands, network calls, environment variables) but these are legitimate educational examples for observability implementation. No malicious intent detected. All flagged patterns are standard debugging and logging practices documented for teaching purposes.
中风险问题 (3)
低风险问题 (1)
质量评分
你能构建什么
Resposta a Incidentes de Produção
Analisar erros de produção durante incidentes, identificar a causa raiz e implementar correções imediatas com planos de rollback.
Depuração de Sistemas Distribuídos
Rastrear erros através de microsserviços usando IDs de correlação, distributed tracing e agregação de logs.
Configuração de Observabilidade
Implementar rastreamento abrangente de erros, logging e monitoramento para aplicações.
试试这些提示
Analyze this error message and stack trace. Identify the likely root cause and suggest fixes: $ERROR_MESSAGE
Help me debug a production issue. The error is occurring in $SERVICE_NAME. Here are the relevant logs: $LOGS
I want to set up error tracking for my $LANGUAGE application. What are the best practices for $TOOL_NAME integration?
We are experiencing $ERROR_TYPE errors in our system. Walk me through the systematic debugging process to find the root cause.
最佳实践
- Sempre reproduza erros em ambiente controlado antes de propor correções
- Use logging estruturado com IDs de correlação para rastrear requisições entre serviços
- Implemente error boundaries e degradação graciosa para prevenir falhas em cascata
避免
- Ignorar erros sem logging adequado e alertas
- Endurecer dados sensíveis em mensagens de erro ou logs
- Capturar exceções sem tomar ação ou registrá-las em log