Loading...
Loading...
JavaScript style and best practices based on Google's official JavaScript Style Guide. This skill should be used when writing, reviewing, or refactoring JavaScript code to ensure consistent style and prevent common bugs. Triggers on tasks involving JavaScript, ES6, modules, JSDoc, naming conventions, or code formatting.
npx skill4agent add pproenca/dot-skills js-google| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Module System & Imports | CRITICAL | |
| 2 | Language Features | CRITICAL | |
| 3 | Type Safety & JSDoc | HIGH | |
| 4 | Naming Conventions | HIGH | |
| 5 | Control Flow & Error Handling | MEDIUM-HIGH | |
| 6 | Functions & Parameters | MEDIUM | |
| 7 | Objects & Arrays | MEDIUM | |
| 8 | Formatting & Style | LOW | |
module-avoid-circular-dependenciesmodule-file-extension-in-importsmodule-named-exports-over-defaultmodule-no-duplicate-importsmodule-no-import-aliasingmodule-source-file-structurelang-const-over-let-over-varlang-es6-classes-over-prototypeslang-explicit-semicolonslang-no-evallang-no-modify-builtinslang-no-non-standard-featureslang-no-primitive-wrapperslang-no-with-statementtype-cast-with-parenthesestype-enum-annotationstype-explicit-nullabilitytype-jsdoc-required-for-exportstype-template-parameterstype-typedef-for-complex-typesnaming-constant-case-for-constantsnaming-descriptive-over-briefnaming-file-naming-conventionsnaming-lowercamelcase-for-methodsnaming-no-dollar-prefixnaming-uppercamelcase-for-classescontrol-comment-empty-catchcontrol-for-of-over-for-incontrol-strict-equalitycontrol-switch-default-lastcontrol-throw-error-objectsfunc-arrow-functions-for-nestedfunc-arrow-parenthesesfunc-default-parametersfunc-rest-parameters-over-argumentsfunc-spread-over-applydata-array-literals-over-constructordata-destructuring-for-multiple-valuesdata-no-mixing-quoted-unquoted-keysdata-object-literals-over-constructordata-spread-over-concat-slicedata-trailing-commasformat-braces-requiredformat-column-limitformat-one-statement-per-lineformat-single-quotesformat-two-space-indent| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |