javascript
Installation
SKILL.md
JavaScript/Node.js Style Guide
Apply Google JavaScript Style Guide conventions to JavaScript and Node.js code. This skill provides essential coding standards, formatting rules, and best practices for writing clean, maintainable JavaScript.
Note: Google recommends migrating to TypeScript. This guide is for JavaScript projects that have not yet migrated.
Core Principles
File Basics
File naming:
- Use lowercase only
- Use underscores (
_) or dashes (-) but no other punctuation - Extension must be
.js - Examples:
my_module.js,user-service.js