.claude/skills/audit-html/SKILL.md
Enforce HTML and Astro markup conventions
npx skillsauth add kevwhuang/dev .claude/skills/audit-htmlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit .astro and .html files.
Skip paths in .gitignore.
Sort attributes on every element in this order:
idclass or class:listsrc/pages/ only load layout and section components. No direct markup.src/sections/ contain the core frontend markup and logic.src/components/ and imported. No inline SVGs in pages, sections, or layouts.div/span: nav, main, section, article, header, footer, aside<img />, <input />, <br />alt on all imagesaria-label or aria-labelledby on elements without visible textsr-only text for icon-only controlsaria-hidden on decorative elements<style> block and one <script> block per file<script> content rules to audit-js and <style> content rules to audit-cssbun run lint after all changes are applieddevelopment
Bump version, update packages, lint, test, build, and commit
development
Enforce web project standards for structure, visuals, performance, security, and more
development
Enforce JavaScript and TypeScript conventions
development
Enforce CSS and Tailwind conventions