reek
Installation
SKILL.md
Reek Skill
Overview
Treat Reek warnings as design feedback, not formatting noise. A smell usually points to an object boundary, responsibility, or API problem. Prefer fixing the underlying design issue over suppressing the detector.
Workflow
- Read the smell name and the flagged method or class.
- Identify the design pressure:
- too many responsibilities
- caller-controlled branching
- missing abstraction
- behavior living on the wrong object
- hidden state or implicit setup
- Fix the smallest real design problem.
- Re-run Reek on the changed files using
reek .(always pass the explicit directory argument — barereekdefaults to scanning.only when stdin is a TTY, which is not the case in agent runners or CI). - If the warning appears to conflict with an intentional framework pattern, stop and check project-local guidance before changing code or suppressing the smell.