跳到正文
Skillpedia
网站与界面(前端)48k · #4983

javascript-mastery

它能做什么

这份指南可以帮你理解 JavaScript 编程语言的核心概念,讲解每个程序员都应该了解的重要知识。

适用场景

  • ✓想理解某个具体的 JavaScript 概念时。
  • ✓代码出现奇怪的行为、让你束手无策时。
  • ✓想学习 JavaScript 的基础构件时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-mastery/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-mastery/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请解释 JavaScript 中的“闭包”(closures)概念。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会参考这份详细指南,其中包含 JavaScript 各个主题的讲解。它会利用这些内容回答你关于这门语言的问题。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

🧠 JavaScript Mastery

33+ essential JavaScript concepts every developer should know, inspired by 33-js-concepts.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

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

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

什么是“闭包”?

闭包是 JavaScript 的一种特性:函数会“记住”它被创建时所处的环境,因此即使外层函数已经执行完毕,它仍然可以访问其中的变量。

什么是“原型”?

原型就像 JavaScript 中对象的“蓝图”。对象可以通过原型共享属性和方法,从而让代码更高效。

什么是“变量提升”(hoisting)?

变量提升是 JavaScript 的一种行为:在代码执行前,变量和函数声明会被移动到其作用域的顶部。如果不了解这一点,可能会遇到意料之外的情况。

详情

作者的原始描述

33+ essential JavaScript concepts every developer should know, inspired by [33-js-concepts](https://github.com/leonardomso/33-js-concepts).

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4983
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能