本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)7.1k · #13589

html-coder

できること

このスキルは、正しい構造、アクセシビリティ、最新の機能を持つHTMLページの作成を導きます。専門家ではない人にも、正しく作られた動くウェブページが必要な開発者向けです。

使う場面

  • ✓正しいHTML構造で、簡単なウェブページやフォームが必要なとき。
  • ✓マークアップのアクセシビリティや検証を確認したいとき。
  • ✓OpenSquillaのワークスペースでプレビューできるページがほしいとき。

スキルのリンク

https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/html-coder/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/html-coder/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“分かりやすいレイアウトでプレビューできる、シンプルでアクセシブルなお問い合わせページを作ってもらえますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、HTML、CSS、JavaScriptのファイルを入れる専用のプロジェクトフォルダを作り、マークアップの妥当性とアクセシビリティを確認して、ワークスペースのプレビューで開きます。ファイルの参照はすべて、ブラウザからの相対パスを使います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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

OpenSquilla Webpage Delivery

For a new runnable webpage when workspace file-authoring tools are available:

  1. Create a filesystem-safe, dedicated project subdirectory such as webpage-<topic-slug>/; never place a generated site directly in the workspace root.
  2. Keep index.html, local CSS/JavaScript, and every local asset inside that project root, using browser-relative references.
  3. Validate the finished project, then call open_workspace_preview with the entry file and the complete dedicated root:
{
  "path": "webpage-<topic-slug>/index.html",
  "bundle": "directory",
  "bundle_root": "webpage-<topic-slug>"
}

Do not bundle the entire workspace. When a caller explicitly requests source-only output, forbids tool calls, or supplies its own deterministic writer, follow that narrower caller contract instead. When file authoring or open_workspace_preview is unavailable, return only the requested guidance or source and do not claim that a runnable project was opened.

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: <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

<!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

<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

<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, pr
よくある質問

ページはどこに保存されますか?

ワークスペースのルートではなく、専用のサブフォルダに保存され、整理された状態を保ちます。

アクセシビリティは確認しますか?

はい。アクセシビリティのガイダンスとフォームの検証を含みます。

プレビューのツールが使えない場合は?

プレビューを開こうとせず、依頼されたガイダンスだけを返すとしています。

詳細

作者による元の説明

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.

repo: TokenRhythm/opensquilla

人気

GitHubのスター
7.1k
ランキング
#13589
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル