Real Skill packageSource verifiedClawHub registry

safe-refactor

Execute a behavior-preserving refactor with a proof of preservation — establishes a safety net first (existing tests or new characterization tests over every touched path), locks a baseline green run, then moves in small always-green steps where each step is one mechanical transformation, and treats any needed assertion change as a smuggled behavior change to surface, not fix. Use this skill whenever the user says "refactor this", "clean this up without changing behavior", "extract this into", "restructure this mo…

Identity and source

Publisher attributionDennis Rongoregistry owner unverified by skillvetai
Functional categoryAgent Engineering, Security & Governanceautomatically inferred · 55% rule confidence
Package forminstruction bundle2 recorded files
Canonical sourceClawHub registryclawhub:dennisrongo:safe-refactor
Open canonical source ↗

Platform declarations

These states come from the source or distribution context. None of the entries below are SkillVetAI compatibility test results.

OpenClawnative officialProvenance: registry distribution

Independent structural checks

These checks parse the fixed package against dated platform rules. They do not execute the Skill or verify task behavior.

Claude Codepasses structure
Checker 0.1.0 · agent-skills-2026-08-13+claude-code-docs-2026-08-13 · 8/16/2026.claude/skills/safe-refactor

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenAI Codexpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+codex-docs-2026-08-13 · 8/16/2026.agents/skills/safe-refactor

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenClawpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+openclaw-docs-2026-08-13 · 8/16/2026skills/safe-refactor

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

Installation and inspection

This command is recorded from the source ecosystem and resolves the registry's latest release. The fixed release shown on this page should be inspected before adoption.

clawhub install @dennisrongo/safe-refactor
clawhub inspect @dennisrongo/safe-refactor --version 1.0.0

Security evidence

SkillVetAI static result: no findings detected

This automated, non-executing scan is bound to this release hash. It is not a safety certification and may contain false positives or false negatives.

Status
completed
Coverage
full text content
Files
2 / 2 inspected as text
Checked
8/16/2026, 9:38:28 PM
Scanner
0.1.3
Policy
1.0.3
2 inferred permission indicators
  • network access — automatically inferred
  • filesystem write — automatically inferred
1 dependency and API indicators
  • api: clawhub.ai
External clawhub result: clean

This is registry-supplied evidence for the recorded release, not an independent SkillVetAI scan. Check the canonical source for the full report, scanner versions, scope, and current moderation state.

Evidence checked
8/16/2026, 8:57:54 PM
Release binding
Matches this record
  • vt: clean
  • skillspector: clean
  • llm: clean

Recorded files

The catalog stores hashes and an inventory summary for change detection. It does not republish the package contents.

Package content hashsha256:351cbf0ed73f8866f9b49385afe78cad05b016021ae378d2717aefc7da24be6e
Show up to 2 recorded paths
  • skill-card.md
  • SKILL.md

Source changelog

Initial release of safe-refactor skill. - Provides a detailed, contract-driven workflow for behavior-preserving refactors, emphasizing proof at every step. - Requires a thorough safety net of existing or new characterization tests before any restructuring. - Enforces stepwise, mechanical changes—each transformation is atomic and followed by build and test suite runs. - Surfaces any behavior change detected during refactoring instead of silently fixing or interleaving with refactor steps. - Mandates repo-wide grep verification for renames/moves, including dynamic and serialized usages. - Includes clear examples and anti-patterns to illustrate correct and incorrect usage.