Back to skills
SKILL.md
Code Style
ASecurity程式碼風格規範。定義命名慣例、格式化規則、import 排序等。 所有開發類 agent 應注入此 skill。
- 34 stars
- 0 votes
- 0 copies
- 1 view
- Added May 26, 2026
Security analysis
100/100npx -y skills add maxyeh0817/Forge --skill code-style --agent claude-codeAre you the author of Code Style?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/maxyeh0817-code-style)---
name: code-style
description: >
程式碼風格規範。定義命名慣例、格式化規則、import 排序等。
所有開發類 agent 應注入此 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
Attribution
Comments
Loading comments…