refactor-simplifying-method-calls

Installation
SKILL.md

Refactor: Simplifying Method Calls

Overview

These 14 techniques improve method interfaces -- making them easier to understand, call correctly, and maintain. Clean method signatures are your code's API contract; unclear signatures lead to misuse and tight coupling.

When to Use

  • Method name doesn't describe what it does
  • 4+ parameters
  • Boolean flag parameters switch behavior
  • Caller extracts data just to pass as parameters
  • Method does both query and command (side effects + return value)

Quick Reference

Installs
8
GitHub Stars
4
First Seen
Apr 8, 2026
refactor-simplifying-method-calls — mickeyyaya/refactoring-skills