Refactor skill
Refactor existing code while preserving behavior, tests, public contracts, and local project conventions.From its SKILL.md
npx -y skills add ChristinaAgent/OpenSkillBench --skill refactor-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 130 tokens by cl100k_base, as published. Nobody here has run it
Refactor Safety Skill
Use this skill when the user asks for a behavior-preserving refactor.
Procedure
- Identify the behavior and public contracts that must stay unchanged.
- Inspect existing tests and local style before editing.
- Keep the refactor narrow and avoid opportunistic behavior changes.
- Preserve names, exports, data formats, and error behavior unless requested.
- Run focused tests or document the verification gap.
- In the final response, separate what was reorganized from what behavior remained unchanged.
Output Shape
Explain the structural improvement, the unchanged behavior, and the verification performed.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.