Skip to content

JPeetz/agent-skills / skills/development/safe-refactor

safe-refactor

Verified

Use this skill when refactoring code — change structure without changing behavior, in small verified steps with tests green before and after each step.

FileKindSize
CHANGELOG.mdmarkdown389 B
LICENSEother1.0 KB
SKILL.mdskill md5.6 KB
evals/evals.jsonconfig4.5 KB

CHANGELOG.md

View on GitHub
# Changelog

## [1.0.0] — 2026-09-14

### Added
- Initial release of the safe-refactor skill.
- Structured SKILL.md with YAML frontmatter, Overview, When to Use, Ground Rules (5 rules), Definition of Done (table), The Refactor Workflow (step-by-step), Common Pitfalls (table), and Cross-References.
- MIT License (2026 JPeetz).
- Evaluation suite with 5 test cases in `evals/evals.json`.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall