iamp5/springboot-plugin/cobol-to-springboot
Claude Code and agent skill by iamp5/springboot-plugin
- community
Checking that the SKILL.md file is still in the repository.
Migrate mainframe COBOL business capabilities to Java 25 and Spring Boot APIs, or audit and repair previously migrated Java for JABOL patterns. Use for copybooks, working-storage state, paragraph-shaped services, decimal arithmetic, CICS/Db2 transactions, batch restart, API contracts, and legacy equivalence evidence.
Install
npx vskill@latest install iamp5/springboot-plugin/cobol-to-springbootSKILL.md
The same SKILL.md was published earlier as iamp5/springboot-plugin/cobol-to-springboot.
COBOL migration and review
Use this skill in migration or audit-and-repair mode. Establish behavioral evidence and Java design quality separately. “JABOL” is an informal label for mechanical translation: loops, switches, and sequential orchestration alone are not defects.
Shared discovery
- Read the affected module's project context, architecture documents, and ArchUnit rules. Resolve the target versions. Follow existing placement and dependency directions; migration does not require microservices or a new folder structure.
- Inventory COBOL programs, copybooks, called programs, compiler options/dialect, CICS/IMS/Db2/MQ/file dependencies, JCL, and existing recordings. Map the requested business slice and list unavailable artifacts. Use the migration contract to record source-to-target decisions and evidence.
- Select only relevant rules below. Reuse Java/Spring rules for records, domain validation, streams, sealed variants, and ordinary framework behavior.
| Trigger | Rule | |
|---|---|---|
| Choosing a migration slice or missing source behavior | Characterize before changing semantics | |
| One class per program, numbered paragraph methods, mutable context bags | Assign domain responsibilities | |
| WORKING-STORAGE fields, singleton services, repeated calls | Preserve explicit state lifetimes | |
| PIC/COMP-3, money, rounding, truncation, ON SIZE ERROR | Preserve numeric semantics | |
| Copybook layouts, encoding, REDEFINES, OCCURS, level-88 conditions | Isolate record translation | |
| SYNCPOINT, commits, status codes, API retries, external effects | Map transactions and outcomes | |
| JCL, file loops, checkpoints, restart, long API requests | Preserve batch execution contracts | |
| Claims of equivalence, golden files, migration acceptance | Require behavioral evidence |
Migration mode
- Define one bounded use case, its inputs/outcomes/effects, source references, and original unit of work. Capture a reproducible legacy baseline where available. Complete discovery when each required semantic decision is known or recorded as unresolved.
- Map transport and storage representations at the existing integration boundary. Design domain values, behavior owners, and application orchestration from business responsibilities. Preserve observable behavior; stronger validation or different consistency requires a documented intended change.
- Implement a vertical slice through the Spring API and existing persistence/integration boundaries. Keep generated compatibility code behind reviewed adapters when still needed. Define JSON/error contracts and retry behavior explicitly.
- Run characterization/parity, API, transaction, concurrency/restart, architecture, and configured quality checks as applicable. Use spring-verify. Unavailable mainframe execution does not prevent drafting or structural improvements, but leaves legacy parity unverified.
Audit-and-repair mode
- Record baseline test results and select the migrated paths. Run
node <plugin-root>/dist/cli.mjs migration-audit --root <repo> --path <migrated-path>; repeat--pathfor another module. The command is read-only and reports candidates, including when no Maven POM exists yet. - Follow review and repair. For each candidate, inspect its callers, state lifetime, source traceability, generated-code ownership, and rule exceptions. Also review arithmetic, transactions, and restart contracts the scanner cannot infer.
- Classify each finding as a confirmed behavioral defect, design/policy issue, legitimate compatibility exception, or unresolved evidence gap. Give a file/line, rule ID, observable consequence, and required proof. No candidate count or empty scan establishes acceptance.
- Repair one responsibility or semantic defect at a time with a regression case. Re-run relevant comparisons and the complete configured gate after the final edit. Stop after three unsuccessful repairs of the same failure, or when the next change needs an unresolved semantic decision.
Completion
Report the migrated/reviewed scope, source-to-target mapping, confirmed findings and exceptions, checks executed, comparisons performed, approved behavior differences, and unresolved gaps. Keep pre-existing failures visible. Report behavioral evidence and structural review separately. Claim legacy equivalence only within the exercised scenarios and known contract; compilation or Java-only examples cannot prove it.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cobol-to-springboot/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iamp5/springboot-plugin/cobol-to-springboot)