๐ŸŽฏ

java-refactoring-remove-parameter

๐ŸŽฏSkill

from github/awesome-copilot

VibeIndex|
What it does
|

Guides Java method refactoring using the Remove Parameter pattern, with before/after examples showing how to simplify method signatures by eliminating unused or derivable parameters.

Overview

Java Refactoring Remove Parameter is a skill that guides the application of the Remove Parameter refactoring pattern in Java code. It provides concrete before/after examples demonstrating how to identify and safely eliminate unused or derivable parameters from method signatures, simplifying APIs and reducing unnecessary coupling between components.

Key Features

  • Pattern-Based Guidance - Provides real-world before/after code examples of the Remove Parameter refactoring pattern applied to production Java code
  • Safe Parameter Elimination - Identifies parameters that are unused within the method body or can be derived from other available context, such as values obtainable from existing parameters
  • Cascading Update Awareness - Demonstrates how removing a parameter from a method signature requires updating all callers and dependent method chains
  • Method Signature Simplification - Focuses on reducing method complexity by eliminating boolean flags, unused primitives, and redundant parameters that add no value

Who is this for?

This skill is for Java developers performing code refactoring who want to apply the Remove Parameter pattern correctly and safely. It is particularly useful during code review and cleanup phases where simplifying method signatures improves readability, reduces the surface area for bugs, and makes APIs easier to understand and maintain.

๐Ÿ“ฆ

Same repository

github/awesome-copilot(224 items)

java-refactoring-remove-parameter

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add github/awesome-copilot --skill java-refactoring-remove-parameter
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add github/awesome-copilot --skill java-refactoring-remove-parameter
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/java-refactoring-remove-parameter/SKILL.md

SKILL.md

6,877Installs
-
AddedFeb 25, 2026

More from this repository10

๐ŸŽฏ
git-commit๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
gh-cli๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
prd๐ŸŽฏSkill

Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications

๐ŸŽฏ
refactor๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
excalidraw-diagram-generator๐ŸŽฏSkill

Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.

๐ŸŽฏ
documentation-writer๐ŸŽฏSkill

Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.

๐ŸŽฏ
chrome-devtools๐ŸŽฏSkill

Automates browser interactions, debugging, and performance analysis using Chrome DevTools for comprehensive web page inspection and control.

๐ŸŽฏ
java-springboot๐ŸŽฏSkill

Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.

๐ŸŽฏ
web-design-reviewer๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
github-issues๐ŸŽฏSkill

Manages GitHub Issues through the GitHub API, enabling creation, searching, labeling, and triaging of issues directly from the coding environment.