js-google

Enforce Google's official JavaScript Style Guide for writing, reviewing, and refactoring code.

193|17|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/pproenca/dot-skills --skill js-google
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: js-google
Source: https://github.com/pproenca/dot-skills/tree/main/skills/.experimental/js-google
Command: npx skills add https://github.com/pproenca/dot-skills --skill js-google

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps developers write cleaner, more maintainable, and less error-prone JavaScript code by enforcing a comprehensive set of best practices based on Google's official style guide.

Core Features & Use Cases

  • Style Enforcement: Ensures consistent code formatting, naming conventions, and syntax.
  • Bug Prevention: Highlights and corrects common pitfalls in module management, language features, and error handling.
  • Use Case: When refactoring a legacy JavaScript codebase, use this Skill to automatically identify and fix style violations, improve readability, and reduce the likelihood of introducing new bugs.

Quick Start

Apply the js-google skill to review and refactor the provided JavaScript code snippet for style and best practices.

Frequently Asked Questions about js-google

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Google's JavaScript style guide when refactoring legacy code?

To enforce Google's JavaScript style guide during refactoring, apply automated checks to identify style violations, correct module management pitfalls, and improve code readability to reduce bugs.

What JavaScript best practices prevent common bugs in ES6 code?

JavaScript best practices for ES6 bug prevention include enforcing type safety, proper module systems, consistent naming conventions, and structured control flow to enhance overall code maintainability.

Can I use this to review JavaScript code formatting and naming conventions?

Yes, you can review JavaScript code formatting and naming conventions to ensure consistent syntax, identify style violations, and enforce language feature guidelines based on Google's official style guide.

What's the best way to improve JavaScript code quality for module systems and functions?

The best way to improve JavaScript code quality is enforcing guidelines for module systems, functions, objects, and arrays, which prevents common errors and enhances maintainability through structured automated checks.

Why does my JavaScript code fail type safety and control flow checks?

JavaScript code fails type safety and control flow checks when it violates style guide rules for language features, error handling, and formatting, which automated guidance identifies and helps correct.