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.zip

Installs 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。
56 charsno explicit “when” trigger
Beginner

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

You give it
Code that needs to adhere to specific style guidelines.
You get back
Code that follows defined naming conventions, formatting rules, and import ordering.

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 排序

  1. 外部套件
  2. 內部模組(@/ 路徑)
  3. 相對路徑

已知注意事項

(由 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.

SkillInstallsUpdatedSafetyDifficulty
code-style (this skill)05moNo flagsBeginner
typescript-review392moNo flagsIntermediate
antfu63moReviewIntermediate
ast-grep-find37moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry