astro-patterns

Official

Master Astro 5 for hybrid SSR projects.

Authorbluewaves-creations
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear guidelines and examples for leveraging Astro 5's hybrid rendering capabilities, ensuring consistent and efficient development of pages, components, and API routes.

Core Features & Use Cases

  • Rendering Modes: Understand and implement static (prerendered) vs. server-side rendering (SSR) for optimal performance.
  • File-Based Routing: Learn how file structure in src/pages/ maps directly to URL routes, including dynamic routes.
  • Component & Layout Patterns: Follow established patterns for creating reusable Astro components with typed Props and utilizing a base layout for consistent structure.
  • Client-Side Scripting: Differentiate between bundled and inline scripts for effective client-side interactivity.
  • Use Case: When adding a new blog post, you'll use the [slug].astro pattern for dynamic routing and ensure it's set to prerender = true for static generation.

Quick Start

Use the astro-patterns skill to add a new static page to the website.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: astro-patterns
Download link: https://github.com/bluewaves-creations/website-foundation/archive/main.zip#astro-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.