astro

Guide Astro project design with HTML-first Islands and SSG-first rendering.

9|Updated Aug 20, 2025
One-click install
npx skills add https://github.com/mae616/ai-template --skill astro-mae616
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro
Source: https://github.com/mae616/ai-template/tree/main/.claude/skills/astro
Command: npx skills add https://github.com/mae616/ai-template --skill astro-mae616

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams to structure and implement Astro projects using an HTML-first mindset with Islands, SSG-first rendering, and minimal client-side JS to maximize performance and maintainability.

Core Features & Use Cases

  • HTML-first architecture: Prioritize document-centric pages and progressively enhance with islands where interactivity is needed.
  • Rendering strategy guidance: Recommend SSG as default, with SSR/On-demand rendering for dynamic sections.
  • Island boundaries and performance: Define small, focused islands to limit client runtime and improve performance.
  • Use Case: When optimizing a blog or marketing site that requires fast load times, convert dynamic widgets into islands and render most pages statically.

Quick Start

To start using this Skill, ask the AI to evaluate your Astro project with an HTML-first approach and outline a minimal islands plan.

Frequently Asked Questions about astro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the islands architecture in frontend web development?

The islands architecture separates static HTML pages into small, isolated interactive components. This approach limits client-side JavaScript runtime to only the interactive islands, maximizing overall web performance.

How do I optimize my marketing site for fast load times using SSG?

To optimize load times using SSG, render most pages statically and convert only specific dynamic widgets into interactive islands, ensuring minimal client-side JavaScript is shipped to the browser.

When should I use SSR instead of SSG for my web application?

Use SSG as the default rendering strategy for static content, and apply SSR or on-demand rendering specifically for dynamic sections that require real-time data or personalized user sessions.

How do I define component boundaries for interactive islands?

Define component boundaries by isolating interactivity into small, focused islands. This enforces a clear separation of concerns, keeping the main document static while limiting client runtime overhead.

Does an HTML-first workflow support progressive enhancement for dynamic widgets?

An HTML-first workflow prioritizes document-centric pages and progressively enhances them by attaching interactive islands. This ensures dynamic widgets load efficiently without heavy client-side JavaScript.