chore: add agent skills

This commit is contained in:
zhuyongxin
2026-07-06 10:18:10 +08:00
parent 246c99b954
commit 37083fc92a
20 changed files with 1959 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# Refactor Candidates
After TDD cycle, look for:
- **Duplication** → Extract function/class
- **Long methods** → Break into private helpers (keep tests on public interface)
- **Shallow modules** → Combine or deepen
- **Feature envy** → Move logic to where data lives
- **Primitive obsession** → Introduce value objects
- **Existing code** the new code reveals as problematic