mainframe-modernizationlisted
Install: claude install-skill YarlisAISolutions/yarlis-modernization
# Mainframe → React + Spring Boot + DB2
This skill turns an analyzed legacy system into a target design and migration plan. It feeds the SRD (`requirements-docs`)
and design reviews. It doesn't replace requirements work: what the system must do comes from the BRD/FRD. This skill
decides how the new stack does it, and how to get there safely.
**BRD-only requests:** a BRD carries no technology, so this skill isn't needed for it. At most, run `mapgen.py` to
add the draft mapping to the knowledge base for later. Use the skill fully for the SRD, design reviews and migration planning.
## Prerequisites
- `docs/analysis/inventory.json` from `legacy-code-analysis` (scan the source first if it's missing).
- Ideally the BRD and FRD (or at least the slice's business rules), so mapping decisions trace to requirements.
- Target versions from the user or `PROJECT-CONTEXT.md` (React, Spring Boot, Java, DB2 edition/version, hosting).
If they're unknown, record "Unknown" and an open question; don't pick versions silently.
## Workflow
1. **Generate the mapping draft** (deterministic, seconds):
```bash
python3 <skill-dir>/scripts/mapgen.py --inventory docs/analysis/inventory.json # whole estate
python3 <skill-dir>/scripts/mapgen.py --inventory docs/analysis/inventory.json --programs COSGN00C COMEN01C # a slice
```
Writes `docs/analysis/target-mapping.md` (online → React/REST, batch → Spring Batch, data stores → DB2) and
`data-mapping.md` (copybook fields →