LogoClawIndex
CasesSkillsAbout
LogoClawIndex

tdd-refactor-guard - Refactor Safety Guard with Test Verification

Verifies test coverage exists before AI refactors code to prevent regressions

Tags

Updated: 2026-03-24

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Identify refactoring scope
  • Check test coverage
  • Evaluate test quality
  • Generate characterization tests
  • Assess refactor risk
  • Verify refactoring results

Inputs

  • Code files to refactor
  • Existing test files
  • Test targets
  • Build scheme

Outputs

  • Refactor guard report
  • Test coverage assessment
  • Refactor decision
  • Generated characterization tests
  • Verification results

Requirements

  • XCTest environment
  • xcodebuild tool
  • File system 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.
refactoring
testing
TDD
code-safety
test-coverage
Identify refactoring scope
Check test coverage
Evaluate test quality
Generate characterization tests
Code files to refactor
Existing test files
Test targets
Refactor guard report
Test coverage assessment
Refactor decision