Description
Modern LLMs have strong priors for well-known software patterns and anti-patterns. We can leverage this by explicitly injecting Martin Fowler's refactoring smells into our review/audit skills.
Proposed Changes
Update the instructions for request-review and audit-code to look for and name-drop specific smells:
- Mysterious Name
- Duplicated Code
- Feature Envy
- Data Clumps
- Primitive Obsession
- Message Chains
- Middle Man
Description
Modern LLMs have strong priors for well-known software patterns and anti-patterns. We can leverage this by explicitly injecting Martin Fowler's refactoring smells into our review/audit skills.
Proposed Changes
Update the instructions for
request-reviewandaudit-codeto look for and name-drop specific smells: