New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Behavior-preserving refactoring workflow that proves equivalence with tests or output baselines before changing code.

skills.sh installs
1.2K
GitHub stars
1.1K
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers the refactor flow: confirm behavior stays fixed, establish a verifying baseline, change in small steps, then run regression checks
  • Includes a learning loop that reads prior lessons, reports reuse, and surfaces candidates only on strong signals
  • Enforces a hard stop when no equivalence check exists, and sends behavior-changing requests to cs-feat or cs-issue
  • Designed for Chinese-language .codestable projects that need risk-proportionate safeguards and optional independent review

Install

$ npx -y skills add liuzhengdongfortest/codestable --skill cs-refactor-ff -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Behavior-preserving refactoring workflow that proves equivalence with tests or output baselines before changing code. Covers the refactor flow: confirm behavior stays fixed, establish a verifying baseline, change in small steps, then run regression checks. Includes a learning loop that reads prior lessons, reports reuse, and surfaces candidates only on strong signals. Enforces a hard stop when no equivalence check exists, and sends behavior-changing requests to cs-feat or cs-issue. Designed for Chinese-language .codestable projects that need risk-proportionate safeguards and optional independent review.

Browse the repository on GitHub

Details

Repository
github.com/liuzhengdongfortest/codestable
Categories
Code Review & Quality, Testing & QA, Agent Workflow & Planning
First seen
May 16, 2026

More from liuzhengdongfortest/codestable

All 8

Similar to Cs Refactor Ff

More Code Review & Quality