astro

Featured

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

Web & Frontend 27,705 stars 2858 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Astro Web Framework ## Overview Astro is a web framework designed for content-rich websites — blogs, docs, portfolios, marketing sites, and e-commerce. Its core innovation is the **Islands Architecture**: by default, Astro ships zero JavaScript to the browser. Interactive components are selectively hydrated as isolated "islands." Astro supports React, Vue, Svelte, Solid, and other UI frameworks simultaneously in the same project, letting you pick the right tool per component. ## When to Use This Skill - Use when building a blog, documentation site, marketing page, or portfolio - Use when performance and Core Web Vitals are the top priority - Use when the project is content-heavy with Markdown or MDX files - Use when you want SSG (static) output with optional SSR for dynamic routes - Use when the user asks about `.astro` files, `Astro.props`, content collections, or `client:` directives ## How It Works ### Step 1: Project Setup ```bash npm create astro@latest my-site cd my-site npm install npm run dev ``` Add integrations as needed: ```bash npx astro add tailwind # Tailwind CSS npx astro add react # React component support npx astro add mdx # MDX support npx astro add sitemap # Auto sitemap.xml npx astro add vercel # Vercel SSR adapter ``` Project structure: ``` src/ pages/ ← File-based routing (.astro, .md, .mdx) layouts/ ← Reusable page shells components/ ← UI components (.astro, .tsx, .vue,...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Featured

astro

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

39,350 Updated today
sickn33
AI & Automation Listed

astro

Expert in Astro framework with static generation and partial hydration patterns

11 Updated today
wordbricks
Web & Frontend Listed

astro-best-practices

This skill should be used when working on any Astro project or when the user asks about Astro best practices, conventions, or patterns. Trigger when: working on an Astro project, creating Astro components/pages/layouts, configuring astro.config, setting up Content Collections, using Content Layer API, choosing client directives (client:load/idle/visible/media/only), using server:defer or server islands, deciding between SSR and SSG, working with Astro Actions for forms, configuring middleware, using Zod schemas for content, building with TypeScript in Astro, creating API endpoints, using @astro/autoload, working with .astro files, Astro 5 or Astro 6 development.

3 Updated 3 days ago
radesjardins
Web & Frontend Listed

astro-performance

This skill should be used when optimizing Astro performance, improving Core Web Vitals in Astro, fixing LCP/CLS/INP issues, auditing client directives, reducing JavaScript bundle size, configuring Astro prefetching, using server:defer for performance, optimizing Astro images, configuring Astro fonts, CSS optimization in Astro, HTML streaming, Astro build optimization, Astro CDN configuration, Route Caching API, Lighthouse audit for Astro, hydration performance, client:visible vs client:load, or Astro asset pipeline.

3 Updated 3 days ago
radesjardins
API & Backend Listed

astro-security

Astro security review — render-mode attack surface (SSG/SSR/hybrid), set:html and MDX content collections (XSS + author trust), API routes and middleware (auth, scope), adapter-specific runtime models (Cloudflare/Vercel/Netlify/Node), env-var hygiene (PUBLIC_ prefix), and Decap CMS pairing (OAuth backend, token storage, branch-based editorial workflow).

4 Updated 1 weeks ago
roodlicht