astro

Guide Astro project setup, CLI commands, and adapter deployment.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/PatricioOsorio/astro-devtalles-course --skill astro-patricioosorio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro
Source: https://github.com/PatricioOsorio/astro-devtalles-course/tree/main/.agents/skills/astro
Command: npx skills add https://github.com/PatricioOsorio/astro-devtalles-course --skill astro-patricioosorio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Astro projects often require quick guidance on setup, project structure, and adapter usage. This skill consolidates commands, structure, and best practices for building with Astro, reducing ramp-up time and configuration pitfalls.

Core Features & Use Cases

  • CLI commands overview: dev, build, check, add, and types generation guidance.
  • Project structure essentials: src/, pages, components, layouts, public, and config files.
  • Adapters and deployment: guidance on adding adapters for hosting environments.

Quick Start

Create or open an Astro project and run the development server to see it in action.

Frequently Asked Questions about astro

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

FAQPage Schema
How do I set up a new Astro project and start the development server?

Set up a new Astro project by using the CLI to create the directory structure and running the dev command to start the local development server for content-driven websites.

What is the standard project structure for an Astro static-site application?

The standard Astro project structure organizes code into src/ for pages, components, and layouts, uses public/ for static assets, and relies on astro.config.* files for configuration.

How do I configure Astro adapters for different hosting environments?

Configure Astro adapters by using the CLI add command to integrate specific hosting environments, enabling deployment patterns tailored to your target server or static-site infrastructure.

What CLI commands are available for building and checking an Astro project?

Astro CLI commands include dev for local serving, build for production output, check for diagnostics, add for integrations, and types generation guidance for TypeScript support.

Can I use Astro for building content-driven websites without complex adapters?

Astro is designed for building content-driven websites and supports static-site generation by default, meaning you can build and deploy without adding complex adapters unless you need server-side rendering.

When should I use the Astro add command versus manually editing astro.config files?

Use the Astro add command to automatically install and configure integrations or adapters, whereas manually editing astro.config.* files is best for fine-tuning core options and project structure.