Skip to content

Google-style JavaScript rules for writing, reviewing, and refactoring code, grouped by priority from modules to formatting.

CCM score
52 of 100
skills.sh installs
327
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 47 rules across 8 categories: module system, language features, JSDoc types, naming, control flow, functions, data, and formatting
  • Enforces rules such as const over let and never var, explicit semicolons, strict equality, and single quotes with two-space indentation
  • Requires JSDoc on exported functions, explicit nullability, and typedefs for complex object types
  • Designed for AI agents and LLMs that generate or refactor JavaScript and need consistent style guidance

Install

$ npx -y skills add pproenca/dot-skills --skill js-google -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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)

Details

Repository
github.com/pproenca/dot-skills
Categories
Code Review & Quality, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the js-google skill do?

The js-google skill applies JavaScript style and best practices based on Google's official JavaScript Style Guide. It covers 47 rules across 8 categories, from module imports and language features to JSDoc types, naming, and formatting, to guide writing, reviewing, and refactoring JavaScript code.

How do I install the js-google skill?

Run npx -y skills add pproenca/dot-skills --skill js-google -y in a project to install it. Once installed, the agent can apply the Google JavaScript style rules when it writes, reviews or refactors JavaScript and ES6 code.

Where does js-google stand in the Code Review & Quality category?

js-google is listed in the Code Review & Quality category on Claude Marketplaces, alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. It differs from those by focusing on the Google JavaScript Style Guide for JavaScript code style and consistency.

More from pproenca/dot-skills

All 100

Similar to Js Google

More Code Review & Quality