HTML Coder
/install html-coder
HTML Coder Skill
Expert skill for professional HTML development with focus on semantic markup, accessibility, HTML5 features, and standards-compliant web content.
When to Use This Skill
- Creating HTML documents with semantic structure
- Building accessible forms with HTML5 validation
- Implementing responsive markup and multimedia
- Using HTML5 APIs (Canvas, SVG, Storage, Geolocation)
- Troubleshooting validation or accessibility issues
Core Capabilities
- Semantic HTML: Document structure, content sections, accessibility-first markup
- Forms: All input types, validation attributes, fieldsets, labels
- Media: Responsive images, audio/video, Canvas, SVG
- HTML5 APIs: Web Storage, Geolocation, Drag & Drop, Web Workers
- Accessibility: ARIA, screen reader support, WCAG compliance
Essential References
Core documentation for HTML experts:
references/add-css-style.md- Add CSS vialinktag, inline, or embedded in htmlreferences/add-javascript.md- Add JavaScript viascript src="link.js"tag, inlinescript, or embedded in htmlreferences/attributes.md- HTML attribute essentialsreferences/essentials.md- Semantic markup, validation, responsive techniquesreferences/global-attributes.md- Complete global attribute informationreferences/glossary.md- Complete HTML element and attribute referencereferences/standards.md- HTML5 specifications and standards
Best Practices
Semantic HTML - Use elements that convey meaning: \x3Carticle>, \x3Cnav>, \x3Cheader>, \x3Csection>, \x3Cfooter>, not div soup.
Accessibility First - Proper heading hierarchy, alt text, labels with inputs, keyboard navigation, ARIA when needed.
HTML5 Validation - Leverage built-in validation (required, pattern, type="email") before JavaScript.
Responsive Images - Use \x3Cpicture>, srcset, and loading="lazy" for performance.
Performance - Minimize DOM depth, optimize images, defer non-critical scripts, use semantic elements.
Quick Patterns
Semantic Page Structure
\x3C!DOCTYPE html>
\x3Chtml lang="en">
\x3Chead>
\x3Cmeta charset="UTF-8">
\x3Cmeta name="viewport" content="width=device-width, initial-scale=1.0">
\x3Ctitle>Page Title\x3C/title>
\x3C/head>
\x3Cbody>
\x3Cheader>\x3Cnav>\x3C!-- Navigation -->\x3C/nav>\x3C/header>
\x3Cmain>\x3Carticle>\x3C!-- Content -->\x3C/article>\x3C/main>
\x3Caside>\x3C!-- Sidebar -->\x3C/aside>
\x3Cfooter>\x3C!-- Footer -->\x3C/footer>
\x3C/body>
\x3C/html>
Accessible Form
\x3Cform method="post" action="/submit">
\x3Cfieldset>
\x3Clegend>Contact\x3C/legend>
\x3Clabel for="email">Email:\x3C/label>
\x3Cinput type="email" id="email" name="email" required
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$">
\x3Cbutton type="submit">Send\x3C/button>
\x3C/fieldset>
\x3C/form>
Responsive Image
\x3Cpicture>
\x3Csource media="(min-width: 1200px)" srcset="large.webp">
\x3Csource media="(min-width: 768px)" srcset="medium.webp">
\x3Cimg src="small.jpg" alt="Description" loading="lazy">
\x3C/picture>
Troubleshooting
- Validation: W3C Validator (validator.w3.org), check unclosed tags, verify nesting
- Accessibility: Lighthouse audit, screen reader testing, keyboard nav, color contrast
- Compatibility: Can I Use (caniuse.com), feature detection, provide fallbacks
Key Standards
- WHATWG HTML Living Standard: https://html.spec.whatwg.org/
- WCAG Accessibility: https://www.w3.org/WAI/WCAG21/quickref/
- MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/HTML
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install html-coder - 安装完成后,直接呼叫该 Skill 的名称或使用
/html-coder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
HTML Coder 是什么?
Expert HTML development skill for building web pages, forms, and interactive content. Use when creating HTML documents, structuring web content, implementing... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1110 次。
如何安装 HTML Coder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install html-coder」即可一键安装,无需额外配置。
HTML Coder 是免费的吗?
是的,HTML Coder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
HTML Coder 支持哪些平台?
HTML Coder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 HTML Coder?
由 John Haugabook(@jhauga)开发并维护,当前版本 v2.0.1。