refactoring-guide
Applies safe, incremental, behavior-preserving refactorings (extract function/variable, rename, inline, decompose conditionals, remove duplication, replace conditional with polymorphism, introduce parameter object) using a test-protected, small-step workflow. Use this skill when the user asks to "refactor", "clean up", "simplify", "extract a method/function", "rename", "remove duplication", "reduce nesting", "break...
- Publisher type
- Community
- Repository
- JayRHa/AgentSkills
- Skill
- refactoring-guide
- GitHub repository stars
- 5
npx skills add https://github.com/JayRHa/AgentSkills --skill refactoring-guideAgent skills can contain instructions that call tools or modify files. Review the source and permissions before installation.
What this resource does
refactoring-guide is a reusable AI-agent instruction package published by JayRHa. It gives a compatible agent a repeatable procedure for work in this area: Founder workflows.
Best for
- Founders and teams using an AI coding or work agent for tasks in this area: Founder workflows.
- Repeatable work that matches this capability: Applies safe, incremental, behavior-preserving refactorings (extract function/variable, rename, inline, decompose conditionals, remove duplication, replace conditional with polymorphism, introduce parameter object) using a test-protected, small-step workflow. Use this skill when the user asks to "refactor", "clean up", "simplify", "extract a method/function", "rename", "remove duplication", "reduce nesting", "break...
- Users who want a publisher-defined workflow they can inspect before running.
What to prepare
- A compatible AI agent that supports Agent Skills.
- Access to the project or files the task will use.
- Any provider accounts, command-line tools, or credentials requested by the skill.
- A safe branch or backup when the skill may modify files.
How to use it
- Open the original repository and review SKILL.md, referenced files, scripts, and requested permissions.
- Copy the install command and run it from the workspace where you want to use refactoring-guide.
- Reload or restart the agent if it does not discover the new skill immediately.
- Give the agent a concrete task in this area: Founder workflows. Explicitly name refactoring-guide when you want to require its use.
- Review the proposed actions and output before approving file changes, shell commands, credentials, or external writes.
Example request
Use the refactoring-guide skill for this task. First inspect the available context, explain the proposed approach, and wait for approval before any sensitive or destructive action.
Before you continue: Publisher category: Community. Publication in this catalog is not a security guarantee. Review the current repository before installation.
Source and review
Source check: 2026-09-05.
