LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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
refactoringcode-safetyapi-stabilitydeterminismverification

Capabilities

Validate refactor intent and scopeEnforce refactor safety rulesCollect baseline and candidate artifactsCompare pre and post change behavior

Typical Inputs

Source codeRefactor intent declarationBaseline artifacts

Typical Outputs

Refactor Guardian JSON reportVerification scripts

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

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.