build-setup
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when preparing COBOL code for local execution or migration.
Claude Code
$ npx -y skills add openhands/extensions --skill mainframe-planning --agent claude-code
Codex
$ npx skills add openhands/extensions --skill mainframe-planning -a codex -y
Cursor
$ npx skills add openhands/extensions --skill mainframe-planning -a cursor -y
Gemini CLI
$ npx skills add openhands/extensions --skill mainframe-planning -a gemini-cli -y
GitHub Copilot
$ npx skills add openhands/extensions --skill mainframe-planning -a github-copilot -y
OpenCode
$ npx skills add openhands/extensions --skill mainframe-planning -a opencode -y
Windsurf
$ npx skills add openhands/extensions --skill mainframe-planning -a windsurf -y
name: mainframe-planning description: Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when preparing COBOL code for local execution or migration. license: MIT compatibility: Requires knowledge of CICS/VSAM mainframe constructs triggers: - mainframe planning - cics replacement - cobol transformation guide - mainframe dependency
Create a comprehensive transformation guide that maps each mainframe dependency to its standard COBOL replacement.
This guide is a prerequisite for the actual transformation — DO NOT modify any code, only create the guide.
Document each mainframe-specific construct with:
1. **Pattern**: The mainframe construct (e.g., `EXEC CICS READ FILE(...)`) 2. **Replacement**: The standard COBOL equivalent 3. **Error Handling**: How to replicate the mainframe's error behavior
4. **Resource Cleanup**: Any cleanup the replacement requires (CICS auto-manages resources; file I/O does not) 5. **Edge Cases**: Behavior differences between mainframe and standard COBOL
| Code | Meaning | CICS Equivalent | |------|---------|-----------------| | 00 | Success | Normal completion | | 23 | Record not found | NOTFND condition | | 35 | File does not exist | NOTOPEN condition | | 22 | Duplicate key | DUPREC condition | | 3x | I/O errors | Various IOERR conditions |
| CICS Command | Standard COBOL | |--------------|----------------| | `EXEC CICS READ FILE(...)` | `READ filename INTO...` | | `EXEC CICS WRITE FILE(...)` | `WRITE record-name FROM...` | | `EXEC CICS REWRITE FILE(...)` | `REWRITE record-name FROM...` | | `EXEC CICS DELETE FILE(...)` | `DELETE filename RECORD` | | `EXEC CICS STARTBR FILE(...)` | `START filename KEY...` | | `EXEC CICS READNEXT FILE(...)` | `READ filename NEXT INTO...` |
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:
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…
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…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration