Systematic debugging workflow. Given a bug description or error, finds root cause and proposes a minimal, correct fix. Use when investigating unexpected behavior.
Perform systematic root cause analysis. Do not guess — investigate.
git log --oneline -20
git diff HEAD~5 HEAD -- <file>
git blame <file>:<line>
git log -S "relevant_function_name" --oneline
## Root Cause
[Clear explanation of what the actual bug is and why it fails]
## Evidence
- `file.ts:42` — [what the code does wrong]
- [relevant data/state that confirms the diagnosis]
## Fix
[Minimal code change, with explanation of why it's correct]
## Regression Test
[Test that would catch this in the future]
## What NOT to do
[Common wrong fixes people might try and why they don't address root cause]
Do not fix symptoms. Do not over-engineer the fix.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer