cobol-modernization
End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages and generates golden test data.
$ npx -y skills add openhands/extensions --skill build-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/build-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages and generates golden test data.
name: build-setup description: Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages and generates golden test data. license: MIT compatibility: Requires GnuCOBOL (cobc), Java 11+, Maven or Gradle triggers: - cobol build - cobol test fixtures - migration build setup - gnucobol
Set up a build environment and create test fixtures for validating COBOL-to-Java migrations.
To install GnuCOBOL, run: `./scripts/install-gnucobol.sh` On Windows, run that shell script from Git Bash/WSL (`bash scripts/install-gnucobol.sh`) or install GnuCOBOL with a Windows package manager and document the chosen command in `build_notes.md`.
For each major COBOL program:
Save to `test_manifest.json`:
{
"PROGRAM1": {
"description": "Brief description of what this program does",
"test_cases": [
{
"name": "normal_invoice",
"input": "inputs/PROGRAM1/test_001.dat",
"expected": "expected_outputs/PROGRAM1/test_001.out",
"description": "Happy path"
}
]
}
}1. **build_notes.md** — Build instructions for COBOL and Java 2. **test-fixtures/** — Directory with `inputs/` and `expected_outputs/` 3. **test_manifest.json** — JSON manifest of all test cases
Focus on programs with core business logic (transactions, calculations, data processing). UI-heavy programs (menu screens, reports) are lower priority.
This repository is the public extensions registry for OpenHands. It contains reusable, shareable skills, plugins, and Agent Canvas Apps that customize agent behavior and interfaces. Skills overview docs: SDK skill guide:
End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…
Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when…
Apply mainframe dependency transformations to COBOL code using a pre-generated transformation guide. Converts CICS/VSAM…
Migrate COBOL code to idiomatic Java, preserving business logic while following Java best practices. Use for COBOL modernization…
A test skill that responds to the magic word "alakazam" with a specific phrase
Create a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a…