migration-mapping skillA
migration-mapping is agent-read markdown (skill) from openhands/extensions: Create a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a migration project..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
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:
```json
{
"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
…Read the whole file at its exact version.
How to install
mdr add openhands/extensions/migration-mapping@git:20260306.cebd78bmdr add openhands/extensions/migration-mapping@sha256:6b65c7e6b15576bdPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_lndl4hstydfqnms3)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2284 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openhands/extensions · 150 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lndl4hstydfqnms3 GET https://markdownregistry.com/api/v1/resolve?ref=openhands/extensions/migration-mapping GET https://markdownregistry.com/api/v1/blob/6b65c7e6b15576bd97506ae0ee10e0a6bbb24ed1b2d5946232b2b9b9a540bca1
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.