astro

Configure Astro projects via CLI commands and adapter integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Astro provides a clear path for developers to configure, structure, and operate Astro projects, consolidating CLI usage, project layout decisions, and integration with adapters so teams can move quickly from project kickoff to deployment.

Core Features & Use Cases

  • CLI Commands overview: dev, build, check, add, and sync for end-to-end project management.
  • Project structure guidance: src, pages, components, layouts, public assets, and config options.
  • Adapters and deployment: guidance on deploying Astro apps across Node, Cloudflare, Netlify, and Vercel.

Quick Start

Launch the local Astro development server to begin building and testing your project.

Frequently Asked Questions about astro

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

FAQPage Schema
How do I structure an Astro project for static site generation?

Astro project structure organizes pages, components, and layouts within the src directory, while serving static assets from the public directory. This layout efficiently manages content collections and configures routing for static-site generation.

What CLI commands do I need to build and deploy an Astro web framework project?

Astro CLI commands include dev for launching the local server, build for creating production output, check for diagnostics, add for integrations, and sync for content collections. These commands manage end-to-end project workflows from kickoff to deployment.

Can I deploy Astro static sites to Cloudflare, Netlify, or Vercel?

Astro deploys to Cloudflare, Netlify, and Vercel using dedicated adapters. These adapters configure the build output specifically for each platform, ensuring seamless integration and deployment of Astro applications across different hosting environments.

Does Astro work with Node adapters for server-side rendering?

Astro supports Node adapters for server-side rendering deployment. Configuring the Node adapter integrates the Astro build process with a Node server environment, extending typical static-site workflows to handle dynamic SSR requests.

What is the best way to manage content collections in Astro?

Managing content collections in Astro involves using the sync CLI command to generate TypeScript types and organizing markdown or MDX files within the src directory. This ensures type-safe content queries and structured project layout.