SkillAgentSearch skills...

safe-refactor

Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

Install / Use

npx skills add JuliusBrussee/caveman --skill safe-refactor

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

68/100

Supported Platforms

Universal

Our assessment of safe-refactor

safe-refactor scores 68/100 on our quality scale, 706th of 1,453 Development & Engineering skills we index (top 49%).

Its SKILL.md is 705 bytes long, lightly structured (1 heading) and no code examples: fairly brief, so expect to fill in details yourself.

With 107,653 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
14/30
Structure
5/20
Description
15/15
Adoption
20/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated today, so safe-refactor is actively maintained.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

safe-refactor compared with similar skills

All 4 of these similar skills score higher than safe-refactor; compare them before choosing.

SkillScoreStarsUpdatedFormat
safe-refactor (this skill)by JuliusBrussee68107.7ktodaySKILL.md
ai-job-searchby MadsLorentzen10043.9k3d agoCLAUDE.md
claude-howtoby luongnv8910041.7k5d agoCLAUDE.md
algorithmic-artby anthropics100177.9k2d agoSKILL.md
pptxby anthropics100177.9k2d agoSKILL.md

Frequently asked questions

How do I install safe-refactor?
Run npx skills add JuliusBrussee/caveman --skill safe-refactor. The install tabs above show the steps for each supported agent.
Which AI agents does safe-refactor work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is safe-refactor safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is safe-refactor still maintained?
The repository was last updated today, so safe-refactor is actively maintained.

name: safe-refactor description: Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

Safe refactor

Define behavior-preservation boundary and establish verification before structural edits.

  • Keep feature changes outside refactor.
  • Move one ownership boundary at a time.
  • Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped.
  • Keep intermediate states buildable and testable.
  • Avoid dependency or configuration growth without correctness need.

Run same proof after change. Stop when behavior matches and requested structure is achieved.

Related Skills

View on GitHub
GitHub Stars107.7k
CategoryDevelopment
Updated17h ago
Forks6.2k

Languages

Go

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium