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/pagesfor routes,src/componentsfor reusable components, andpublic/for static assets - Deploy via adapters for Node.js, Cloudflare, Netlify, Vercel, or community-maintained platforms using
npx astro add - Configuration file (
astro.config.jsor variants) supports core options likesiteURL 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.