plugins/cobol-modernization/skills/mainframe-planning/SKILL.md
Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when preparing COBOL code for local execution or migration.
npx skillsauth add openhands/skills mainframe-planningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
EXEC CICS READ FILE(...))| 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... |
tools
Iterate on a GitHub pull request — drive it through CI, code review, and QA until it is merge-ready. Poll verification layers with `gh` CLI, diagnose and fix CI failures, address review feedback, retry flaky checks, push fixes, and repeat. The agent is the orchestration loop.
development
Guides technical explanations toward flowing, direct, conversational prose. This skill should be used for engineering chat, design discussion, architecture analysis, code-review explanations, and technical recommendations that should be concise without becoming fragmented or vague.
tools
This skill should be used when the user asks to "set up a Jira automation to create pull requests", "poll Jira for create-pr issues", "automatically create GitHub PRs from Jira tickets", "deploy a Jira issue-to-PR automation", "create a Jira to GitHub PR workflow", or mentions automating GitHub PR creation from a Jira label. Deploys a cron-based OpenHands automation that watches a Jira Cloud project for issues labeled with a configurable label (default: "create-pr") and spawns an agent conversation to create a GitHub pull request for each new issue found. The target GitHub repository is read from the body of the Jira ticket - no repo parameter is required at deploy time.
tools
This skill should be used when the user asks to "create an automation", "schedule a task", "set up a cron job", "webhook integration", "event-triggered automation", or mentions automations, scheduled tasks, cron scheduling, or webhook events in OpenHands Cloud.