@firstpick/pi-skill-refactoring-advisor

Agents should invoke this skill for refactors, code smells, migrations, duplication removal, module splitting, API cleanup, or restructuring plans. Emphasizes small safe steps, behavior preservation, and verification after each change.

Packages

Package details

skill

Install @firstpick/pi-skill-refactoring-advisor from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@firstpick/pi-skill-refactoring-advisor
Package
@firstpick/pi-skill-refactoring-advisor
Version
0.1.1
Published
May 18, 2026
Downloads
not available
Author
firstpick
License
MIT
Types
skill
Size
9.6 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "skills": [
    "./skills"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@firstpick/pi-skill-refactoring-advisor

A Pi skill for refactors, code smells, migrations, duplication removal, module splitting, API cleanup, or restructuring plans. Emphasizes small safe steps, behavior preservation, and verification after each change.

What it does

  • Adds the refactoring-advisor skill to Pi's skill library.
  • Guides agents to invoke the skill for refactors, code smells, migrations, duplication removal, module splitting, API cleanup, or restructuring plans. Emphasizes small safe steps, behavior preservation, and verification after each change.
  • Bundles skills/refactoring-advisor/SKILL.md plus any supporting references, scripts, tests, fixtures, or assets used by the skill.

Install

pi install npm:@firstpick/pi-skill-refactoring-advisor

Configuration

No required configuration.

Commands

None.

Tools

None.

Example view

User: Review this change for the concerns covered by `refactoring-advisor`.
Agent: Invokes the `refactoring-advisor` skill, follows its workflow, and reports the result.