migration-mapping
БесплатноБез исполняемых скриптовНе проверенCreate a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a migration project.
от OpenHands★ 190 звёзд на GitHubОб этом скилле
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
- Many-to-many mapping: A source file may map to multiple target files, and a target file may implement logic from multiple source files
- Complete coverage: EVERY source file must appear as a key in the mapping
- Complete target coverage: EVERY target file should appear as a value at least once
- Empty arrays: If a source file has no corresponding target implementation, use an empty array
[] - 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
Установить migration-mapping в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл migration-mapping?
Create a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a migration project.
Как установить скилл migration-mapping?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migration-mapping запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic