
Js Google
This implements Google's JavaScript Style Guide as a structured ruleset for code generation and review. It covers 47 rules across 8 categories, from critical stuff like module system patterns and const over let to lower priority formatting details. The priority system is smart: it puts things that actually break code (circular dependencies, eval usage) ahead of style preferences. Each rule links to its own reference file with examples. If you're generating JavaScript code or doing automated refactoring, this gives you a consistent baseline that matches what most large codebases already follow. The named exports preference and explicit semicolons will be polarizing for some teams, but at least it's opinionated enough to be useful.
- skills.sh installs
- 317
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill js-google --agent claude-codeInstalls into .claude/skills of the current project.
Files
Google JavaScript Best Practices
Comprehensive JavaScript style and best practices guide based on Google's official JavaScript Style Guide, designed for AI agents and LLMs. Contains 47 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Writing new JavaScript or ES6+ code
- Structuring modules and managing imports/exports
- Adding JSDoc type annotations and documentation
- Reviewing code for naming and style consistency
- Refactoring existing JavaScript code
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Module System & Imports | CRITICAL | module- |
| 2 | Language Features | CRITICAL | lang- |
| 3 | Type Safety & JSDoc | HIGH | type- |
| 4 | Naming Conventions | HIGH | naming- |
| 5 | Control Flow & Error Handling | MEDIUM-HIGH | control- |
| 6 | Functions & Parameters | MEDIUM | func- |
| 7 | Objects & Arrays | MEDIUM | data- |
| 8 | Formatting & Style | LOW | format- |
Quick Reference
1. Module System & Imports (CRITICAL)
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Documentation, Code Review & Quality
- First seen
- Jun 3, 2026
More from pproenca/dot-skills
All 100- Tailwind Refactor314
- Pulumi310
- Harness Engineering305
- Ios Hig303
- Rails Testing301
- Think301
- Ruby Refactor299
- Ios Xcode298
- Restful Hateoas298
- Rails Dev293
- Ios Ui Refactor291
- Ruby Optimise286
- Swift Optimise285
- Ios Testing281
- Swift Refactor281
- Dev Rfc279
- Swift Ui Architect273
- Ios Taste272
- Ios Storyboard270
- Rails Design System270
- Swift Data268
- Ios Chaos Monkey267
- Ios Navigation267
- Nginx C Module Perf260