Code quality improvement: review, refactoring, debugging. Phases: review feedback, systematic refactoring, root cause debugging, verification. Capabilities: SOLID/DRY compliance, code smell detection, complexity reduction, bug investigation, verification gates. Actions: review, refactor, debug, verify, validate code. Keywords: code review, refactor, debug, SOLID, DRY, code smell, bug fix, root cause, verification, technical debt, extract method, test failure, completion claim. Use when: reviewing code changes, improving code quality, fixing bugs, reducing technical debt, validating before merge/commit.
Systematic code improvement through review, refactoring, and debugging with verification gates.
| Need | Module | Reference |
|------|--------|-----------|
| Receive Feedback | Review | references/code-review-reception.md |
| Request Review | Review | references/requesting-code-review.md |
| Verify Before Claim | Review | references/verification-before-completion.md |
| Reduce Complexity | Refactoring | references/oop-refactoring-catalog.md |
| Functional Patterns | Refactoring | references/functional-refactoring-patterns.md |
| Find Code Smells | Refactoring | references/code-smells-reference.md |
| Test Strategies | Refactoring | references/testing-strategies.md |
| Investigate Bugs | Debugging | references/systematic-debugging.md |
| Trace Root Cause | Debugging | references/root-cause-tracing.md |
| Add Validation | Debugging | references/defense-in-depth.md |
| Verify Fix | Debugging | references/verification.md |
YAGNI, KISS, DRY - Always honor these.
Be honest, be brutal, straight to the point, and be concise.
Technical correctness over social comfort. Verify before implementing. Ask before assuming. Evidence before claims.
Pattern: READ → UNDERSTAND → VERIFY → EVALUATE → RESPOND → IMPLEMENT
Rules:
Sources:
When: After major features, before merge, after complex fixes
Process:
BASE_SHA=$(git rev-parse HEAD~1), HEAD_SHA=$(git rev-parse HEAD)Iron Law: NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
Gate: IDENTIFY → RUN → READ → VERIFY → THEN claim
Skip any step = lying, not verifying.
Simplify relentlessly. Preserve behavior religiously. Measure everything.
Every refactoring: small and safe, tested immediately, measurably better.
OOP: Extract Method, Inline, Replace Temp with Query, Guard Clauses Functional: Map/Filter/Reduce, Pure Functions, Composition, Immutability
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
Random fixes waste time and create new bugs.
1. Systematic Debugging (references/systematic-debugging.md)
2. Root Cause Tracing (references/root-cause-tracing.md)
Trace backward through call stack to find original trigger.
3. Defense-in-Depth (references/defense-in-depth.md)
Validate at every layer: Entry → Business logic → Environment → Debug
4. Verification (references/verification.md)
Run command. Read output. Then claim result.
Bug → systematic-debugging.md (Phase 1-4)
Error deep in stack? → root-cause-tracing.md
Found root cause? → defense-in-depth.md
About to claim success? → verification.md
Stop if thinking:
references/code-review-reception.md - Response protocolsreferences/requesting-code-review.md - Request processreferences/verification-before-completion.md - Verification gatesreferences/oop-refactoring-catalog.md - Martin Fowler's patternsreferences/functional-refactoring-patterns.md - FP transformationsreferences/code-smells-reference.md - 23 smells, 5 categoriesreferences/testing-strategies.md - Characterization tests, TDDreferences/systematic-debugging.md - Four-phase frameworkreferences/root-cause-tracing.md - Call stack analysisreferences/defense-in-depth.md - Multi-layer validationreferences/verification.md - Verification protocolsVerify. Question. Then implement. Evidence. Then claim.
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