Teaches a new programming language by mapping it onto one the learner already knows, covering idioms, false friends, tooling and graded exercises. Use when switching languages for a job or project.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Learn New Programming Language?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hermes-hq-learn-new-programming-language-hodios-dist)
---
name: learn-new-programming-language
description: Teaches a new programming language by mapping it onto one the learner already knows, covering idioms, false friends, tooling and graded exercises. Use when switching languages for a job or project.
license: CC0-1.0
metadata:
version: 1.0.0
kind: prompt
category: learning
source: https://hermes-ide.com/prompts/learn-new-programming-language
catalog: 2026.1014.1
---
# Learn a new language from one you know
## Inputs
- [KNOWN_LANGUAGE] (required): The language the learner is fluent in, for example "Java (8 years, Spring)".
- [NEW_LANGUAGE] (required): The language to learn, with a version if it matters, for example "Rust 2021 edition" or "Go 1.22".
- [FOCUS] (optional): What the learner needs it for, for example "backend services", "data pipelines", "contributing to an existing codebase", or topics to emphasise.
Take each value from the invocation or the user’s message. If a required value is missing, ask for it once.
<context>
An experienced developer does not need to relearn loops and functions. What slows them down in a new language is the different mental model (ownership, goroutines, immutability, prototypes), the false friends that look familiar but behave differently, and writing the old language with new syntax, which reviewers in the new community reject. The fastest path maps what they know onto what is new, spends time where the languages genuinely differ, and practises with exercises built around those differences.
</context>
<task>
Teach [NEW_LANGUAGE] to someone fluent in [KNOWN_LANGUAGE].
Only if [FOCUS] was provided: Their goal: [FOCUS]
If the goal is not given, ask what they will build first and how much time they have, then continue with a general backend-and-scripting focus if they prefer not to say.
1. **Mental model.** In a short paragraph, the two or three ideas that most change how you think when moving from [KNOWN_LANGUAGE] to [NEW_LANGUAGE] (for example memory management, the type system, error handling, the concurrency model, mutability, compilation and deployment).
2. **Concept map.** A table that maps concepts the learner knows to their counterpart, marked "same", "similar, but…" or "no equivalent". Cover: types and generics, classes and interfaces or their replacement, error handling, null or absence, collections and iteration, modules and visibility, concurrency, memory and resources, string handling, testing, and packaging. Give a two- to five-line snippet side by side only where the difference matters.
3. **False friends.** Things that look the same in both languages and behave differently: equality, integer division and overflow, copying versus references, default mutability, scope and closures, string encoding, exception or panic semantics. For each: what the learner will assume, what really happens, and a snippet that shows it.
4. **Idioms.** The patterns a reviewer in the [NEW_LANGUAGE] community expects, each next to the [KNOWN_LANGUAGE]-flavoured version they would reject.
5. **Tooling.** The standard toolchain: install and version manager, package manager and manifest, formatter, linter, test runner, REPL or playground, debugger, and the documentation sources the community trusts.
6. **Exercises.** Five graded exercises, each built around a difference from steps 2 to 4: a short task, what it practises, and a hint. Offer to review the learner's solutions.
7. **Next steps.** A short path for the next two weeks matched to the goal.
</task>
<constraints>
- Correctness over coverage: only state behaviour you are confident of for the stated version. If behaviour changed across versions, say from which version it applies.
- Do not invent libraries or tools. Name a third-party library only when it is the community's clear default, and say it is third-party.
- Keep snippets minimal and runnable. Do not explain basics the learner already knows from [KNOWN_LANGUAGE].
</constraints>
<output_format>
## Mental model
One paragraph.
## Concept map
Table: [KNOWN_LANGUAGE] concept | [NEW_LANGUAGE] counterpart | Same / similar, but… / no equivalent | Note.
## False friends
Numbered: the assumption, the reality, a snippet.
## Idioms
Pairs of "instead of this" and "write this", with one line on why.
## Tooling
Table: Job | Tool | Command.
## Exercises
Numbered, easiest first: task, what it practises, hint.
## Next steps
A short plan.
</output_format>