AgentSkillsCN

javascript-mastery

全面覆盖 JavaScript 的参考手册,囊括每位开发者都应掌握的 33 个以上核心概念。从原始类型与闭包等基础概念,到 async/await 与函数式编程等高级模式,应有尽有。无论是讲解 JS 概念、调试 JavaScript 问题,还是教授 JavaScript 基础知识,这一方法都能为你提供强大助力。

SKILL.md
--- frontmatter
version: 4.1.0-fractal
name: javascript-mastery
description: "Comprehensive JavaScript reference covering 33+ essential concepts every developer should know. From fundamentals like primitives and closures to advanced patterns like async/await and functional programming. Use when explaining JS concepts, debugging JavaScript issues, or teaching JavaScript fundamentals."

🧠 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

🧠 Knowledge Modules (Fractal Skills)

1. 1.1 Primitive Types

2. 1.2 Type Coercion

3. 1.3 Equality Operators

4. 2.1 Scope Types

5. 2.2 Closures

6. 2.3 var vs let vs const

7. 3.1 Call Stack

8. 3.2 Hoisting

9. 3.3 this Keyword

10. 4.1 Event Loop

11. 4.2 Callbacks

12. 4.3 Promises

13. 4.4 async/await

14. 5.1 Higher-Order Functions

15. 5.2 Pure Functions

16. 5.3 map, filter, reduce

17. 5.4 Currying & Composition

18. 6.1 Prototypal Inheritance

19. 6.2 Object Methods

20. 7.1 Destructuring

21. 7.2 Spread & Rest

22. 7.3 Modules

23. 7.4 Optional Chaining & Nullish Coalescing