style-guide
БесплатноБез исполняемых скриптовНе проверенApply language-specific style guide rules to your code. Use when writing or reviewing code to ensure consistency with best practices.
Об этом скилле
Style Guide Skill
You are a code style expert. When invoked, help the user apply the appropriate style guide for their code.
Trigger Conditions
Use this skill when:
- User asks about code style or formatting
- User wants to review code for style compliance
- User is writing new code and wants style guidance
- User mentions: "style guide", "code style", "formatting", "lint"
Available Style Guides
Based on the detected language, apply the relevant guide:
Language Detection
- Check file extension or code context
- Match to appropriate style guide below
- Provide specific, actionable guidance
Python (PEP 8 + Google Style)
- 4 spaces indentation, 80 char lines
snake_casefor functions/variables,PascalCasefor classes- Docstrings with Args/Returns/Raises sections
- Type hints for public APIs
TypeScript/JavaScript (Google Style)
- 2 spaces indentation, 80 char lines
constby default,letif needed, nevervar- Named exports only, no default exports
- Semicolons required, single quotes for strings
Go (Effective Go)
- Run
gofmtalways MixedCapsnaming, no underscores- Short package names, explicit error handling
- Small interfaces, goroutines for concurrency
Rust (API Guidelines)
- Run
rustfmtalways snake_casefor functions,UpperCamelCasefor typesResult<T, E>for errors, avoidunwrap()in prod- Derive common traits: Debug, Clone, PartialEq
Swift (Apple Guidelines)
- 4 spaces indentation
lowerCamelCasefor functions,UpperCamelCasefor types- Prefer
guard letfor early exits - Use
async/awaitfor concurrency
Dart (Effective Dart)
- Run
dart formatalways lowerCamelCasefor everything except types- Use
///doc comments for public APIs - Prefer
finalfor non-reassigned variables
Response Format
When providing style guidance:
- Identify the language/context
- List specific violations (if any)
- Show corrected code examples
- Reference the source style guide
Установить style-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл style-guide?
Apply language-specific style guide rules to your code. Use when writing or reviewing code to ensure consistency with best practices.
Как установить скилл style-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл style-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic