Bug triage, root cause analysis, and systematic repair. Activates on '/flyswatter', 'debug', 'fix', 'bug', 'not working', or 'troubleshoot'. Handles all 3 stages: Intake/Diagnosis, Solution Design, Implementation/Closeout.
Activate when:
/flyswatterDo NOT activate when:
/build/refactorer/interviewThese are separate things with the same ancestry:
| | Flyswatter (this skill) | Debugger (agent profile) |
|---|---|---|
| What | Interactive skill | Agent profile at .claude/agents/debugger.md |
| Invoked by | User via /flyswatter | Orchestrating skills (cowboy, etc.) |
| Scope | All 3 stages: diagnose + design fix + apply fix | Diagnosis only — returns recommendations |
| Applies fixes? | Yes | No — hands off to spock or another agent |
| Runs in | Forked context (isolated from main session) | Subagent context (spawned by orchestrator) |
Flyswatter is the full-service bug tool for the user. The debugger agent profile is a diagnostic component for orchestrators.
Common bug patterns: See resources/bug-patterns.md
Error correlation: See resources/error-sources.md
Verification strategies: See resources/verification.md
BugTracker.md format: See resources/bugtracker-format.md
[ProjectName]/BugTracker.md (project root, next to SPEC.md)These are DIFFERENT files serving different purposes.
Goal: Understand what broke, where, and why
Actions:
Output: Written diagnosis in BugTracker.md
STOP POINT: Do NOT write code yet. Do NOT propose fixes yet. Just diagnose.
See resources/error-sources.md for correlation techniques.
Goal: Propose fix approach and get user approval
For EASY bugs: State the straightforward fix and pause for confirmation.
For MEDIUM bugs: Explain the calculation/logic and pause for confirmation.
For HARD bugs: Present options with trade-offs, recommend approach, pause for decision.
STOP POINT: Wait for user approval. Update BugTracker.md status to "APPROVED" when user confirms.
See resources/bug-patterns.md for standard fixes.
Goal: Apply fix, verify, document
Actions:
For complex multi-file fixes (>3 files):
PLAN_[Feature]_[YYYY-MM-DD].md before implementingSee resources/bugtracker-format.md for complete format.
When multiple bugs exist, prioritize using this matrix:
Priority 1 (CRITICAL): System broken, no data processing Priority 2 (HIGH): Data quality issues, user-facing problems Priority 3 (MEDIUM): Performance, non-blocking operational issues Priority 4 (LOW): Cosmetic, formatting, nice-to-have
resources/verification.md. Never assume the fix worked.Diagnose first, fix second. Document forever. Flyswatter handles all 3 stages — diagnosis through fix. The debugger agent profile is a separate tool for orchestrators. Don't confuse them. Always pause between stages. Never jump from diagnosis to code.
Resources:
npx skills add socalfinanceinsights/flyswatter下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
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