legacy-behavior-snapshot

Record legacy system behavior and generate baseline tests for migration parity.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/hohai99/antigravity-skills --skill legacy-behavior-snapshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legacy-behavior-snapshot
Source: https://github.com/hohai99/antigravity-skills/tree/main/global_skills/legacy-behavior-snapshot
Command: npx skills add https://github.com/hohai99/antigravity-skills --skill legacy-behavior-snapshot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures a complete record of existing system behavior before migration to ensure parity. Use at the start of any migration project.

Core Features & Use Cases

  • Snapshot Steps: Identify behavior scope, capture evidence, create baseline tests, and document unknowns.
  • Use Case: Migration parity validation and reusable catalogs for regression checks.

Quick Start

Run this skill at project kickoff to generate the Behavior Catalog and baseline tests for the upcoming migration.

Frequently Asked Questions about legacy-behavior-snapshot

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

FAQPage Schema
How do I capture legacy system behavior before migration?

To capture legacy system behavior before migration, you identify the behavior scope, collect evidence of APIs and user flows, and generate a baseline test catalog. This snapshot serves as the single source of truth for parity validation.

What is a behavior catalog and when do I need it for migration parity?

A behavior catalog is a recorded baseline of existing system APIs, user flows, edge cases, and side effects. You need it at project initiation or during major refactors to validate migration parity and run regression checks.

How do I create a baseline test suite for regression and parity checks?

You create a baseline test suite by snapshotting legacy behavior scope, capturing evidence, and documenting unknowns. This produces reusable baseline tests for regression validation and ensuring migration parity.

Can I use this snapshot approach for major refactoring projects?

Yes, you can use this snapshot approach for major refactoring projects. It records legacy behavior and side effects to ensure parity, providing a reusable baseline test catalog for validating system changes.

What steps are involved in creating a legacy behavior snapshot?

Creating a legacy behavior snapshot involves identifying the behavior scope, capturing evidence of existing APIs and flows, creating baseline tests, and documenting unknowns to ensure complete migration parity validation.

Does this behavior snapshot capture edge cases and side effects?

Yes, the behavior snapshot captures edge cases and side effects. It records a complete range of existing system behavior to serve as the single source of truth for accurate regression and parity validation.