AI SummaryTeaches developers to write JavaScript leveraging Brendan Eich's core design principles—first-class functions, prototypes, and dynamic typing—for more idiomatic and powerful code. Best for intermediate to advanced developers wanting to deepen their JavaScript fundamentals.
Install
# Add to your project root as SKILL.md curl -o SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/eich/SKILL.md"
Description
Write JavaScript code with deep understanding of the language fundamentals as envisioned by Brendan Eich, creator of JavaScript. Emphasizes first-class functions, prototypes, and the dynamic nature of the language. Use when leveraging JavaScript's unique characteristics.
Overview
Brendan Eich created JavaScript in 10 days at Netscape in 1995. Despite time constraints, he embedded powerful concepts: first-class functions, prototypal inheritance, and dynamic typing. Understanding his design choices unlocks JavaScript's true power.
Core Philosophy
> "Always bet on JavaScript." > "JavaScript has first-class functions and closures. That's a big deal." Eich designed JavaScript to be accessible yet powerful, borrowing from Scheme (functions), Self (prototypes), and Java (syntax).
Design Principles
• First-Class Functions: Functions are values—pass them, return them, store them. • Prototypal Inheritance: Objects inherit directly from objects, not classes. • Dynamic Nature: Types are fluid; embrace duck typing. • Flexibility: The language adapts to many paradigms.
Always
• Leverage closures for encapsulation • Use functions as first-class citizens • Understand the prototype chain • Embrace JavaScript's multi-paradigm nature • Know that objects are just property bags
Quality Score
Acceptable
70/100
Trust & Transparency
Open Source — MIT
Source code publicly auditable
Verified Open Source
Hosted on GitHub — publicly auditable
Actively Maintained
Last commit Yesterday
100 stars — Growing Community
15 forks