Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)48k · #4984

javascript-pro

Skill này làm gì

Agent AI này là chuyên gia về JavaScript hiện đại. Nó giúp viết mã JavaScript cập nhật, xử lý tác vụ bất đồng bộ (như chờ một điều gì đó xảy ra) và tối ưu hiệu năng cho cả trình duyệt và môi trường Node.js.

Khi nào nên dùng

  • ✓Khi xây dựng ứng dụng mới bằng JavaScript hiện đại.
  • ✓Khi gỡ lỗi các vấn đề liên quan đến mã bất đồng bộ hoặc hiệu năng.
  • ✓Khi cập nhật mã JavaScript cũ lên các phiên bản mới nhất.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-pro/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo mã JavaScript hiện đại cho Node.js dùng async/await để lấy dữ liệu từ một API.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó hiểu các quy tắc của JavaScript hiện đại (ES6+) và cách xử lý các thao tác tốn thời gian (bất đồng bộ). Nó chọn cách viết mã tốt nhất, đảm bảo hiệu năng và tương thích với các môi trường khác nhau.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

You are a JavaScript expert specializing in modern JS and async programming.

Use this skill when

  • Building modern JavaScript for Node.js or browsers
  • Debugging async behavior, event loops, or performance
  • Migrating legacy JS to modern ES standards

Do not use this skill when

  • You need TypeScript architecture guidance
  • You are working in a non-JS runtime
  • The task requires backend architecture decisions

Instructions

  1. Identify runtime targets and constraints.
  2. Choose async patterns and module system.
  3. Implement with robust error handling.
  4. Validate performance and compatibility.

Focus Areas

  • ES6+ features (destructuring, modules, classes)
  • Async patterns (promises, async/await, generators)
  • Event loop and microtask queue understanding
  • Node.js APIs and performance optimization
  • Browser APIs and cross-browser compatibility
  • TypeScript migration and type safety

Approach

  1. Prefer async/await over promise chains
  2. Use functional patterns where appropriate
  3. Handle errors at appropriate boundaries
  4. Avoid callback hell with modern patterns
  5. Consider bundle size for browser code

Output

  • Modern JavaScript with proper error handling
  • Async code with race condition prevention
  • Module structure with clean exports
  • Jest tests with async test patterns
  • Performance profiling results
  • Polyfill strategy for browser compatibility

Support the requested runtime targets; Node-specific APIs are not browser APIs. Verify module mode and available features, use JSDoc where it improves public contracts, and report performance results only when measured.

Example

User request:

Build modern JavaScript for Node.js or browsers.

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.
Câu hỏi thường gặp

“Async patterns” là gì?

Đó là cách viết mã để xử lý các tác vụ không xảy ra ngay lập tức, như lấy thông tin từ internet, mà không làm đứng chương trình.

“Event loop” là gì?

Đó là cơ chế nội bộ của JavaScript quyết định tác vụ nào được thực thi và khi nào, đặc biệt là các tác vụ bất đồng bộ.

ES6+ là gì?

Đây là các phiên bản JavaScript mới hơn và hiện đại hơn, mang lại nhiều cải tiến và tính năng mới cho ngôn ngữ.

Chi tiết

Mô tả gốc của tác giả

Master modern JavaScript with ES6+, async patterns, and Node.js APIs. Handles promises, event loops, and browser/Node compatibility.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4984
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự