agentsclimarketplace

Unicorn language learning

Skill andrey-learning-machines/swe-harness/plugins/swe-harness/skills/unicorn-language-learning

Portable SWE harness plugin for Codex and Claude Code

Install
npx -y skills add andrey-learning-machines/swe-harness --skill unicorn-language-learning

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Guides rapid acquisition of new programming languages, frameworks, and paradigms through a structured 5-phase protocol. ALWAYS trigger on "learn Rust", "learn Go", "new language", "pick up a language", "never used X before", "getting started with", "how does X work", "teach me Y", "unfamiliar technology", "language comparison", "evaluate language", "switch to X", "polyglot", "first time using". Use when encountering unfamiliar technology, evaluating language choices, or onboarding to a new stack. Delegates to Polyglot agent for execution.

SKILL.md

6.4 KB, as published. Nobody here has run it

<!-- Last reviewed: 2026-03 -->

Language Learning Protocol

5-Phase Protocol

PhaseDurationGoalKey Deliverables
1. Exploration30 minRun first programHello World, build system, basic syntax
2. Patterns1-2 hrMap to known equivalentsComparison table, pattern mapping
3. Ecosystem1 hrSet up toolchainPackage manager, test framework, linter, LSP
4. Idioms2-3 hrLearn community conventionsStyle guide notes, anti-patterns list
5. ProductionOngoingShip production codeLogging, monitoring, deployment, security

Target: Zero to implementing small features in < 4 hours.

Run scripts/new-language.sh with the target language to execute interactively.

Phase 1: Exploration Checklist

  • Install toolchain (compiler/interpreter/runtime)
  • Hello World builds and runs
  • Variable declaration (mutable vs immutable)
  • Function definition and calling
  • Control flow (if, for, match/switch)
  • Error handling mechanism identified
  • Entry point convention understood

Phase 2: Pattern Mapping

Complete this comparison for the new language:

ConceptPythonJavaScriptGoNew Language
Variablesx = 5let x = 5x := 5?
ConstantsX = 5const X = 5const X = 5?
Functionsdef f():function f()func f()?
Error handlingtry/excepttry/catchif err != nil?
Null safetyNonenull/undefinednil?
Iterationfor x in list:list.forEach()for _, x := range?
Collectionslist, dictArray, Objectslice, map?
Types/Classesclass Foo:class Footype Foo struct?
Importsimport fooimport foo fromimport "foo"?
Testingpytestjestgo test?
Packagespipnpmgo mod?

For each concept, ask: "What's the equivalent in languages I know?"

Phase 3: Ecosystem Setup

identify:
  package_manager: cargo | go mod | npm | pip | ...
  test_framework:  built-in or external, conventions
  linter_formatter: clippy/rustfmt | golint/gofmt | eslint/prettier | ...
  lsp_server:      name, IDE integration

Ecosystem checklist:

  • Package manager configured
  • Can write, run, and get coverage for tests
  • Linter and formatter installed
  • IDE autocomplete working
  • Official docs bookmarked

Phase 4: Idioms

  1. Read official style guide
  2. Study standard library patterns
  3. Review top 5 popular GitHub projects
  4. Capture anti-patterns from linter warnings

Phase 5: Production Readiness

  • Structured logging configured
  • Error handling comprehensive
  • Graceful shutdown implemented
  • Health check endpoint
  • Metrics/monitoring integrated
  • Configuration externalized
  • Secrets management configured
  • Resource limits set
  • Deployment documented
  • Rollback procedure defined

Paradigm Recognition

Language Analysis
|
+-- Object-Oriented (Java, C#, Python, Ruby)
|   Classes, inheritance, polymorphism
|
+-- Functional (Haskell, Elixir, Clojure, Scala)
|   First-class functions, immutability
|
+-- Procedural (C, Go, Pascal)
|   Functions as primary unit, explicit state
|
+-- Multi-Paradigm (Python, Rust, JavaScript, Kotlin)
|   Developer chooses approach
|
+-- Declarative (SQL, HTML, CSS, Terraform)
    Describe WHAT, not HOW

Quick Reference Template

For every new language, produce:

# [Language] Quick Reference
## Setup        — install, project init, run, test commands
## Basics       — variables, functions, control flow, errors
## Patterns     — map, filter, reduce, null handling, async
## Ecosystem    — package manager, testing, linting, formatting
## Idioms       — language-specific best practices
## Anti-Patterns — common mistakes to avoid
## Resources    — official docs, style guide, community

See references/learning-templates.md for full template.

Knowledge Transfer Format

knowledge_transfer:
  language: "[Name]"
  paradigm: "[OOP | FP | Procedural | Multi | Declarative]"
  quick_reference: "[path to cheat sheet]"
  gotchas:
    - "Common mistake 1"
    - "Common mistake 2"
  production_notes:
    - "Deployment consideration"
    - "Performance characteristic"
  confidence_level: "beginner | intermediate | proficient"

Learning Velocity Targets

MetricTarget
Hello World running< 30 min
Basic patterns mapped< 90 min
Ecosystem set up, tests passing< 3 hr
First real feature implemented< 4 hr
Pattern recognition accuracy> 85%
Anti-pattern avoidance (first 10 implementations)> 80%

When NOT to Learn Everything

Decision Criteria

Learn what the task requires. Skip the rest until needed.

TaskLearnSkip (for now)
REST API in GoHTTP server, routing, JSON, errors, testingGenerics, reflection, cgo
CLI tool in RustClap, file I/O, error handlingUnsafe, macros, async
Data pipeline in ElixirGenServer, streams, EctoNIFs, distributed Erlang

Progressive Depth

LayerTimeframeScope
1Day 1Core syntax, basic patterns
2Week 1Ecosystem, idioms, testing
3Month 1Advanced features, performance
4Month 3+Internals, contributing

Most tasks require Layer 1-2 only.

Reference Files

  • references/language-comparison-matrices.md - Comparison tables across 10+ languages
  • references/learning-templates.md - Setup scripts, quick reference templates
  • references/phase-guides.md - Detailed guides for each learning phase
  • scripts/new-language.sh - Interactive learning protocol script

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.