CtrlK
BlogDocsLog inGet started
Tessl Logo

code-translation

Convert code between programming languages while preserving functionality and semantics. Use when: (1) Translating functions, classes, or modules between languages (Python, JavaScript/TypeScript, Java, Go, Rust, C/C++), (2) Migrating entire projects to a different language, (3) Need idiomatic translation that follows target language conventions, (4) Converting between different paradigms (OOP to functional, etc.), (5) Porting legacy code to modern languages. Provides language-specific patterns, idiomatic translation guides, and project migration strategies.

Install with Tessl CLI

npx tessl i github:ArabelaTso/Skills-4-SE --skill code-translation
What are skills?

88

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

97%

17%

Browser Analytics Library Port

Idiomatic JavaScript translation

Criteria
Without context
With context

camelCase naming

100%

100%

No explicit getters/setters

0%

70%

Array filter for filtering

100%

100%

Array map for transformation

100%

100%

Optional chaining

100%

100%

Set for uniqueness

100%

100%

Spread for merge

100%

100%

JSDoc not Python-style docs

100%

100%

reduce or built-in for counting

0%

100%

const/let not var

100%

100%

Without context: $0.1281 · 1m 9s · 8 turns · 13 in / 2,153 out tokens

With context: $0.5102 · 3m 31s · 20 turns · 22 in / 5,533 out tokens

100%

File Processing Microservice — Python to Go

Idiomatic Go translation

Criteria
Without context
With context

Error return values

100%

100%

No panic for expected errors

100%

100%

defer for resource cleanup

100%

100%

Early return guard clauses

100%

100%

Accept interface for reader

100%

100%

Exported names PascalCase

100%

100%

Unexported names camelCase

100%

100%

fmt.Errorf error wrapping

100%

100%

No exception-style patterns

100%

100%

Constructor function pattern

100%

100%

Without context: $0.3246 · 3m 12s · 15 turns · 60 in / 6,181 out tokens

With context: $0.7848 · 4m 14s · 24 turns · 5,571 in / 7,233 out tokens

100%

7%

Migrate Python Pricing Service to TypeScript

Full project migration with build system and tests

Criteria
Without context
With context

package.json present

80%

100%

Test runner dependency mapped

100%

100%

Models translated first

100%

100%

TypeScript interfaces or types

100%

100%

Function type annotations

100%

100%

Tests ported to Jest structure

100%

100%

Same test scenarios covered

100%

100%

camelCase naming

50%

100%

Optional fields typed correctly

100%

100%

No any types

100%

100%

Without context: $0.5213 · 3m 24s · 27 turns · 34 in / 7,125 out tokens

With context: $1.1035 · 3m 57s · 36 turns · 4,707 in / 10,108 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

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.