verify-astro
Skill4 starsChanged 3 months agoMITView on GitHub
Astro verification checklist.
In this repository53 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- actionableSkill
- astro-bootstrapSkill
- astro-patternsSkill
- autopilotSkill
- axon-code-intelSkill
- brainstormingSkill
- commit-conventionsSkill
- cross-repo-contextSkill
- django-bootstrapSkill
- django-patternsSkill
- executeSkill
- find-sessionSkill
- flutter-bootstrapSkill
- flutter-patternsSkill
- full-featureSkill
- intelSkill
- nextjs-bootstrapSkill
- nextjs-fullstack-bootstrapSkill
- nextjs-fullstack-patternsSkill
- nextjs-mui-bootstrapSkill
- nextjs-patternsSkill
- nextjs-shadcn-bootstrapSkill
- orchestratorSkill
- phase-breakdownSkill
- plan-and-scopeSkill
- prdSkill
- reactSkill
- recallSkill
- reflectSkill
- relaySkill
- rememberSkill
- scaffoldSkill
- scratchSkill
- tailwindSkill
- ux-specSkill
- ux-to-promptsSkill
- verify-djangoSkill
- verify-flutterSkill
- verify-nextjs-fullstackSkill
- verify-nextjs-muiSkill
- verify-nextjs-shadcnSkill
- verify-nextjsSkill
- verifySkill
- visual-feedbackSkill
- work-disciplineSkill
- worktreesSkill
- wrapSkill
- write-as-friendSkill
- write-as-humanSkill
- writing-clearlySkill
- writing-skillsSkill
The file
Files
Skill: Verify Astro
Purpose
Systematic verification checklist for Astro sites. Used by the reviewer agent after code execution.
Verification Process
1. Zero-JS Budget
- No
client:*directives on components that don't need interactivity - Interactive islands use the least eager directive (
client:visible>client:idle>client:load) - No framework integration installed unless islands actually exist
- Build output shows zero or minimal JS bundles
2. Components
- Server logic stays in code fence (
---), not in<script>tags - Props are typed with
interface Props - Scoped
<style>used (nois:globalunless intentional) - Components are reasonably sized (extract if >100 lines)
.astrocomponents preferred over framework components for non-interactive UI
3. Pages & Routing
- Every page has a
<title>and<meta name="description"> - Dynamic routes have
getStaticPaths()(static output) - Layouts applied consistently (no orphan pages without layout)
- 404 page exists (
src/pages/404.astro)
4. Content Collections
- Schema defined in
src/content.config.tswith Zod validation - Content queried with
getCollection()/getEntry()(not raw file reads) - Frontmatter matches schema (no runtime errors)
astro checkpasses for content types
5. Styling
- DaisyUI semantic colors used (
base-100,primary, etc.) — no hardcoded hex - Responsive design works at mobile, tablet, desktop
- No unused global styles
- Font loading is optimal (self-hosted or
@fontsource)
6. Performance
- Images use
<Image>fromastro:assets(not raw<img>) - Above-fold images have
loading="eager"or priority - Below-fold images use
loading="lazy" - No unnecessary third-party scripts
- Build size is reasonable for content delivered
7. Accessibility
- Semantic HTML (
header,main,footer,nav,section) - Skip-to-content link present
- Images have alt text
- Interactive elements are keyboard accessible
- Color contrast meets WCAG AA
8. SEO
- Open Graph tags (
og:title,og:description,og:image) on all pages - Canonical URL set
- Sitemap generated (
@astrojs/sitemapintegration) robots.txtexists inpublic/
9. Code Quality
- No commented-out code
- No console.logs left in
astro checkpasses- TypeScript strict mode enabled
- Consistent naming conventions
10. Development Environment
Dockerfile.devexists and uses a supported LTS Node image (node:22-alpineor newer)docker-compose.ymlexists with volume mountsMakefileexists and wraps all commands viadocker compose exec- No
npm run/npxcommands used directly on host
Output
Produce a verification-report.md (same format as verify-django).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

