John Haugabook

HTML Coder

開發程式設計v2.0.1
作者:John Haugabook更新於 2026-05-11共 3 個版本 · 最新版本釋出於 2026-03-09html-coder@clawhub_jhauga/html-coder
程式碼生成前端開發

據 AlphaMoat 統計,截至 2026-09,HTML Coder 累計下載 4,702 次、獲 8 個星標,在全部 5,078 個 AI 技能中排名第 2,019 位,在「開發程式設計」分類(577 個)中排名第 259 位。

累計安裝
161
累計下載
4702
星標
8
全站排名
#2,019
全站前 40% · 「開發程式設計」前 45%
平台累計安裝累計下載星標評論
ClawHub ↗7725764-
SkillHub ↗16147028—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

圍繞語義化結構、無障礙表單、響應式媒體和瀏覽器 API 提供實踐指導,也涵蓋驗證與可存取性排查。建議使用有含義的頁面元素、清晰的標題層級、替代文字、表單標籤和鍵盤導航;可先利用內建表單校驗,並檢查圖像載入和頁面效能。參考示例或第三方依賴前,應按專案要求複核其正確性、可存取性和供應鏈風險。 還應檢查圖像載入、DOM 深度和非關鍵腳本延遲以改善頁面效能;設定實際內容語言,測試鍵盤和螢幕閱讀器行為,並以功能偵測配合替代方案。審查第三方相依套件及完整性檢查,使用腳本時套用適當 Content Security Policy;這些是實作指引而非無障礙認證。

資料釋出於 2026-10-27

可以用來做什麼

  • 編寫語義清晰、便於存取的 HTML 頁面

什麼時候用

  • 實現帶標籤和內建校驗的表單或響應式媒體

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢查這段 HTML 的語義結構、鍵盤操作和表單標籤,並提出可驗證的修改建議。

月度資料趨勢

累計下載4702
612280950052026-03 · 累計下載 9152026-05 · 累計下載 17962026-06 · 累計下載 20262026-07 · 累計下載 24092026-08 · 累計下載 31542026-09 · 累計下載 470226-0326-09
星標8
2582026-03 · 星標 22026-05 · 星標 52026-06 · 星標 52026-07 · 星標 82026-08 · 星標 82026-09 · 星標 826-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-094702—8
2026-083154+30.9%8
2026-072409+18.9%8
2026-062026+12.8%5
2026-051796—5
2026-03915—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.1 KB · ClawHub v2.0.1
---
name: html-coder
description: 'Expert HTML development skill for building web pages, forms, and interactive content. Use when creating HTML documents, structuring web content, implementing semantic markup, adding forms and media, working with HTML5 APIs, or needing HTML templates, best practices, and accessibility guidance. Supports modern HTML5 standards and responsive design patterns.'
collaborators:
  - make-skill-template
  - finalize-agent-prompt
---

# HTML Coder Skill
展開全部(共 108 行)
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`](references/add-css-style.md) - Add CSS via `link` tag, inline, or embedded in html
- [`references/add-javascript.md`](references/add-javascript.md) - Add JavaScript via `script src="link.js"` tag, inline `script`, or embedded in html
- [`references/attributes.md`](references/attributes.md) - HTML attribute essentials
- [`references/essentials.md`](references/essentials.md) - Semantic markup, validation, responsive techniques
- [`references/global-attributes.md`](references/global-attributes.md) - Complete global attribute information
- [`references/glossary.md`](references/glossary.md) - Complete HTML element and attribute reference
- [`references/standards.md`](references/standards.md) - HTML5 specifications and standards

## Best Practices

**Semantic HTML** - Use elements that convey meaning: `<article>`, `<nav>`, `<header>`, `<section>`, `<footer>`, 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 `<picture>`, srcset, and `loading="lazy"` for performance.

**Performance** - Minimize DOM depth, optimize images, defer non-critical scripts, use semantic elements.

## Quick Patterns

### Semantic Page Structure
```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Page Title</title>
</head>
<body>
  <header><nav><!-- Navigation --></nav></header>
  <main><article><!-- Content --></article></main>
  <aside><!-- Sidebar --></aside>
  <footer><!-- Footer --></footer>
</body>
</html>
```

### Accessible Form
```html
<form method="post" action="/submit">
  <fieldset>
    <legend>Contact</legend>
    <label for="email">Email:</label>
    <input type="email" id="email" name="email" required
           pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$">
    <button type="submit">Send</button>
  </fieldset>
</form>
```

### Responsive Image
```html
<picture>
  <source media="(min-width: 1200px)" srcset="large.webp">
  <source media="(min-width: 768px)" srcset="medium.webp">
  <img src="small.jpg" alt="Description" loading="lazy">
</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

---

「開發程式設計」分類下的熱門技能

John Haugabook 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。