write-modern-javascript
CommunityWrite modern JS with safe TypeScript downleveling.
Software Engineering#typescript#javascript#code-quality#web-development#tsconfig#es2020#downleveling
Authorluyi985
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeScript projects often struggle to balance modern JavaScript features with compatibility targets. This Skill guides developers to write clean, future-proof code by choosing the right ES target, leveraging downleveling, and aligning TS features with runtime environments.
Core Features & Use Cases
- Guidance on configuring tsconfig.json targets (ES2020+), module settings, and library options.
- Recommendations for when to use modern JS features versus TS-specific constructs to optimize bundles and runtime performance.
- Real-world scenario: upgrading a legacy codebase to modern syntax while maintaining compatibility across browsers.
Quick Start
Set your tsconfig target to ES2020, enable modern features, and rely on TypeScript downleveling for older environments.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: write-modern-javascript Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#write-modern-javascript Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.