tiendungwork/agent-harness/to-java-migration

Claude Code and agent skill by tiendungwork/agent-harness

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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

Install

npx vskill@latest install tiendungwork/agent-harness/to-java-migration

SKILL.md

The same SKILL.md was published earlier as openhands/extensions/to-java-migration.

Migrate COBOL code to idiomatic Java, preserving all business logic.

Code Style Requirements

Write idiomatic Java, NOT literal COBOL translations:

  • Use Java conventions: camelCase names, standard collections (List, Map)
  • Use Java standard library instead of rolling your own
  • No god classes — split into cohesive, single-responsibility classes
  • No TODO comments or stub implementations — fully implement everything

Robustness Requirements

  • Validate inputs at method entry (null checks, range validation)
  • Use try-catch for all I/O and external operations
  • Use try-with-resources for files, streams, connections
  • Handle errors gracefully with meaningful messages

Configuration Requirements

  • No hardcoded file paths or credentials — use environment variables
  • No magic numbers — use named constants
  • Make limits and timeouts configurable

Documentation Requirements

  • Add COBOL references: // COBOL equivalent: BNK1CRA.cbl 145-167
  • Document assumptions made during conversion
  • Add Javadoc to public methods

Testing Requirements

If test fixtures exist (see cobol-build-setup skill):

  • Create a JUnit test class for each migrated program
  • Load inputs from fixtures, assert output matches expected (golden) output
  • All tests must pass before migration is complete

References

Done When

✓ Code compiles without errors ✓ All JUnit tests pass (Java output matches COBOL golden output) ✓ No TODO or stub implementations remain ✓ COBOL references documented in comments

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tiendungwork/agent-harness/to-java-migration/badge)](https://verified-skill.com/skills/tiendungwork/agent-harness/to-java-migration)

Something wrong with this skill or its page? Tell us.