coding-standard-javascript
БесплатноБез исполняемых скриптовНе проверенEnforce JavaScript/ES6+ and TypeScript coding standards including camelCase variables, PascalCase classes, and kebab-case filenames.
Об этом скилле
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.jsor.spec.jssuffix (e.g.,user-service.test.js) - Type definition files: Use
.d.tssuffix (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
handleoron(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.,IUserServiceorUserService) - 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
Установить coding-standard-javascript в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл coding-standard-javascript?
Enforce JavaScript/ES6+ and TypeScript coding standards including camelCase variables, PascalCase classes, and kebab-case filenames.
Как установить скилл coding-standard-javascript?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coding-standard-javascript запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic