build-setup
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
Evaluate code migration quality with coverage, correctness, and style scoring. Generates executive reports with actionable recommendations.
$ npx -y skills add openhands/extensions --skill migration-scoring --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/migration-scoringContext preview
The summary Claude sees to decide when to auto-load this skill.
Evaluate code migration quality with coverage, correctness, and style scoring. Generates executive reports with actionable recommendations.
name: migration-scoring description: Evaluate code migration quality with coverage, correctness, and style scoring. Generates executive reports with actionable recommendations. license: MIT compatibility: Requires completed migration with source and target code, Python 3.13 with uv triggers: - migration scoring - migration quality - migration evaluation - score migration
Comprehensive quality evaluation for code migration projects.
This plugin evaluates completed migrations through multiple lenses:
1. **Mapping** — Document source-to-target file relationships 2. **Quality Scoring** — Measure coverage and correctness 3. **Style Scoring** — Evaluate code quality and conventions 4. **Reporting** — Generate executive summary with recommendations
export LLM_API_KEY="your-api-key" export LLM_MODEL="anthropic/claude-3-5-sonnet-20241022" uv run python -m lc_sdk_examples.migration_scoring \ --src-path /path/to/migration/project \ --rubric-path /path/to/style_rubric.txt
PowerShell equivalent for the environment setup:
$env:LLM_API_KEY = "your-api-key" $env:LLM_MODEL = "anthropic/claude-3-5-sonnet-20241022" uv run python -m lc_sdk_examples.migration_scoring ` --src-path C:\path\to\migration\project ` --rubric-path C:\path\to\style_rubric.txt
See [../migration-mapping/SKILL.md](../migration-mapping/SKILL.md)
Creates a source→target file mapping:
**Output:** `migration_mapping.json`
{
"CALC001.cbl": ["InvoiceCalculator.java", "TaxCalculator.java"],
"CUST002.cbl": ["CustomerService.java"]
}See [../score-quality/SKILL.md](../score-quality/SKILL.md)
Scores each source file on:
**Output:** `migration_score.json`
{
"CALC001.cbl": {
"coverage": 4,
"correctness": 5,
"justification": "All calculation logic migrated..."
}
}See [../score-style/SKILL.md](../score-style/SKILL.md)
Evaluates target code against style guidelines:
**Output:** `style_score.json`
See [../migration-report/SKILL.md](../migration-report/SKILL.md)
Generates a comprehensive report:
**Output:** `final_report.md`
your-project/ ├── .lc-sdk/ │ ├── migration_mapping.json │ ├── migration_score.json │ ├── style_score.json │ └── final_report.md
See [../score-quality/references/scoring-criteria.md](../score-quality/references/scoring-criteria.md) for the 1-5 scoring scales.
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:
Set up build environment and test fixtures for COBOL-to-Java migrations. Creates compilation infrastructure for both languages…
End-to-end COBOL to Java migration workflow. Handles build setup, mainframe dependency removal, and code migration with test…
Create a transformation guide for replacing mainframe-specific COBOL constructs with standard COBOL equivalents. Use when…
Apply mainframe dependency transformations to COBOL code using a pre-generated transformation guide. Converts CICS/VSAM…
Migrate COBOL code to idiomatic Java, preserving business logic while following Java best practices. Use for COBOL modernization…
A test skill that responds to the magic word "alakazam" with a specific phrase