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

The Iron Rule

Installs
13
GitHub Stars
2
First Seen
Feb 3, 2026
avoid-repeated-params — marius-townhouse/effective-typescript-skills