astro

Guide Astro project setup, CLI workflows, and adapter deployment options.

2|Updated Oct 28, 2022
One-click install
npx skills add https://github.com/jmanuelrosa/dotfiles --skill astro-jmanuelrosa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro
Source: https://github.com/jmanuelrosa/dotfiles/tree/main/roles/ai/files/claude/skills/astro
Command: npx skills add https://github.com/jmanuelrosa/dotfiles --skill astro-jmanuelrosa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Astro projects can be challenging due to navigating the CLI, understanding project structure, and choosing the right adapters for deployment. This Skill provides clear guidance on common Astro workflows, file layout, and adapter options to streamline setup and execution.

Core Features & Use Cases

  • CLI guidance and workflows: dev, build, check, and add integrations to accelerate project iteration.
  • Project structure recommendations: guidance on typical Astro layouts (src/pages, src/components, src/layouts, public) to help organize code and assets.
  • Adapter deployment options: overview of adapters for Node, Cloudflare, Netlify, and Vercel to simplify deployment and hosting.
  • Use Case: starting a new Astro site and configuring a robust development and deployment pipeline with sensible defaults.

Quick Start

Start a development server for your Astro project from the project root.

Frequently Asked Questions about astro

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

FAQPage Schema
How do I structure a new Astro project for static sites and dynamic apps?

Astro project structure uses specific folder conventions like src/pages for routing, src/components for reusable UI, src/layouts for templates, and public for static assets to organize frontend code efficiently.

What is the best way to configure Astro adapters for deployment?

Configuring Astro adapters involves integrating deployment targets like Node, Cloudflare, Netlify, or Vercel within the astro.config file to streamline hosting workflows and enable dynamic rendering.

How do I use the Astro CLI to start a development server and add integrations?

The Astro CLI provides commands like dev for starting a local server, build for production output, check for diagnostics, and add for installing integrations to accelerate project iteration.

Does Astro work with modern frontend deployment platforms like Vercel and Netlify?

Astro supports modern deployment platforms through dedicated adapters for Vercel, Netlify, Cloudflare, and Node, enabling seamless integration for hosting static sites and dynamic apps.

When do I need to modify the astro.config file in my web development project?

You modify the astro.config file to define project configuration, integrate deployment adapters, and add frontend tooling to customize build behavior and deployment pipelines.