legacy-behavior-analyzer

Community

Uncover legacy system logic, simplify migration.

AuthorMichael0520
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrating from legacy systems requires a deep understanding of existing business rules, API contracts, and hardcoded logic, which is often poorly documented or scattered across old codebases. This Skill automates the extraction and documentation of this critical information.

Core Features & Use Cases

  • Automated Code Scan: Locates and analyzes relevant legacy files (components, services, modules, templates) to build a comprehensive understanding.
  • Business Rule Extraction: Identifies form validation, permission checks, business calculations, and state transitions, documenting their exact behavior.
  • API Contract Documentation: Inventories API calls, detailing request/response formats and error handling, crucial for new integrations.
  • Hardcoded Value Identification: Flags magic numbers, hardcoded strings, and repeated logic for extraction into configuration, improving maintainability.
  • Use Case: When migrating an Angular 16 page, this Skill is automatically activated to analyze the old code. It generates a comprehensive report detailing all business rules, API endpoints, state management, and values that need to be extracted to config, providing a clear roadmap for the new implementation.

Quick Start

Say "analyze legacy code for login page" to get a detailed report on its existing logic.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: legacy-behavior-analyzer
Download link: https://github.com/Michael0520/milo-claude/archive/main.zip#legacy-behavior-analyzer

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