Debug and fix complex scripts by isolating side effects, extracting core logic into a controlled environment, validating behavior there, then reintegrating with minimal changes. Use this when scripts lack unit tests and are hard to reason about due to IO, environment, or orchestration complexity.
This skill guides safe and effective bug fixing in complex, side-effect-heavy scripts (especially shell scripts) by reducing cognitive load and state space before attempting a fix.
The goal is not to refactor the whole system, but to locate the root cause by temporarily transforming the problem into a no-side-effect form.
Isolate side effects → Fix core logic → Minimize integration
Treat debugging as a process of complexity reduction, not trial-and-error.
Use this skill when:
First, identify the core logic that likely contains the bug. This is the part that transforms inputs into decisions or outputs, not the part that touches the outside world.
Next, isolate side effects:
Then, extract the logic:
Now, debug and fix:
Finally, reintegrate minimally:
This skill prioritizes root cause clarity over speed, and determinism over cleverness.
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