behavior-preservation-checker

Community

Ensure code migrations preserve behavior.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically detects and reports behavioral differences between two versions of a codebase, ensuring that code migrations, refactorings, or updates do not introduce regressions or alter intended functionality.

Core Features & Use Cases

  • Automated Comparison: Compares test results, execution traces, and observable outputs between original and migrated codebases.
  • Regression Detection: Identifies tests that fail in the new version but passed in the old, or vice-versa.
  • Actionable Guidance: Provides specific recommendations for fixing detected behavioral deviations.
  • Use Case: After migrating a critical service from Python 2 to Python 3, use this Skill to confirm that all existing tests still pass and that the application's runtime behavior remains identical, preventing unexpected production issues.

Quick Start

Use the behavior-preservation-checker skill to compare the code in '/path/to/original/repo' with the code in '/path/to/migrated/repo' and save the report to 'comparison_report.json'.

Dependency Matrix

Required Modules

pytest

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: behavior-preservation-checker
Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#behavior-preservation-checker

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.