coding-standard-javascript — javascript coding standards coding-standard-javascript, puffin, community, javascript coding standards, ide skills, javascript file naming conventions, typescript variable naming rules, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing to maintain clean and readable JavaScript/TypeScript codebases. coding-standard-javascript is a set of rules for JavaScript/TypeScript coding, covering file naming conventions, variable naming, and test file suffixes.

Features

Enforces kebab-case naming for source and component files
Supports camelCase naming for variables
Uses .test.js or .spec.js suffix for test files
Generates type definition files with .d.ts suffix
Applies to both JavaScript and TypeScript code

# Core Topics

jdubray jdubray
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The coding-standard-javascript skill by jdubray is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for javascript coding standards, javascript file naming conventions, typescript variable naming rules.

Ideal Agent Persona

Perfect for Frontend Agents needing to maintain clean and readable JavaScript/TypeScript codebases.

Core Value

Empowers agents to enforce consistent naming conventions, such as kebab-case for source files and camelCase for variables, ensuring seamless collaboration and code review using JavaScript/TypeScript coding standards.

Capabilities Granted for coding-standard-javascript

Standardizing file naming conventions for source and test files
Enforcing variable naming rules for improved code readability
Generating consistent type definition files with .d.ts suffix

! Prerequisites & Limits

  • Limited to JavaScript and TypeScript languages
  • Requires adherence to specific naming conventions
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

coding-standard-javascript

Install coding-standard-javascript, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly

JavaScript/TypeScript Coding Standards

When reviewing or generating JavaScript/TypeScript code, follow these rules:

File Naming

  • Source files: Use kebab-case (e.g., user-service.js, api-client.ts)
  • Component files: Use kebab-case (e.g., user-profile.js, data-table.tsx)
  • Test files: Use .test.js or .spec.js suffix (e.g., user-service.test.js)
  • Type definition files: Use .d.ts suffix (e.g., api-types.d.ts)

Variable Naming

  • Variables: camelCase (e.g., userName, isActive, totalCount)
  • Constants: UPPER_SNAKE_CASE for true constants (e.g., MAX_RETRIES, API_BASE_URL)
  • Boolean variables: Prefix with is, has, can, should (e.g., isLoading, hasError)

Function Naming

  • Functions: camelCase (e.g., calculateTotal(), fetchUserData())
  • Async functions: Consider prefixing with action verb (e.g., loadUsers(), saveDocument())
  • Event handlers: Prefix with handle or on (e.g., handleClick, onSubmit)
  • Factory functions: Prefix with create (e.g., createUser(), createConnection())

Class/Constructor Naming

  • Classes: PascalCase (e.g., UserService, DataProcessor, ApiClient)
  • Interfaces (TS): PascalCase, optionally prefix with I (e.g., IUserService or UserService)
  • Type aliases (TS): PascalCase (e.g., UserResponse, ConfigOptions)
  • Enums (TS): PascalCase for enum name, UPPER_SNAKE_CASE for values

Private Members

  • Private fields: Prefix with underscore (e.g., _privateData, _internalState)
  • Private methods: Prefix with underscore (e.g., _validateInput(), _processData())

Module Organization

  • Group imports: external packages first, then internal modules
  • Export public API at the bottom of the file
  • One class/component per file when possible

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is coding-standard-javascript?

Perfect for Frontend Agents needing to maintain clean and readable JavaScript/TypeScript codebases. coding-standard-javascript is a set of rules for JavaScript/TypeScript coding, covering file naming conventions, variable naming, and test file suffixes.

How do I install coding-standard-javascript?

Run the command: npx killer-skills add jdubray/puffin/coding-standard-javascript. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for coding-standard-javascript?

Key use cases include: Standardizing file naming conventions for source and test files, Enforcing variable naming rules for improved code readability, Generating consistent type definition files with .d.ts suffix.

Which IDEs are compatible with coding-standard-javascript?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for coding-standard-javascript?

Limited to JavaScript and TypeScript languages. Requires adherence to specific naming conventions.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add jdubray/puffin/coding-standard-javascript. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use coding-standard-javascript immediately in the current project.

Related Skills

Looking for an alternative to coding-standard-javascript or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI