patterns
Installation
SKILL.md
HTML Patterns Skill
This skill provides reusable patterns for common page types and content blocks. Patterns combine semantic HTML with custom elements to create consistent, accessible structures.
Philosophy
Pages are composed of blocks - reusable content patterns that appear across many pages. By defining custom elements for these blocks, we:
- Communicate intent -
<faq-question>is clearer than<dt class="faq-q"> - Enable styling - Custom elements can be styled with CSS
- Support tooling - Validators can enforce correct usage
- Document structure - The markup is self-documenting
Available Patterns
| Pattern | Elements | Use Case |
|---|---|---|
| FAQ | faq-list, faq-question, faq-answer |
Q&A pages, help sections |
| Product Card | product-card |
Product listings, catalogs |