LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

refactor-guardian - Guard refactors by validating behavior and API stability

Guards refactors by enforcing no-behavior-change contracts, validating API stability, and verifying deterministic behavior via terminal-collected artifacts.

Tags

Updated: 2026-09-19

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Validate refactor intent and scope
  • Enforce refactor safety rules
  • Collect baseline and candidate artifacts
  • Compare pre and post change behavior
  • Block unsafe structural changes early
  • Author refactor verification scripts

Inputs

  • Source code
  • Refactor intent declaration
  • Baseline artifacts
  • Candidate artifacts

Outputs

  • Refactor Guardian JSON report
  • Verification scripts

Requirements

  • Terminal access

Source

  • Spec: SKILL.md
refactoring
code-safety
api-stability
determinism
verification
Validate refactor intent and scope
Enforce refactor safety rules
Collect baseline and candidate artifacts
Compare pre and post change behavior
Source code
Refactor intent declaration
Baseline artifacts
Refactor Guardian JSON report
Verification scripts