KS
Killer-Skills

coding-standard-javascript — how to use coding-standard-javascript how to use coding-standard-javascript, javascript coding standards, typescript coding best practices, coding-standard-javascript setup guide, coding-standard-javascript alternative, javascript file naming conventions, typescript variable naming rules

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/7/2026

Quality Score

Top 5%
29
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add jdubray/puffin/coding-standard-javascript

Agent Capability Analysis

The coding-standard-javascript MCP Server by jdubray is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use coding-standard-javascript, javascript coding standards, typescript coding best practices.

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 MCP Server

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
Project
SKILL.md
1.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
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

Related Skills

Looking for an alternative to coding-standard-javascript or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

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
Communication

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
Communication