Skip to content

// Ship zero-JS static sites with Astro: islands architecture, MDX blog, and Vercel edge.

Astro Static Site BuilderVerified Creator

git log --oneline --stat
HEAD
Stars
46k
Forks
122
Updated
Apr 30, 2026
repo --stat
  • stars

    46k

  • forks

    122

  • last update

    Apr 30, 2026

  • license

    MITv4.8.0

quickstart.sh
3 steps
  1. Install

    // Drops SKILL.md into ~/.claude/skills/

    $ claude skills add astro-static-site
  2. Invoke

    // Run from any project directory

    $ claude --skill astro-static-site "give my landing page a hero treatment"
  3. Iterate

    // Re-run with edits — Claude keeps the skill loaded

    $ claude --skill astro-static-site "now refactor it"
astro-static-site/
references
  • references/
  • SKILL.mdopen
  • README.mdopen
SKILL.md
readonly
name:
Astro Static Site Builder
slug:
astro-static-site
version:
v4.8.0
license:
MIT
author:
@withastro
categories:
tags:
#astro#static-site#mdx#islands#seo
description:

Ship zero-JS static sites with Astro: islands architecture, MDX blog, and Vercel edge.

features.md
5 capabilities

// What you can do with it

  • Islands architecture via client directives — client:load, client:idle, client:visible, and client:only — so each framework component decides its own hydration strategy.
  • Content collections defined in src/content/config.ts with Zod schemas, queried through getCollection() and getEntry(). MDX is wired up via @astrojs/mdx so you can import components inside .mdx files.
  • Image optimisation using Astro's and components from astro:assets, which emit responsive srcset and modern formats at build time.
  • Sitemap + SEO through @astrojs/sitemap and per-page metadata.
  • Framework adapters — @astrojs/react, @astrojs/vue, or @astrojs/svelte — registered in astro.config.mjs. For dynamic routes it sets up the Vercel adapter (@astrojs/vercel) when you opt into SSR/edge.

README.md

astro-static-site/README.md
7 sections
Loading README…

$ cat reviews/

Reviews

// No reviews yet. Be the first.
Loading review form…