cobol-modernization
Installation
SKILL.md
COBOL Modernization
Overview
This skill provides a systematic approach for converting COBOL programs to modern languages while ensuring exact behavioral equivalence. The key challenge in COBOL modernization is not just translating logic, but preserving precise data formats, fixed-width record structures, and byte-level output compatibility.
Workflow
Phase 1: Analysis and Documentation
Before writing any code, thoroughly analyze the COBOL source and data files:
- Read the complete COBOL source code - Understand the program structure including:
- WORKING-STORAGE SECTION for variable definitions and sizes
- FILE SECTION for record layouts and field definitions
- PROCEDURE DIVISION for business logic