avoid-repeated-params
Installation
SKILL.md
Avoid Repeated Parameters of the Same Type
Overview
Multiple parameters of the same type invite mix-ups.
When a function takes (string, string, string), it's easy to pass arguments in the wrong order. Use named parameters (objects) to make calls self-documenting.
When to Use This Skill
- Functions with 2+ parameters of the same type
- Parameters that are easy to confuse
- APIs that users will call frequently
- Refactoring confusing function signatures