rails-antipattern-god-helper-module
Installation
SKILL.md
Antipattern: God Helper Module
The smell
ApplicationHelperwith dozens of unrelated methods- Helpers that perform queries (
fetch_recent_posts,current_admin_count) - Business calculations in helpers (
calculate_tax(order)) - Predicates about the current user as global helpers
- Method names colliding or shadowing model methods
Why it hurts
- Pollutes the global view namespace
- Mixes formatting (legitimate helper work) with queries and domain logic
- Hard to tell which view uses which helper — refactoring is risky
- New devs add to it because there's no obvious better home