coding-html
Installation
SKILL.md
HTML / Jinja2 Coding Standards
Syntax & Style
- Quotes: Enforce Double Quotes (
") over single quotes (') for HTML attributes and Jinja expressions.- Good:
<input type="text" name="email"> - Bad:
<input type='text' name='email'>
- Good:
- Spacing: Keep vertical spacing compact — no excessive blank lines between elements.
- Indentation: 2 spaces per level for HTML and Jinja blocks.
- Readability: Prioritize readable, explicit markup over terse or clever one-liners.
- Editor mode: Read skill-local guidance only when
.kilocode/skills/coding-html/AGENTS.mdis confirmed to exist; otherwise use rootAGENTS.mdfor project-specific editor mode guidance.
CSS
Inline CSS: Prefer classes from .css files over inline style="" attributes, unless explicitly justified (e.g., dynamic values injected by Python).
JavaScript
Inline JS: Prefer referencing functions from .js files over inline <script> blocks or onclick="" attributes, unless explicitly justified.