Use when performing significant refactoring — guides a disciplined process that leverages duplication detection, characterization tests, staged execution, and continuous simplicity review
Understand → Protect → Change → Verify → Simplify.
Announce: "I'm using the refactor-safely skill to guide this refactoring."
tldr-swinton:finding-duplicate-functions to detect semantic duplication in the affected areafd-architecture to understand existing patterns and house styletest-driven-development skill to ensure tests exist for the target behaviorIf tests are missing: write them first. Don't refactor untested code.
Use writing-plans to create a staged plan:
For each batch:
fd-quality — is the result actually simpler?After each batch verify: tests pass, code is objectively simpler (fewer lines, clearer intent, less coupling), no unintended behavior changes.
fd-quality on the complete changelanding-a-change to ship| Agent | When |
|-------|------|
| tldr-swinton:finding-duplicate-functions | Step 1 — duplication targets |
| fd-architecture | Step 1 — house patterns, module boundaries |
| fd-quality | Steps 4 & 5 — simplicity and idiom compliance |
Never:
Always:
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