← 返回 Skills 市场
jhauga

HTML Coder

作者 John Haugabook · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ✓ 安全检测通过
1110
总下载
2
收藏
8
当前安装
3
版本数
在 OpenClaw 中安装
/install html-coder
功能描述
Expert HTML development skill for building web pages, forms, and interactive content. Use when creating HTML documents, structuring web content, implementing...
使用说明 (SKILL.md)

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:

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


安全使用建议
This appears to be a coherent, instruction-only HTML reference skill and does not request credentials or install software. Before installing, consider that the skill's provenance/homepage is unknown — if you need an auditable source prefer skills with known authors or hosted repos. Also review any generated HTML that pulls remote resources (CDNs, analytics) before using it in production: add SRI/integrity attributes and confirm you are comfortable including third‑party resources. Finally, always review produced code for security/accessibility details (CSP, form endpoints, input validation) before deploying.
功能分析
Type: OpenClaw Skill Name: html-coder Version: 2.0.1 The html-coder skill bundle is a comprehensive and well-documented set of instructions and references designed to assist an AI agent in professional HTML development. The SKILL.md file provides clear guidance on semantic markup, accessibility, and modern HTML5 standards, while the extensive reference files (e.g., references/standards.md, references/add-javascript.md) offer accurate technical information without any signs of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
Name and description match the included SKILL.md and reference files (HTML, accessibility, forms, media, HTML5 APIs). The skill does not request unrelated credentials, binaries, or configuration.
Instruction Scope
Runtime instructions are purely documentation and examples for HTML/CSS/JS authoring. They do not instruct the agent to read system files, access environment variables, or exfiltrate data. External URLs referenced are standards and common CDNs, which is expected for an HTML authoring skill.
Install Mechanism
No install spec and no code files that would be written to disk—this is an instruction-only skill, the lowest-risk install model.
Credentials
The skill declares no required environment variables, credentials, or config paths. The references include example CDN links and validator sites, which are appropriate for the stated purpose. Note: the skill's source/homepage are unknown, so provenance cannot be verified.
Persistence & Privilege
always is false and the skill does not request persistent/system privileges. The default ability for the agent to invoke the skill autonomously is normal and not concerning here given the lack of privileged operations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install html-coder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /html-coder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
- Expanded the "Essential References" section with additional documentation links, including guides for adding CSS and JavaScript, and detailed attribute references. - Updated the essential references list for improved clarity and usability. - No changes to functional code or behavior; documentation-only update. - Fix line from prompt thrown in
v2.0.0
Major update: focuses the skill on core HTML expertise, removes bundled templates, and streamlines documentation. - Vastly simplifies file set by removing 40 pre-built HTML templates and utility files - Adds new references for global attributes and glossary to strengthen documentation - Refines documentation to emphasize core HTML, accessibility, and best practices - Updates collaborator information and improves troubleshooting and standards sections - Now recommended for expert-level HTML usage, not as a template pack - Condense to essentials, removing assets
v1.0.0
- Initial release of the html-coder skill for expert HTML development. - Provides comprehensive guidance, templates, and best practices for modern, accessible HTML5 web content. - Covers document structure, semantic markup, forms, media, APIs, accessibility, and responsive design. - Includes quick reference guides, attribute references, UI/UX resources, and complete HTML templates for common website types. - Emphasizes semantic HTML, accessibility, validation, responsive images, and performance optimization.
元数据
Slug html-coder
版本 2.0.1
许可证 MIT-0
累计安装 8
当前安装数 8
历史版本数 3
常见问题

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。

💬 留言讨论