build-setup
БесплатноЗапускает вложенные скриптыНе проверенSet up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages and generates golden test data.
от OpenHands★ 190 звёзд на GitHubОб этом скилле
Set up a build environment and create test fixtures for validating COBOL-to-Java migrations.
To install GnuCOBOL, run: ./scripts/install-gnucobol.sh
On Windows, run that shell script from Git Bash/WSL (bash scripts/install-gnucobol.sh) or install GnuCOBOL with a Windows package manager and document the chosen command in build_notes.md.
Phase 1: Build Setup
COBOL Build
- Find a way to compile and run the COBOL code (e.g., GnuCOBOL)
- Verify at least one program compiles and executes
- Note any dependencies or setup required
Java Build
- Initialize a Java project alongside the COBOL code (Maven or Gradle)
- Set up standard directory structure:
src/main/java,src/test/java - Include JUnit 5 as a test dependency
- Verify the project builds (even if empty)
Phase 2: Test Fixture Generation
For each major COBOL program:
Create Synthetic Test Inputs
- Save to:
test-fixtures/inputs/{PROGRAM_NAME}/ - Create 3-5 test cases per program covering:
- Normal/happy path (valid, typical data)
- Edge cases (empty input, maximum values, boundary conditions)
- Error cases (invalid formats, missing required fields)
Generate Golden Outputs
- Run each COBOL program with each test input
- Save COBOL output to:
test-fixtures/expected_outputs/{PROGRAM_NAME}/ - These become the "golden" outputs that Java must match
Create Test Manifest
Save to test_manifest.json:
{
"PROGRAM1": {
"description": "Brief description of what this program does",
"test_cases": [
{
"name": "normal_invoice",
"input": "inputs/PROGRAM1/test_001.dat",
"expected": "expected_outputs/PROGRAM1/test_001.out",
"description": "Happy path"
}
]
}
}
Deliverables
- build_notes.md — Build instructions for COBOL and Java
- test-fixtures/ — Directory with
inputs/andexpected_outputs/ - test_manifest.json — JSON manifest of all test cases
Priority
Focus on programs with core business logic (transactions, calculations, data processing). UI-heavy programs (menu screens, reports) are lower priority.
Установить build-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл build-setup?
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages and generates golden test data.
Как установить скилл build-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic