coding-standard-java
БесплатноБез исполняемых скриптовНе проверенEnforce Java coding standards including camelCase variables, PascalCase classes, and PascalCase filenames matching class names.
Об этом скилле
Java Coding Standards
When reviewing or generating Java code, follow these rules:
File Naming
- Source files: PascalCase matching the public class name (e.g.,
UserService.java) - One public class per file: File name must match the public class name exactly
- Test files: Class name with
Testsuffix (e.g.,UserServiceTest.java) - Interface files: PascalCase (e.g.,
Comparable.java,UserRepository.java)
Package Naming
- Packages: All lowercase, dot-separated (e.g.,
com.example.service,org.project.utils) - No underscores or hyphens in package names
- Follow reverse domain name convention
Variable Naming
- Local variables: camelCase (e.g.,
userName,isActive,totalCount) - Instance variables: camelCase (e.g.,
userId,createdAt) - Constants: UPPER_SNAKE_CASE with
static final(e.g.,MAX_RETRIES,DEFAULT_TIMEOUT) - Boolean variables: Prefix with
is,has,can,should(e.g.,isEnabled,hasPermission)
Method Naming
- Methods: camelCase, verb or verb phrase (e.g.,
calculateTotal(),getUserById()) - Getters:
getprefix (e.g.,getName(),getId()) - Setters:
setprefix (e.g.,setName(),setId()) - Boolean getters:
isorhasprefix (e.g.,isActive(),hasChildren()) - Factory methods:
create,of,from,valueOf(e.g.,createInstance(),of())
Class/Interface Naming
- Classes: PascalCase, noun or noun phrase (e.g.,
UserService,OrderProcessor) - Interfaces: PascalCase, adjective or noun (e.g.,
Comparable,UserRepository) - Abstract classes: PascalCase, optionally prefix with
Abstract(e.g.,AbstractHandler) - Exception classes: PascalCase with
Exceptionsuffix (e.g.,InvalidInputException) - Enums: PascalCase for type, UPPER_SNAKE_CASE for values
Generics
- Type parameters: Single uppercase letter (e.g.,
T,E,K,V) - Meaningful names: When clarity needed (e.g.,
<Key, Value>)
Organization
- Package statement first
- Import statements (java., javax., third-party, project imports)
- Class declaration with fields, constructors, methods
- Public methods before private methods
Установить coding-standard-java в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл coding-standard-java?
Enforce Java coding standards including camelCase variables, PascalCase classes, and PascalCase filenames matching class names.
Как установить скилл coding-standard-java?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coding-standard-java запускает скрипты?
Нет, скилл состоит только из инструкций (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