sir-chawakorn/power-ranger-toolkit/auto-debug

Claude Code and agent skill by sir-chawakorn/power-ranger-toolkit

Trust tier 2
  • community
LLM review pending
Source check pending

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

Install

npx vskill@latest install sir-chawakorn/power-ranger-toolkit/auto-debug

SKILL.md

๐Ÿ› Auto Debug Skill


name: auto-debug description: Automatically detect bugs from terminal output and suggest/apply fixes without manual intervention


๐ŸŽฏ Purpose

เธ•เธฃเธงเธˆเธˆเธฑเธš errors เธˆเธฒเธ terminal output เธญเธฑเธ•เน‚เธ™เธกเธฑเธ•เธด เนเธฅเธฐเนเธ™เธฐเธ™เธณเธซเธฃเธทเธญเนเธเน‰เน„เธ‚เธ›เธฑเธเธซเธฒเธ—เธฑเธ™เธ—เธต เธฅเธ”เน€เธงเธฅเธฒ debug เธฅเธ‡เธญเธขเนˆเธฒเธ‡เธกเธฒเธ

๐Ÿ“‹ When to Use

  • เน€เธกเธทเนˆเธญ terminal เนเธชเธ”เธ‡ error messages
  • เน€เธกเธทเนˆเธญ build/compile fail
  • เน€เธกเธทเนˆเธญ tests fail
  • เน€เธกเธทเนˆเธญ runtime errors occur
  • เน€เธกเธทเนˆเธญ linting errors เน€เธเธดเธ”เธ‚เธถเน‰เธ™

๐Ÿ”ง Capabilities

1. Error Detection
Error TypeDetection Pattern
TypeScriptTS\d+:, Type error:
ESLinterror:, warning:
RuntimeError:, Exception:
BuildENOENT, Cannot find module
TestFAIL, Expected.*but received
2. Common Error Fixes
TypeScript Errors
typescript
// TS2322: Type 'string' is not assignable to type 'number'
// Fix: Change variable type or value
// TS2339: Property does not exist
// Fix: Add property to interface or use optional chaining
// TS7006: Parameter implicitly has 'any' type
// Fix: Add explicit type annotation
Module Errors
bash
# Cannot find module 'xyz'
# Fix 1: npm install xyz
# Fix 2: Check import path spelling
# Fix 3: Add to tsconfig paths
# Module not found: Can't resolve './component'
# Fix: Check file exists, check extension, check case sensitivity
Runtime Errors
javascript
// TypeError: Cannot read property 'x' of undefined
// Fix: Add null check or optional chaining
// ReferenceError: variable is not defined
// Fix: Declare variable or check scope
// SyntaxError: Unexpected token
// Fix: Check JSON format, missing brackets

๐Ÿ“ Auto-Debug Process

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Error Occurs โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Parse Error Msg โ”‚ โ† Extract error type, location, message
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Identify Cause โ”‚ โ† Match patterns, analyze context
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Generate Fix โ”‚ โ† Create solution based on error type
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Apply & Verify โ”‚ โ† Apply fix, re-run to verify
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
Fixed? โ”€โ”€โ”€โ”€Noโ”€โ”€โ”€โ”€โ–ถ Try alternative fix
โ”‚
Yes
โ”‚
โ–ผ
Done! โœ…

๐Ÿ”„ Auto-Fix Loop

python
MAX_ATTEMPTS = 5
attempt = 0
while error_exists and attempt < MAX_ATTEMPTS:
error = parse_error(terminal_output)
fix = generate_fix(error)
apply_fix(fix)
result = run_command_again()
if result.success:
log_solution(error, fix) # Save for future
break
else:
attempt += 1
try_alternative_fix()

๐Ÿ“š Error Pattern Database

Build Errors
PatternCauseAuto-Fix
ENOENTFile not foundCheck path, create file
EACCESPermission deniedCheck permissions
EADDRINUSEPort in useKill process or change port
Dependency Errors
PatternCauseAuto-Fix
peer depVersion mismatchUpdate package
ERESOLVEConflictUse --legacy-peer-deps
not foundMissing packagenpm install
Syntax Errors
PatternCauseAuto-Fix
Unexpected tokenTypo, missing bracketAdd missing syntax
Unterminated stringMissing quoteAdd closing quote
Invalid JSONMalformed JSONFix JSON syntax

โœ… Self-Check

  • [ ] Error correctly identified
  • [ ] Root cause understood
  • [ ] Fix is safe (won't break other code)
  • [ ] Fix verified by re-running
  • [ ] Solution logged for future reference

๐Ÿ“ข Announcement Format

[๐Ÿ› Auto-Debug] Detected: {error type}
[๐Ÿ› Auto-Debug] Cause: {root cause}
[๐Ÿ› Auto-Debug] Fixing: {applying fix}
[๐Ÿ› Auto-Debug] โœ… Fixed: {summary}

๐Ÿ”— Related Skills

  • debugging - Manual debugging
  • error-recovery - Graceful error handling
  • testing - Prevent errors with tests

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

Repository stars
33
Repository forks
6
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.

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/sir-chawakorn/power-ranger-toolkit/auto-debug/badge)](https://verified-skill.com/skills/sir-chawakorn/power-ranger-toolkit/auto-debug)

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