astro-framework

Build Astro islands with client directives, Zod schemas, and SSR adapters.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/PabloGarciaFuentes/pablogfdev-portfolio --skill astro-framework-pablogarciafuentes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro-framework
Source: https://github.com/PabloGarciaFuentes/pablogfdev-portfolio/tree/main/.agents/skills/astro-framework
Command: npx skills add https://github.com/PabloGarciaFuentes/pablogfdev-portfolio --skill astro-framework-pablogarciafuentes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive guidance for building fast, content-driven websites with Astro's islands architecture and hybrid rendering model.

Core Features & Use Cases

  • Islands-based hydration planning and selective JavaScript delivery
  • Content collections setup with Zod schemas for type safety and relationships
  • SSR/hybrid adapters configuration and API endpoint patterns
  • View transitions and multi-framework integrations (React, Vue, Svelte, Solid)

Quick Start

Identify interactive components, wrap them with appropriate client directives, configure an adapter, and wire up a sample content collection to see islands in action.

Frequently Asked Questions about astro-framework

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

FAQPage Schema
How do I implement selective hydration for interactive components in Astro?

Implement Astro islands by attaching client directives to interactive UI framework components, enabling selective hydration that ships JavaScript only where needed for optimal performance.

How do I set up content collections with type safety in Astro?

Set up Astro content collections by establishing schemas with Zod to enforce type safety and define relationships, ensuring structured content validation across your content-driven website.

Can I use multiple UI frameworks like React, Vue, and Svelte in a single Astro project?

Yes, Astro supports multi-framework integrations, allowing you to integrate React, Vue, Svelte, and Solid components together within the same project while maintaining isolated island hydration.

What is the best way to configure SSR or hybrid rendering adapters in Astro?

Configure SSR or hybrid rendering in Astro by installing and setting up the appropriate adapter to handle server-side rendering, static generation, and API endpoint patterns for dynamic content delivery.

How do view transitions work in Astro for content-driven websites?

Astro view transitions enable smooth page navigation by preserving the DOM state between routes, allowing content-driven websites to maintain app-like transitions without reloading interactive islands.