coding-html
当编写或编辑HTML或Jinja时。
📖 中文导读:当编写或编辑HTML或Jinja时。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: coding-html description: When html or jinja are being written or edited.
HTML coding standards
Syntax & Style
Spacing: Keep vertical spacing compact (no excessive blank lines). Readability: Prioritize readable code over "clever" one-liners.
CSS
In-line css: Prefer use of classes from .css files to in-line css, unless explicitely justified.
JS
In-line js: Prefer including from functions in .js files to in-line js, unless explicitly justified.
Comments
Preserve comments: Do NOT delete existing, still relevant comments.
Logic & Operations
File Collisions: If a file exists, append _[timestamp] to the new filename. Simplicity: Choose the simplest working solution.