legacy-current-state-discovery

Extract current-state functional discovery packages from RAG evidence and spreadsheets.

Updated May 12, 2026
One-click install
npx skills add https://github.com/wwa-lab/legacy-spec-factory --skill legacy-current-state-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legacy-current-state-discovery
Source: https://github.com/wwa-lab/legacy-spec-factory/tree/main/.opencode/skills/legacy-current-state-discovery
Command: npx skills add https://github.com/wwa-lab/legacy-spec-factory --skill legacy-current-state-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps teams convert legacy system behavior into structured modernization evidence, enabling a smooth transition to modern systems.

Core Features & Use Cases

  • Current-State Discovery: Extracts functional discovery packages from RAG/document evidence, SME notes, spreadsheets, and project folders.
  • Structured Reporting: Generates business-facing functional discovery reports and structured catalogs for functions, validation, calculation, interfaces, channels/reports, and accounting impact.
  • Integration: Routes raw documents to legacy-document-evidence-intake, RAG packaging to legacy-module-context-intake, and detailed code analysis to legacy-ibmi-program-analyzer or legacy-ibmi-flow-analyzer.
  • Use Case: If you need to understand how a legacy RPG program interacts with other systems and extract its business behavior, use this Skill to automatically analyze the program and provide a detailed report.

Quick Start

Use the legacy-current-state-discovery skill to generate a current-state discovery package for a specific module, such as 'module1'.

Frequently Asked Questions about legacy-current-state-discovery

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

FAQPage Schema
How do I extract business behavior from legacy systems for modernization?

To extract business behavior, use current-state discovery to analyze legacy RPG programs and generate structured reports. It processes RAG evidence, SME notes, and spreadsheets to catalog functions, validation, calculations, interfaces, and accounting impact.

What is current-state functional discovery for legacy code analysis?

Current-state functional discovery extracts business behavior from legacy systems to generate structured modernization evidence. It catalogs functions, validation, calculation, interfaces, channels/reports, and accounting impact from RAG documents, SME notes, and project folders.

Can I analyze legacy RPG programs and their interfaces using Python?

Yes, you can analyze legacy RPG programs using Python-based scripts. This skill requires Python for scripting and analysis to extract current-state functional discovery packages and generate detailed reports on program interactions and business behavior.

How do I generate a functional discovery report for a specific legacy module?

To generate a functional discovery report, run the current-state discovery skill for a specific module, such as 'module1'. It produces business-facing functional reports and structured catalogs for functions, validation, calculation, interfaces, and accounting impact.

What is the best way to structure legacy system modernization evidence from raw documents?

The best way to structure modernization evidence is to route raw documents to legacy-document-evidence-intake and RAG packaging to legacy-module-context-intake. This skill then generates structured functional catalogs for functions, validation, and accounting impact.

When should I route detailed code analysis to specialized IBM i analyzers?

Route detailed code analysis to legacy-ibmi-program-analyzer or legacy-ibmi-flow-analyzer when you need deeper code-level analysis beyond current-state functional discovery. This skill focuses on high-level functional extraction and structured catalog generation.