keeping-refactors-pure

Classify commits to separate refactor and behavioral changes in codebases.

3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/cwijayasundara/claude_harness_eng_v5 --skill keeping-refactors-pure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: keeping-refactors-pure
Source: https://github.com/cwijayasundara/claude_harness_eng_v5/tree/main/.claude/skills/keeping-refactors-pure
Command: npx skills add https://github.com/cwijayasundara/claude_harness_eng_v5 --skill keeping-refactors-pure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that refactor commits do not introduce new bugs or affect existing behavior, thereby maintaining codebase integrity and traceability.

Core Features & Use Cases

  • Commit Classification: Automatically identifies and separates refactor and behavioral commits.
  • Refactoring Purity: Ensures refactor commits do not alter behavior, and behavioral commits do not contain refactor changes.
  • Regression Prevention: Minimizes the risk of introducing regressions by keeping commits focused on specific changes.

Quick Start

Run the skill to automatically classify commits in your codebase and maintain refactor purity.

Frequently Asked Questions about keeping-refactors-pure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep refactor commits from introducing regressions in my codebase?

Automating commit classification separates refactor changes from behavioral changes, preventing mixed commits that introduce regressions. This approach maintains codebase integrity and traceability by ensuring refactor commits remain behavior-free.

What is commit purity in refactoring and why does it matter?

Commit purity ensures refactor commits do not alter behavior and behavioral commits exclude refactor changes. This separation minimizes regression risks by keeping commits focused on specific changes.

Can I enforce commit classification within my existing CI/CD pipelines?

Yes, commit classification operates within existing CI/CD pipelines using pre-commit hooks. It requires no additional configuration for basic functionality to automatically classify commits and maintain refactor purity.

What's the best way to separate refactoring from behavioral changes automatically?

Running an automated commit classification process in your codebase separates refactoring from behavioral changes. This automatically identifies and splits refactor and behavioral commits to maintain refactor purity.

Do I need additional configuration to start preventing mixed commits?

No additional configuration is needed for basic functionality to prevent mixed commits. Automated commit classification operates within existing CI/CD pipelines using pre-commit hooks immediately.