pratos/clanker-setup/debug-investigation

Claude Code and agent skill by pratos/clanker-setup

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Debug issues by investigating logs, database state, git history, and process status. Use when you need to diagnose problems without editing files - pure investigation mode.

Install

npx vskill@latest install pratos/clanker-setup/debug-investigation

SKILL.md

The same SKILL.md was published earlier as pratos/clanker-setup/debug-investigation.

Debug Investigation

Activation

When this skill is triggered, ALWAYS display this banner first:

╭─────────────────────────────────────────────────────────────╮
│ 🔍 SKILL ACTIVATED: debug-investigation │
├─────────────────────────────────────────────────────────────┤
│ Issue: [problem description] │
│ Action: Investigate logs, state, and git history │
│ Output: Debug report with root cause analysis │
╰─────────────────────────────────────────────────────────────╯

When to Use

This skill activates when:

  • "debug this issue"
  • "investigate why X isn't working"
  • "help me figure out what's wrong"
  • "check the logs for errors"
  • Need to diagnose a problem without making changes

Initial Response

If invoked WITH context (plan/ticket file):

I'll help debug issues with [context]. Let me understand the current state.
What specific problem are you encountering?
- What were you trying to test/implement?
- What went wrong?
- Any error messages?

If invoked WITHOUT context:

I'll help debug your current issue.
Please describe what's going wrong:
- What are you working on?
- What specific problem occurred?
- When did it last work?
I can investigate logs, database state, and recent changes to help identify the issue.

Investigation Process

Step 1: Understand the Problem
  1. Read any provided context (plan or ticket file)
  2. Quick state check:
  • Current git branch and recent commits
  • Any uncommitted changes
  • When the issue started occurring
Step 2: Investigate in Parallel

Spawn parallel investigation tasks:

Task 1 - Check Recent Logs:

  • Find and analyze relevant log files for errors
  • Search for stack traces, repeated errors, or warnings
  • Note timestamps of issues

Task 2 - Database/State Check (if applicable):

  • Check database state for anomalies
  • Look for stuck states or invalid data
  • Query recent records

Task 3 - Git and File State:

  • Check git status and current branch
  • Look at recent commits: git log --oneline -10
  • Check uncommitted changes: git diff
  • Verify expected files exist
  • Check for file permission issues

Task 4 - Process/Service Status (if applicable):

  • Check if relevant services are running
  • Verify ports and sockets
  • Check resource usage
Step 3: Present Findings
markdown
## Debug Report
### What's Wrong
[Clear statement of the issue based on evidence]
### Evidence Found
**From Logs:**
-[Error/warning with timestamp]
-[Pattern or repeated issue]
**From Git/Files:**
-[Recent changes that might be related]
-[File state issues]
**From State/DB** (if checked):
-[Relevant finding]
### Root Cause
[Most likely explanation based on evidence]
### Next Steps
1.**Try This First**:
[Specific command or action]
2.**If That Doesn't Work**:
-Restart relevant services
-Check for environment variable issues
-Run with debug flags enabled
### Can't Access?
Some issues might be outside my reach:
-Browser console errors
-External service state
-System-level issues
Would you like me to investigate something specific further?

Important Guidelines

  • Focus on investigation, not fixing - Pure debugging only
  • Always require problem description - Can't debug without knowing what's wrong
  • Read files completely - No partial reads when reading context
  • Present evidence - Every conclusion should be backed by findings
  • Guide back to user - Some issues require human intervention

Quick Reference

Log Search Patterns:

bash
# Find recent error logs
find . -name "*.log" -mmin -60 2>/dev/null
# Search for errors in logs
grep -r "ERROR\|FATAL\|panic\|exception" logs/ --include="*.log" | tail -20

Git State:

bash
git status
git log --oneline -10
git diff
git stash list

Process Check:

bash
# Check if a process is running
ps aux | grep [process_name]
# Check port usage
lsof -i :[port] 2>/dev/null

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pratos/clanker-setup/debug-investigation/badge)](https://verified-skill.com/skills/pratos/clanker-setup/debug-investigation)

Something wrong with this skill or its page? Tell us.