Skip to content
Agent Orchestration
Skill

/migration-mapping

Create a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a migration project.

From plugin
extensions
18489 skills4 commands

Claude Code

$ npx -y skills add openhands/extensions --skill migration-mapping --agent claude-code

SKILL.md

migration-mapping.SKILL.md
name: migration-mapping
description: Create a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a migration project.
license: MIT
compatibility: Requires completed migration with source and target code
triggers:
  - migration mapping
  - source target mapping
  - file mapping

Create a mapping from source language files (e.g., COBOL) to target language files (e.g., Java) to document which target files implement the functionality of each source file.

Task

Examine all source language files and identify the corresponding target language files that implement the same functionality. This mapping is essential for:

  • Migration quality evaluation
  • Traceability documentation
  • Gap analysis

Output Format

Save the mapping as a JSON file with this structure:

{
  "source_file_1.cbl": ["target_file_a.java", "target_file_b.java"],
  "source_file_2.cbl": ["target_file_c.java"],
  "source_file_3.cbl": []
}

Rules

1. **Many-to-many mapping**: A source file may map to multiple target files, and a target file may implement logic from multiple source files 2. **Complete coverage**: EVERY source file must appear as a key in the mapping 3. **Complete target coverage**: EVERY target file should appear as a value at least once 4. **Empty arrays**: If a source file has no corresponding target implementation, use an empty array `[]` 5. **Incremental**: If a mapping file already exists, update it rather than replacing it

How to Identify Mappings

Look for:

  • Matching class/program names
  • Similar function/paragraph names
  • Matching business logic patterns
  • Comments referencing source files
  • Import/include statements
  • Data structure similarities

Example

For a COBOL-to-Java migration:

{
  "CALC001.cbl": ["InvoiceCalculator.java", "TaxCalculator.java"],
  "CUST002.cbl": ["CustomerService.java", "CustomerRepository.java"],
  "UTIL003.cbl": ["StringUtils.java"],
  "SCREEN001.cbl": []
}

Note: `SCREEN001.cbl` maps to nothing because UI code was not migrated.

Verification

After creating the mapping:

  • [ ] Every source file is a key
  • [ ] No duplicate keys
  • [ ] Target files are relative paths from project root
  • [ ] JSON is valid and well-formatted
Read more
@openhands
Ships withextensions

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:

Stars on GitHub

Momentum

stars in total
184
Star history of openhands/extensions on GitHub, a chart by star-history.com

Other skills on extensions.

build-setup

build-setup

Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…

cobol-modernization

cobol-modernization

End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…

mainframe-planning

mainframe-planning

Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when…

mainframe-removal

mainframe-removal

Apply mainframe dependency transformations to COBOL code using a pre-generated transformation guide. Converts CICS/VSAM…

to-java-migration

to-java-migration

Migrate COBOL code to idiomatic Java, preserving business logic while following Java best practices. Use for COBOL modernization…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca2d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip3d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about migration-mapping.

Which coding agents can use migration-mapping?
migration-mapping installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.