code-style
Maintains standardized code styling across the project for naming, formatting, and imports.
Install
mkdir -p .claude/skills/code-style-maxyeh0817 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12244" && unzip -o skill.zip -d .claude/skills/code-style-maxyeh0817 && rm skill.zipInstalls to .claude/skills/code-style-maxyeh0817
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
程式碼風格規範。定義命名慣例、格式化規則、import 排序等。 所有開發類 agent 應注入此 skill。Key capabilities
- →Define naming conventions for variables, functions, components, types, constants, and filenames.
- →Specify formatting rules for indentation, quotes, semicolons, and line width.
- →Order import statements for external packages, internal modules, and relative paths.
- →Provide guidelines for code style consistency.
How it works
The skill defines a set of rules for naming conventions, formatting, and import ordering to ensure consistent code style across a project.
Inputs & outputs
When to use code-style
- →Standardizing code style
- →Checking import order
- →Validating naming conventions
About this skill
Code Style 規範
命名慣例
- 變數/函數:camelCase
- 元件/類型:PascalCase
- 常數:UPPER_SNAKE_CASE
- 檔案名:kebab-case(元件檔除外,用 PascalCase)
格式化
- 縮排:2 spaces
- 引號:single quotes
- 分號:不使用
- 行寬上限:100 字元
Import 排序
- 外部套件
- 內部模組(@/ 路徑)
- 相對路徑
已知注意事項
(由 QA 迭代時追加)
詳細模式參考:references/patterns.md 歷史教訓:references/lessons.md
When not to use it
- →When the user does not want to enforce specific code style guidelines.
- →When the project does not require standardized naming conventions or formatting rules.
Limitations
- →The skill only covers naming conventions, formatting, and import ordering.
- →The skill does not cover other aspects of code quality or functionality.
How it compares
This skill provides explicit, detailed rules for code style, including specific naming conventions and formatting, which is more prescriptive than general coding practices.
Compared to similar skills
code-style side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| code-style (this skill) | 0 | 5mo | No flags | Beginner |
| typescript-review | 39 | 2mo | No flags | Intermediate |
| antfu | 6 | 3mo | Review | Intermediate |
| ast-grep-find | 3 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
typescript-review
metabase
Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.
antfu
antfu
Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.
ast-grep-find
parcadei
AST-based code search and refactoring via ast-grep MCP
code-standards
redpanda-data
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
naming-analyzer
davila7
Suggest better variable, function, and class names based on context and conventions.
dead-code
parcadei
Find unused functions and dead code in the codebase