Skip to content
Back to skills

Astro

ASecurity

Astro content islands, multi-framework support, SSG/SSR modes, and content collections. Use when building static sites, content sites, or hybrid web apps.

  • 47 stars
  • 0 votes
  • 5 copies
  • 48 views
  • Added September 12, 2026
developmentsqlreactvueapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill astro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Astro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Astro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-astro/badge)](https://www.skillsdirectory.com/skills/skeletorflet-astro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: astro
description: Astro content islands, multi-framework support, SSG/SSR modes, and content collections. Use when building static sites, content sites, or hybrid web apps.
---

## astro

### Core Concepts
- Astro Islands: client:* directives (load, idle, visible, media, interact)
- Content collections with type-safe frontmatter and schema validation
- Multi-framework: use React, Vue, Svelte, Solid components in one project
- File-based routing in src/pages/ with dynamic params and layouts
- Three output modes: static (SSG), server (SSR), hybrid per-route

### Common Patterns
- Content collections with Zod schema for blog/docs type safety
- View Transitions API for SPA-like page navigation
- Image optimization with <Image> and <Picture> components
- Server islands for dynamic content with zero client JS
- Astro DB for SQLite-backed relational data queries

### Best Practices
- Prefer static generation for content, islands only for interactivity
- Use content collections over manual markdown parsing
- Keep framework islands isolated to minimize JS payload
- Use Astro.build adapter for deployment targets
- Leverage view transitions for smooth multi-page experiences

### Common Code Patterns
- Blog post listing from content collection with sorted entries
- Interactive React counter island with client:load directive
- Hybrid page with static content and server-rendered component

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.