What problem does it solve?
This Skill ensures all HAP Learning Lab station pages follow a consistent, accessible, and engaging structure. It prevents structural inconsistencies and ensures every station provides a high-quality educational experience.
Core Features & Use Cases
- Mandatory Sections: Enforces the presence and order of 6 required sections, from header to footer.
- Component Validation: Checks for correct usage of HAP components like insight cards, HAP note callouts, and warning boxes.
- Accessibility & SEO: Validates heading hierarchy, image attributes, and content length for optimal readability and search engine performance.
- Use Case: When creating a new learning station, use this Skill to automatically validate that all required sections are present, headings are semantic, and HAP's components are used correctly, ensuring a high-quality educational experience.
Quick Start
<!-- Example: Top-level station structure -->
<body>
<a href="#main-content" class="skip-link">Skip to main content</a>
<header class="header">[HAP avatar + title + intro]</header>
<nav class="page-navigation top-nav">[Top navigation]</nav>
<main id="main-content" class="content-container">
<section>[What You'll Learn]</section>
<section>[Main topic 1]</section>
<section>[Main topic 2]</section>
</main>
<nav class="page-navigation bottom-nav">[Bottom navigation]</nav>
<footer class="footer">[Copyright]</footer>
</body>