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-code

Installs 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

PriorityCategoryImpactPrefix
1Module System & ImportsCRITICALmodule-
2Language FeaturesCRITICALlang-
3Type Safety & JSDocHIGHtype-
4Naming ConventionsHIGHnaming-
5Control Flow & Error HandlingMEDIUM-HIGHcontrol-
6Functions & ParametersMEDIUMfunc-
7Objects & ArraysMEDIUMdata-
8Formatting & StyleLOWformat-

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
1rysweet avatarstorytelling-synthesizerrysweet/amplihackConverts technical work into compelling narratives for demos, blog posts, or presentations. Use when preparing hackathon demos, writing technical blog posts, or311skills.sh installs
2pproenca avatarharness-engineeringpproenca/dot-skillsSet up or update the agent-first engineering harness for any repository. Implements the complete scaffolding that makes AI coding agents effective: knowledge ma305skills.sh installs
3nicepkg avatarremove-old-skills-from-workflownicepkg/ai-workflowGuide for removing skills from an existing workflow and updating all related documentation. Use when user wants to remove skills from a workflow (e.g., "remove 283skills.sh installs
4pproenca avatardev-rfcpproenca/dot-skillsCreate well-structured RFCs and technical proposals for software projects. Use this skill whenever the user wants to write an RFC, technical proposal, design do279skills.sh installs
5raphaelsalaja avatar12-principles-of-animationraphaelsalaja/userinterface-wikiAudit animation code against Disney's 12 principles adapted for web. Use when reviewing motion, implementing animations, or checking animation quality. Outputs 275skills.sh installs
6jal-co avatarshieldcn-badgesjal-co/shieldcnAdd beautiful shadcn/ui-styled README badges to projects using shieldcn. Use when adding badges, shields, or status indicators to README files, docs, or markdow271skills.sh installs