javascript-coding-standards

Codify JavaScript coding standards for reviews and development.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/kleon6436/GitHubCopilotSettings --skill javascript-coding-standards-kleon6436
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: javascript-coding-standards
Source: https://github.com/kleon6436/GitHubCopilotSettings/tree/main/skills/javascript-coding-standards
Command: npx skills add https://github.com/kleon6436/GitHubCopilotSettings --skill javascript-coding-standards-kleon6436

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill defines JavaScript coding conventions to reference during code reviews and implementation, helping teams keep code consistent and maintainable.

Core Features & Use Cases

  • Naming conventions: standardize variable, function, class, and constant naming (lowerCamelCase, UpperCamelCase, UPPER_SNAKE_CASE, leading underscores, kebab-case for file names) to improve readability and predictability.
  • Code formatting & modules: enforce indentation, line length, string quotes priority, semicolon usage, trailing commas, and ES Modules usage to ensure a uniform codebase and predictable bundling.
  • Functions, async, and error handling: promote arrow functions for callbacks, named exports, default parameters, robust try/catch blocks, and consistent error classes to improve reliability.

Quick Start

Apply the JavaScript coding standards to your project by aligning naming, formatting, and module rules across new and existing files.

Frequently Asked Questions about javascript-coding-standards

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

FAQPage Schema
What JavaScript coding standards should I use for consistent code reviews?

JavaScript coding standards for code reviews should cover naming conventions like lowerCamelCase and UPPER_SNAKE_CASE, formatting rules for indentation and semicolons, ES Modules usage, and async error handling to ensure maintainability.

How do I enforce JavaScript naming conventions and formatting across a large codebase?

You can enforce JavaScript naming and formatting standards across a large codebase by codifying rules for variable declarations, string quotes, and trailing commas, then integrating these rules directly with your CI pipelines and editor tooling.

Does this JavaScript style guide work with ESLint and existing CI pipelines?

Yes, the JavaScript coding standards are designed to integrate with CI and editor tooling like ESLint, allowing teams to automatically enforce style rules, module usage, and error handling guidelines across new and existing files.

What is the best way to standardize async handling and error classes in JavaScript?

The best way to standardize JavaScript async handling is to promote arrow functions for callbacks, use named exports with default parameters, and implement robust try/catch blocks with consistent error classes for improved reliability.

Can I apply these JavaScript style rules to both new and existing project files?

Yes, you can apply the JavaScript coding standards to both new and existing files by aligning naming, formatting, and module rules across your project, ensuring a uniform codebase and predictable bundling during feature work.

Why use ES Modules and named exports for JavaScript codebase consistency?

Using ES Modules and named exports ensures a uniform codebase and predictable bundling, while standardizing variable declarations and function structures helps teams maintain readability and reliability during development.