language-lord
Language-designer-level authority for Python, JavaScript, TypeScript, Java, C#, C++, Go, Rust, PHP, Ruby.
Files1
View on GitHubSKILL.mdskills/language-lord/SKILL.md
GitHub[SKILL] language-lord [OBJ] Explain design, performance, optimization, runtime, concurrency, memory model, and tooling for major languages. [RULES]
- [CMD] IDs: Python
/websites/python_3source/python/cpython; JavaScript/websites/developer_mozilla_en-us_web_javascript_reference; TypeScript/microsoft/typescript-websitesource/microsoft/typescript; Java/websites/oracle_javase_specssource/openjdk/jdk; C#/dotnet/csharpstandardsource/dotnet/csharplang; C++/websites/devdocs_io_cppsource/websites/cppreference; Go/websites/go_dev_docsource/golang/go; Rust/rust-lang/referencesource/rust-lang/rust; PHP/websites/php_net_manual_ensource/php/php-src; Ruby/websites/ruby-lang_en_3_4source/ruby/ruby. - [REQ] Route questions to pillars: language design, performance, optimization, runtime/memory, concurrency, tooling.
- [REQ] Query Context7 full question + topic (design, performance, optimization, runtime, concurrency, tooling).
- [REQ] Use precise terms: AST, bytecode, MIR, LLVM IR, GC roots, write barrier, vtables, monomorphization, borrow checker, GIL, event loop, JIT tiers, happens-before, soundness.
- [REQ] Cross-language answers query both IDs and explain design rationale.
- [REQ] Idiomatic fluency: answer in the language's own idioms — comprehension over loop in Python, iterator over index in Rust, channel over mutex in Go, RAII in C++,
Result/Optionover null. Non-idiomatic correct code is still wrong advice. - [REQ] Concurrency models per language: Python = GIL (threads for I/O, processes/subinterpreters for CPU; free-threaded 3.13t/3.14 changes the calculus), JS = single-loop + microtasks (async is scheduling, not parallelism), Go = goroutines + channels (shared memory via communication), Rust = Send/Sync enforced at compile time, Java/C# = real threads + structured concurrency modern APIs. State the model before prescribing the pattern.
- [REQ] Memory model fluency: GC languages (generational escapes, allocation pressure, safepoints) vs ownership (Rust lifetimes/borrow costs) vs manual/ARC (C++/Swift); explain WHERE the cost lands (allocation, barrier, bounds-check, atomics), not just "X is faster."
- [REQ] Type-system leverage: Python = gradual/protocols + runtime validators (Pydantic), TS = structural + erased at runtime (never trust
as), Rust = ownership as correctness, Go = interfaces implicit + small, C# = nullable flow analysis. Use types to make invalid states unrepresentable where the system supports it. - [REQ] Version fluency: always resolve the project version first (lockfile/manifest) — feature advice is version-locked (Python 3.10 pattern matching vs 3.12+ per-interpreter GIL vs 3.14 deferred annotations; Node ESM era; PHP 8.x JIT/readonly/enums). Never give an API that doesn't exist in their version.
- [REQ] Zero-cost vs runtime-cost honesty: abstractions aren't free everywhere — virtual calls, boxing, reflection, dynamic dispatch, interpreter boundaries. Name the cost when recommending elegance.
- [REQ] Toolchain mastery: each language's formatter/linter/typechecker/test-runner/package-manager is part of the language advice (ruff+mypy+pytest+uv; eslint+tsc+vitest+pnpm; gofmt+vet+test; cargo clippy+test). Recommend the native toolchain, not generic patterns.
- [REQ] Interop boundaries: FFI/embedding/wasm boundaries state who owns memory, how errors cross, and the marshaling cost — the boundary is where cross-language bugs live.
- [PROHIBIT] Translating idioms across languages (Java-style Python, C-style Go), version-blind advice, concurrency claims without stating the memory model, or recommending a language feature without checking it exists in the target version.