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.

30-03-test-driven-refactoring - Drive structural refactoring using compile-failing tests.

Write tests asserting target paths, function signatures, and ownership boundaries before refactoring until all structural tests pass.

Tags

Updated: 2026-09-20

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Assert target module paths
  • Pin function type signatures
  • Verify old code path removal
  • Enforce ownership boundary rules
  • Validate public API contract tests

Inputs

  • Refactoring structural specification
  • Target codebase source files

Outputs

  • Structural architecture test suite
  • Refactored codebase structure
  • Test run execution results

Requirements

  • Cargo test runner or Jest
  • Rust compiler or TypeScript compiler

Source

  • Spec: SKILL.md
refactoring
testing
architecture
rust
typescript
Assert target module paths
Pin function type signatures
Verify old code path removal
Enforce ownership boundary rules
Refactoring structural specification
Target codebase source files
Structural architecture test suite
Refactored codebase structure
Test run execution results