astro

Installation
Summary

CLI commands, project structure conventions, and deployment adapters for Astro web projects.

  • Core CLI includes dev server, build, type checking, integration management, and TypeScript sync commands
  • Standard project structure uses src/pages for routes, src/components for reusable components, and public/ for static assets
  • Deploy via adapters for Node.js, Cloudflare, Netlify, Vercel, or community-maintained platforms using npx astro add
  • Configuration file (astro.config.js or variants) supports core options like site URL for sitemap and canonical URL generation
SKILL.md

Astro Usage Guide

Always consult docs.astro.build for code examples and latest API.

Astro is the web framework for content-driven websites.


Quick Reference

File Location

CLI looks for astro.config.js, astro.config.mjs, astro.config.cjs, and astro.config.ts in: ./. Use --config for custom path.

CLI Commands

Installs
6.0K
GitHub Stars
5
First Seen
Jan 22, 2026