astro
FreeUse when creating or modifying .astro/.tsx files, configuring astro.config.mjs, working with Content Collections, or when TypeScript or build errors occur.
The English summary is being prepared. Showing the original description.
Use when creating or modifying any UI element visible to the user, reviewing HTML markup, adding interactive elements, or when Lighthouse Accessibility drops below 90.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
This skill references the following globals — read them BEFORE starting work:
system/globals/accessibility.md— WCAG rules, ARIA patterns, keyboard nav, focus stylessystem/globals/colors.md— Contrast ratios, color semantics
WCAG 2.1 AA, ARIA, Keyboard Navigation, Contrast, Screen Readers
| Metric | Target | Measurement |
|---|---|---|
| Lighthouse Accessibility | >90 | Lighthouse JSON → categories.accessibility.score * 100 |
| Pa11y Errors | 0 | npx pa11y <URL> --reporter=json |
| Images without Alt | 0 | npm run check:kpis |
These rules always apply — even under time pressure, even for "it's just an internal tool":
div instead of button for clickable elements. Not even "because it's easier." A div is not focusable, not keyboard-operable, and is ignored by screen readers.Read LEARNINGS.md in this directory to avoid known anti-patterns.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Use when creating or modifying .astro/.tsx files, configuring astro.config.mjs, working with Content Collections, or when TypeScript or build errors occur.
The English summary is being prepared. Showing the original description.
Use when creating or editing pages, blog posts, or content files, adding meta tags, or when Lighthouse SEO drops below 90.
The English summary is being prepared. Showing the original description.
Use when completing any task (final validation step), running audits, preparing for deployment, or when ESLint/TypeScript/build errors occur.
The English summary is being prepared. Showing the original description.
Use when starting work on an AstroDeck project, needing to understand the project structure, or looking up available components, sections, and layouts.
The English summary is being prepared. Showing the original description.
Use when writing or reviewing any CSS class, changing colors, modifying globals.css, or when hardcoded colors or inline styles are detected.
The English summary is being prepared. Showing the original description.
Use when creating or modifying any visible UI element, adjusting spacing or typography, reviewing visual consistency, or when Lighthouse Performance drops below 90.
The English summary is being prepared. Showing the original description.