/ai-toolkit:service-debuggingfrom ai-toolkit
Structured debugging runbook for backend services. Investigates production issues, API errors, and performance problems to find root causes.
Ships in ai-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Structured approach to investigating and fixing service issues. Symptoms in, root cause out.
Before touching code, collect:
Run these first — they catch 80% of issues:
# Recent deploys (did someone push something?)
git log --oneline -10
# Service health
curl -s http://localhost:8080/health | jq .
# Recent errors in logs
grep -i "error\|exception\|fatal" logs/app.log | tail -20
# Database connectivity
psql -h $DB_HOST -U $DB_USER -d $DB_NAME -c "SELECT 1"
# Environment variables (missing or wrong?)
env | grep -i "DB_\|API_\|SECRET_" | sort
| Symptom | Check First |
|---|---|
| 500 errors | Stack trace in logs → find the throwing line |
| 404 errors | Route registration → is the controller loaded? |
| 401/403 errors | Auth config → is @Secured correct? Token valid? |
| Slow response | Database → run EXPLAIN on the slow query |
| Timeout | External service → is the downstream API responding? |
| Data missing | Soft delete → is deleted_at set? Wrong query filter? |
| Service won't start | Bean creation → check @Factory and @Singleton wiring |
Use git bisect if it's a regression:
git bisect start
git bisect bad HEAD
git bisect good <last-known-good-commit>
# Test each commit until you find the one that broke it
Use grep to find related code:
# Find where the error message comes from
grep -r "error message text" --include="*.kt" src/
# Find all callers of a broken function
grep -r "functionName" --include="*.kt" src/
See
common-issues.mdfor a catalog of frequently seen bugs and their fixes.
deleted_at IS NULL in your queries.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
debugging, runbook, production-issues, api-errors, performance
npx claudepluginhub c0x12c/ai-toolkit --plugin ai-toolkit35 skills in this plugin
/api-endpoint-creatorCreates RPC-style endpoint following layered architecture (Controller → Manager → Repository). Use when creating new API endpoints or CRUD operations./article-writingWrite blog posts, guides, tutorials, and long-form content. Sounds like a real person, not AI. Use when the user wants polished written content./backend-api-designDesign RPC-style APIs with layered architecture (Controller → Manager → Repository). Use when creating new API endpoints, designing API contracts, or reviewing API patterns./brainstormRun a structured brainstorm session for startup ideas. Takes a theme or problem and generates ideas with quick gut-checks. Use when the user wants to explore a space or generate new ideas./browser-qaRun real browser QA with Playwright. Use when testing a frontend feature, verifying UI before PR, smoke testing after deploy, or investigating reported visual bugs./ci-cd-patternsCI/CD pipeline patterns for GitHub Actions, PR automation, and deployment workflows. Use when setting up CI, fixing broken pipelines, automating PR checks, or configuring deployment.Other plugins' skills for the same job