🧪
QualityPython

Behavior Preservation Checker

by ArabelaTso

Behavior Preservation Checker is a Quality skill for Claude Code, published by ArabelaTso in Skills-4-SE.

247 stars23 forkson ArabelaTso/Skills-4-SEAdded 2026/09/02+4% in starsRepository updated 2026/08/21
claudeclaude-codeclaude-skillsmetaprogrammingsoftware-developmentsoftware-engineering
Install in seconds
Install Behavior Preservation Checker
Copy Behavior Preservation Checker into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/behavior-preservation-checker ~/.claude/skills/behavior-preservation-checker

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/ArabelaTso/Skills-4-SE.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/behavior-preservation-checker/SKILL.md in ArabelaTso/Skills-4-SE
Installs to
~/.claude/skills/behavior-preservation-checker
Collection
One of 25 skills cataloged from this repository
Category
Quality1418 skills

What Behavior Preservation Checker does

Behavior Preservation Checker compares runtime behavior between original and migrated repositories to find regressions, semantic changes, and contract violations. Use it when validating migrations, refactors, language ports, or framework upgrades that should preserve behavior.

Behavior Preservation Checker is cataloged under Quality on DirSkills. Behavior Preservation Checker comes from a repository tagged claude, claude-code, claude-skills, metaprogramming and software-development.

Documentation

README

Behavior Preservation Checker

Overview

Validate that a migrated or refactored codebase preserves the original behavior by automatically comparing runtime behavior, test results, execution traces, and observable outputs between two repository versions.

Core Workflow

1. Setup Repositories

Prepare both repositories for comparison:

# Clone or locate repositories
ORIGINAL_REPO=/path/to/original
MIGRATED_REPO=/path/to/migrated

# Ensure both are at comparable states
cd $ORIGINAL_REPO && git checkout main
cd $MIGRATED_REPO && git checkout main

2. Run Behavior Comparison

Use the comparison script to analyze behavioral differences:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Behavior Preservation Checker

  • What else does ArabelaTso publish alongside Behavior Preservation Checker?

    Behavior Preservation Checker is one of 25 skills that DirSkills catalogs from ArabelaTso/Skills-4-SE, the repository it ships in. Its siblings there include ACSL Annotation Assistant, API Design Assistant and API Documentation Generator. Each one is a separate skill with its own page in this directory, installs the same way Behavior Preservation Checker does, and is maintained by ArabelaTso in that same repository. The rest of the collection is listed on the ArabelaTso/Skills-4-SE page.

  • How does Behavior Preservation Checker compare to other Quality skills?

    Behavior Preservation Checker ranks #1306 by stars among the 1418 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Behavior Preservation Checker against them. Open each page to compare what they document and how they install.

More from ArabelaTso/Skills-4-SE

Behavior Preservation Checker is one of 25 skills cataloged on DirSkills from ArabelaTso/Skills-4-SE.

See all 25 skills
🧾
1h ago

ACSL Annotation Assistant

ACSL Annotation Assistant creates ACSL contracts, loop invariants, assertions, and memory-safety specifications for C/C++ programs. Use it when preparing code for Frama-C or other formal verification workflows.
Quality
24723
🧩
1h ago

API Design Assistant

API Design Assistant helps design and review REST APIs by suggesting endpoints, parameters, schemas, authentication, pagination, and versioning. It is used for API planning, documentation, OpenAPI specs, and implementation guidance.
AI Engineering
24723
📘
1h ago

API Documentation Generator

API Documentation Generator analyzes repository sources like OpenAPI specs, code comments, and existing docs to produce endpoint references, schemas, auth details, and examples. Use it when documenting an API or creating reference docs from a codebase.
Writing
24723
🔍
1h ago

Abstract Domain Explorer

Abstract Domain Explorer applies abstract interpretation to statically analyze programs and infer invariants, value ranges, and variable relationships. Use it to study loops, check safety properties, and detect issues like division by zero without running code.
Quality
24723
🧠
1h ago

Abstract Invariant Generator

Abstract Invariant Generator infers loop invariants, preconditions, and postconditions from code using abstract interpretation. Use it when adding formal specifications or verification conditions in Dafny, Isabelle, Coq, ACSL, and similar systems.
AI Engineering
24723
🔎
1h ago

Abstract State Analyzer

Abstract State Analyzer performs static abstract interpretation to infer possible program states, value ranges, and data properties without running code. Use it to find likely runtime errors such as out-of-bounds access, null dereferences, division by zero, type inconsistencies, and integer overflow.
Quality
24723