html-coder
Skill này làm gì
Skill này hướng dẫn viết các trang HTML có cấu trúc đúng, dễ tiếp cận và có tính năng hiện đại. Skill dành cho lập trình viên và người không chuyên cần một trang web hoạt động được và được xây dựng đúng cách.
Khi nào nên dùng
- ✓Khi bạn cần một trang web đơn giản hoặc một biểu mẫu với cấu trúc HTML đúng.
- ✓Khi bạn muốn kiểm tra khả năng tiếp cận và tính hợp lệ trong HTML của mình.
- ✓Khi bạn muốn có một trang để xem trước trong không gian làm việc OpenSquilla.
Liên kết skill
https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/html-coder/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể làm cho tôi một trang liên hệ đơn giản, dễ tiếp cận, có biểu mẫu và bố cục rõ ràng để tôi xem trước không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tạo một thư mục dự án riêng với các file HTML, CSS và JavaScript, kiểm tra tính hợp lệ và khả năng tiếp cận của mã đánh dấu, rồi mở trang trong bản xem trước của không gian làm việc. Agent dùng tham chiếu file tương đối với trình duyệt xuyên suốt.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
- Create a filesystem-safe, dedicated project subdirectory such as
webpage-<topic-slug>/; never place a generated site directly in the workspace root. - Keep
index.html, local CSS/JavaScript, and every local asset inside that project root, using browser-relative references. - Validate the finished project, then call
open_workspace_previewwith 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:
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: <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
Câu hỏi thường gặp
Trang được lưu ở đâu?
Trong một thư mục con dự án riêng, không nằm ở thư mục gốc của không gian làm việc, để mọi thứ gọn gàng.
Skill có kiểm tra khả năng tiếp cận không?
Có. Skill có hướng dẫn về khả năng tiếp cận và kiểm tra tính hợp lệ cho biểu mẫu.
Nếu công cụ xem trước không khả dụng thì sao?
Skill yêu cầu chỉ trả về hướng dẫn được yêu cầu, không cố gắng mở bản xem trước.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.1k
- Vị trí xếp hạng
- #13589
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-use
7.1kCho phép agent của bạn mở, đọc và thao tác với các trang web trong trình duyệt thanh bên của OpenSquilla Desktop, gồm biểu mẫu và kiểm tra trực quan.
deep-research
7.1kDạy agent của bạn nghiên cứu nhiều vòng với kế hoạch đã lưu, nguồn được theo dõi và một báo cáo dài có trích dẫn.
docx
7.1kGiúp agent của bạn đọc, chỉnh sửa hoặc tạo file Word .docx, đồng thời giữ nguyên định dạng, thay đổi đang theo dõi và cấu trúc.
pdf-toolkit
7.1kGiúp agent của bạn trích xuất văn bản và bảng từ PDF, gộp hoặc tách file, điền trường biểu mẫu và tạo PDF mới từ dữ liệu.
Skill tương tự
angular-developer
280kGiúp agent của bạn viết code Angular và tư vấn cấu trúc dự án, hữu ích khi bắt đầu dự án mới hoặc cải thiện hiệu suất.
frontend-a11y
280kGiúp agent của bạn làm cho giao diện web dễ tiếp cận với mọi người. Đảm bảo website và ứng dụng hoạt động tốt với trình đọc màn hình và điều hướng bằng bàn phím.
frontend-patterns
280kGiúp agent của bạn áp dụng các mẫu hiện đại trong phát triển frontend. Tối ưu hiệu năng, quản lý trạng thái và tuân theo thực hành tốt nhất với React và Next.js.