microsoft/prompt-refactor
Compatibility alias for behavior-preserving prompt artifact cleanup. Routes refactoring to hve-builder refactor mode.
npx skills add https://github.com/microsoft/hve-core --skill prompt-refactor
Preserve legacy prompt-refactor activation while simplifying approved prompt-engineering artifacts through the hve-builder refactor route and its independent quality gates.
promptFiles to existing targets and resolve the behavior that must remain unchanged.hve-builder with mode=refactor, the approved write boundary, requirements, and any caller-owned evidence root.promptFiles: existing prompt-engineering artifacts to refactorrequirements: optional cleanup objectives, constraints, and preserved behaviorevidenceRoot: optional caller-owned HVE Builder evidence pathhve-builder.Use prompt-analyze for read-only follow-up review and prompt-builder when the requested work intentionally changes behavior or creates artifacts.
Return targets, changed files, refactor rationale, static verdict, behavior-test fidelity and verdict, validation result, overall outcome, evidence links, and next action.
Take microsoft/prompt-refactor from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.