Modern JavaScript & TypeScript
Writes clean, performant ES6+ JavaScript and type-safe TypeScript code optimized for modern web environments and Shopify platforms.
The js-modern skill empowers Claude to implement industry-standard JavaScript and TypeScript patterns, focusing on readability, maintainability, and modern syntax. It bridges the gap between legacy code and modern ES6+ features like async/await, modules, and optional chaining, while providing deep integration for Shopify-specific contexts such as Liquid themes, Hydrogen storefronts, and Shopify Functions. By leveraging real-time documentation from MDN and TypeScript's official guides, it ensures that generated code follows current best practices and strict type-safety requirements.
主要功能
01Asynchronous programming patterns using Promises, async/await, and the Fetch API.
02Comprehensive TypeScript support with interfaces, generics, and discriminated unions.
03Real-time documentation fetching from MDN and TypeScript documentation for up-to-date syntax.
04Advanced ES6+ syntax implementation including destructuring, spread operators, and arrow functions.
05Shopify-specific optimization for Themes, Hydrogen/Remix, and Shopify Functions.
0632 GitHub stars
使用场景
01Converting legacy jQuery-based Shopify theme scripts into modern, modular ES6 JavaScript.
02Building type-safe Hydrogen storefront components using TypeScript and Remix patterns.
03Developing high-performance, synchronous Shopify Functions for checkout and delivery customization.