
Javascript Mastery
A comprehensive JavaScript reference that covers 33+ core concepts from primitives and closures to async patterns and functional programming. You'd reach for this when debugging weird type coercion behavior, explaining why `typeof null` returns "object", or teaching someone the difference between the call stack and event loop. It includes practical code examples for everything from the basics (var vs let vs const) to trickier stuff like microtasks vs macrotasks and Promise combinators. The scope and closure examples are solid, and the async/await section covers parallel execution patterns. It's structured more like a cheat sheet than a tutorial, so it works best when you already know what concept you're looking for rather than learning JavaScript from scratch.
- skills.sh installs
- 356
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill javascript-mastery --agent claude-codeInstalls into .claude/skills of the current project.
Files
🧠 JavaScript Mastery
33+ essential JavaScript concepts every developer should know, inspired by 33-js-concepts.
When to Use This Skill
Use this skill when:
- Explaining JavaScript concepts
- Debugging tricky JS behavior
- Teaching JavaScript fundamentals
- Reviewing code for JS best practices
- Understanding language quirks
1. Fundamentals
1.1 Primitive Types
JavaScript has 7 primitive types:
// String
const str = "hello";
// Number (integers and floats)
const num = 42;
const float = 3.14;
// BigInt (for large integers)
const big = 9007199254740991n;
// Boolean
const bool = true;
// Undefined
let undef; // undefined
// Null
const empty = null;
// Symbol (unique identifiers)
const sym = Symbol("description");
Key points:
- Primitives are immutable
- Passed by value
typeof null === "object"is a historical bug
1.2 Type Coercion
JavaScript implicitly converts types:
// String coercion
"5" + 3; // "53" (number → string)
"5" - 3; // 2 (string → number)
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- Debugging
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Model Merging356
- Artifacts Builder355
- Blip 2 Vision Language355
- Programmatic Seo355
- Biopython354
- Production Code Audit354
- Model Pruning353
- Fda Consultant Specialist352
- Voice Ai Development351
- Evaluating Code Models350
- Geo Database350
- Notion Spec To Implementation350
- Training Llms Megatron350
- Changelog Generator349
- Performance Profiling349
- Server Management349
- Tensorrt Llm349
- Deslop348
- Algorithmic Art347
- Email Systems347
- Faiss347
- Voice Agents347
- Git Pushing346
- Brand Guidelines344