modern-javascript-patterns
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseModern JavaScript Patterns
现代JavaScript模式
Comprehensive guide for mastering modern JavaScript (ES6+) features, functional programming patterns, and best practices for writing clean, maintainable, and performant code.
掌握现代JavaScript(ES6+)特性、函数式编程模式,以及编写整洁、可维护、高性能代码的最佳实践的综合指南。
Use this skill when
适用场景
- Refactoring legacy JavaScript to modern syntax
- Implementing functional programming patterns
- Optimizing JavaScript performance
- Writing maintainable and readable code
- Working with asynchronous operations
- Building modern web applications
- Migrating from callbacks to Promises/async-await
- Implementing data transformation pipelines
- 将遗留JavaScript重构为现代语法
- 实现函数式编程模式
- 优化JavaScript性能
- 编写可维护、可读性强的代码
- 处理异步操作
- 构建现代Web应用
- 从回调函数迁移到Promises/async-await
- 实现数据转换管道
Do not use this skill when
不适用场景
- The task is unrelated to modern javascript patterns
- You need a different domain or tool outside this scope
- 任务与现代JavaScript模式无关
- 你需要用到本范围外的其他领域知识或工具
Instructions
使用说明
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open .
resources/implementation-playbook.md
- 明确目标、约束和所需输入。
- 应用相关最佳实践并验证结果。
- 提供可落地的步骤和验证方法。
- 如果需要详细示例,请打开 。
resources/implementation-playbook.md
Resources
参考资源
- for detailed patterns and examples.
resources/implementation-playbook.md
- 包含详细的模式和示例。
resources/implementation-playbook.md