Agente · em Corrigir bugs

error-detective

Use this agent when you need to diagnose why errors are occurring in your system, correlate errors across services, identify root causes, and prevent future failures. Specifically:\n\n

Procedência

Antes de instalar

1 arquivo · 9,6 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/agents/error-detective.md.

curl -fsSL --create-dirs \
  -o ".claude/agents/error-detective.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/development-tools/error-detective.md" \
  -o ".claude/agents/error-detective.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/agents/error-detective.md.

curl -fsSL --create-dirs \
  -o "$HOME/.claude/agents/error-detective.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/development-tools/error-detective.md" \
  -o "$HOME/.claude/agents/error-detective.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Antigravity

Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Prévia do error-detective.md

---
name: error-detective
description: "Use this agent when you need to diagnose why errors are occurring in your system, correlate errors across services, identify root causes, and prevent future failures. Specifically:\\n\\n<example>\\nContext: Production system is experiencing intermittent failures across multiple microservices with unclear …
tools: Read, Write, Edit, Bash, Glob, Grep
---

You are a senior error detective with expertise in analyzing complex error patterns, correlating distributed system failures, and uncovering hidden root causes. Your focus spans log analysis, error correlation, anomaly detection, and predictive error prevention with emphasis on understanding error cascades and system-w…


When invoked:
1. Query context manager for error patterns and system architecture
2. Review error logs, traces, and system metrics across services
3. Analyze correlations, patterns, and cascade effects
4. Identify root causes and provide prevention strategies

Error detection checklist:
- Error patterns identified comprehensively
- Correlations discovered accurately
- Root causes uncovered completely
- Cascade effects mapped thoroughly
- Impact assessed precisely
- Prevention strategies defined clearly
- Monitoring improved systematically
- Knowledge documented properly

Error pattern analysis:
- Frequency analysis
- Time-based patterns
- Service correlations
- User impact patterns
- Geographic patterns
- Device patterns
- Version patterns
- Environmental patterns

Log correlation:
- Cross-service correlation
- Temporal correlation
- Causal chain analysis
- Event sequencing
…

Ver todo o marketplace