Error Detective

🌐Community
by htlin222 · vlatest · Repository

The Error Detective skill identifies and explains potential errors in your code, saving you time debugging and improving code quality.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add htlin222-error-detective npx -- -y @trustedskills/htlin222-error-detective
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "htlin222-error-detective": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/htlin222-error-detective"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Error Detective skill analyzes text and code to identify potential errors, bugs, or inconsistencies. It can pinpoint syntax errors in code snippets, logical flaws in reasoning chains, and factual inaccuracies within a larger document. This allows for improved accuracy and reliability of AI agent outputs across various tasks.

When to use it

  • Debugging Code: Use when an AI agent is generating code that isn't working as expected.
  • Fact-Checking Research: Employ the skill to verify claims or statements made by an AI during research or summarization tasks.
  • Improving Reasoning Chains: Apply it to evaluate and refine complex reasoning processes where errors could lead to incorrect conclusions.
  • Reviewing Generated Content: Use for quality assurance when an agent is creating reports, articles, or other written content.

Key capabilities

  • Error identification in code snippets
  • Logical flaw detection in reasoning chains
  • Factual inaccuracy assessment
  • Text and code analysis

Example prompts

  • "Analyze this Python code for errors: def add(a,b) return a+b"
  • "Check the following argument for logical inconsistencies: 'If all cats are mammals, and Fluffy is a cat, then Fluffy must be able to fly.'"
  • "Verify the accuracy of this statement: 'The capital of France is Berlin.'"

Tips & gotchas

This skill requires clear and well-defined input. Ambiguous or incomplete information may lead to inaccurate error detection.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
htlin222
Installs
25

🌐 Community

Passed automated security scans.