Translate source code between programming languages at function, class, and module levels while preserving behavior and generating verification tests. Use when translating code from one language to another (e.g., "translate this Python module to JavaScript", "convert this Java class to C#", "port this code to Go and generate tests"), migrating codebases between languages, or creating equivalent implementations across different technology stacks. Handles idiom adaptation, standard library mappings, and test generation.
89
85%
Does it follow best practices?
Impact
96%
1.03xAverage score across 3 eval scenarios
Risky
Do not use without reviewing
Quality
Discovery
100%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is an excellent skill description that hits all the marks. It provides specific capabilities (function/class/module level translation, behavior preservation, test generation), includes natural trigger terms with concrete examples, has an explicit 'Use when' clause with multiple scenarios, and carves out a distinct niche that won't conflict with general coding skills.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions: 'Translate source code between programming languages at function, class, and module levels', 'preserving behavior', 'generating verification tests', 'idiom adaptation', 'standard library mappings', and 'test generation'. | 3 / 3 |
Completeness | Clearly answers both what (translate code at various levels, preserve behavior, generate tests) AND when with explicit 'Use when' clause covering translation requests, migration scenarios, and cross-stack implementations with concrete examples. | 3 / 3 |
Trigger Term Quality | Excellent coverage of natural terms users would say: 'translate', 'convert', 'port', specific language pairs like 'Python to JavaScript', 'Java to C#', 'Go', 'migrating codebases', and 'generate tests'. These match how users naturally phrase translation requests. | 3 / 3 |
Distinctiveness Conflict Risk | Clear niche focused specifically on cross-language translation with distinct triggers like 'translate', 'convert', 'port', and language-to-language patterns. Unlikely to conflict with general coding skills or single-language refactoring skills. | 3 / 3 |
Total | 12 / 12 Passed |
Implementation
70%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This skill provides a well-structured workflow for code translation with good progressive disclosure through external references. However, it lacks concrete executable examples of actual translations and includes some verbose explanations that Claude doesn't need. The transformation patterns are described rather than demonstrated with real code.
Suggestions
Add concrete before/after code examples for at least 2-3 common translation patterns (e.g., show actual Python decorator → Java annotation code)
Remove or significantly condense the 'Best Practices' section - these are generic principles Claude already knows
Replace descriptive transformation lists with executable code snippets showing the actual syntax mapping
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The skill is reasonably efficient but includes some unnecessary explanation (e.g., 'Before translating, thoroughly understand the source code' is obvious). The best practices section at the end contains generic advice Claude already knows. Could be tightened by 20-30%. | 2 / 3 |
Actionability | Provides structured guidance and common transformation patterns, but lacks executable code examples. The transformation mappings are descriptive rather than showing actual code snippets. The output format template is helpful but the actual translation examples are missing. | 2 / 3 |
Workflow Clarity | Clear 5-step sequential workflow with logical progression from analysis through documentation. Each step has explicit sub-tasks. The process includes verification through test generation, providing a feedback mechanism for correctness. | 3 / 3 |
Progressive Disclosure | Well-organized with clear sections. Appropriately references external files (references/language_mappings.md, assets/test_template_*.py) for detailed content. Main skill provides overview while pointing to one-level-deep resources for specifics. | 3 / 3 |
Total | 10 / 12 Passed |
Validation
100%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 11 / 11 Passed
Validation for skill structure
No warnings or errors.
0f00a4f
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.