coding-standard-javascript

Enforce JavaScript/TypeScript naming conventions for files, variables, functions, classes, and constants.

27|7|Updated Dec 6, 2025
One-click install
npx skills add https://github.com/jdubray/puffin --skill coding-standard-javascript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standard-javascript
Source: https://github.com/jdubray/puffin/tree/main/.claude/skills/coding-standard-javascript
Command: npx skills add https://github.com/jdubray/puffin --skill coding-standard-javascript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce JavaScript/TypeScript coding standards across a codebase to improve consistency and maintainability.

Core Features & Use Cases

  • Standardizes file naming and identifiers across projects to reduce cognitive load and review time.
  • Enforces kebab-case file names, camelCase variables and functions, PascalCase classes, and UPPER_SNAKE_CASE constants to match common style guides.
  • Use Case: When onboarding a new JS/TS project or auditing an existing codebase, apply the standards to align naming and structure.

Quick Start

Audit your project against these coding standards and rename files, variables, and classes to match the rules.

Frequently Asked Questions about coding-standard-javascript

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

FAQPage Schema
What are the standard naming conventions for JavaScript and TypeScript codebases?

JavaScript and TypeScript coding standards enforce kebab-case file names, camelCase variables and functions, PascalCase classes, and UPPER_SNAKE_CASE constants to reduce cognitive load and review time.

How do I enforce naming conventions during a JavaScript code review?

During JavaScript code reviews, enforce naming conventions by checking that file names use kebab-case, variables use camelCase, classes use PascalCase, and constants use UPPER_SNAKE_CASE, guiding refactors as needed.

When do I need to apply coding standards to an existing TypeScript project?

Apply coding standards when onboarding a new JavaScript or TypeScript project or auditing an existing codebase to align naming and structure, ensuring maintainability and consistency.

Can I use these coding standards for both JavaScript and TypeScript projects?

Yes, these coding standards apply to JavaScript and TypeScript projects of varying sizes, enforcing naming conventions for files, variables, functions, and classes, with optional TypeScript typing considerations.

What is the best way to audit a codebase for naming convention inconsistencies?

Audit your project against coding standards and rename files, variables, functions, and classes to match kebab-case, camelCase, PascalCase, and UPPER_SNAKE_CASE rules for a consistent codebase.