Astro Setup Skill: Provides installation, prerequisite checking, and project initialization for Astro websites with AI Tech Stack 1 integration
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
skill_name: astro-setup description: Provides installation, prerequisite checking, and project initialization for Astro websites with AI Tech Stack 1 integration use_when:
- "initializing new Astro website project"
- "setting up Astro prerequisites"
- "configuring Astro integrations"
- "setting up Astro environment variables" tools_provided:
- check-prerequisites.sh
- install-astro.sh
- init-project.sh
- setup-integrations.sh
- setup-env.sh
Astro Setup Skill
Overview
Provides installation, prerequisite checking, and project initialization for Astro websites with AI Tech Stack 1 integration.
Purpose
Automate the setup of Astro projects with proper Node.js version checking, dependency installation, integration configuration (React, MDX, Tailwind, Supabase), and MCP server setup.
When to Use
- Initializing a new Astro website project
- Setting up prerequisites (Node.js 18.14.1+)
- Installing Astro CLI and project dependencies
- Configuring integrations for AI Tech Stack 1
- Setting up environment variables and MCP servers
Components
Scripts
- check-prerequisites.sh - Verify Node.js version, package manager
- install-astro.sh - Install Astro CLI globally if needed
- init-project.sh - Initialize Astro project with proper configuration
- setup-integrations.sh - Install and configure Astro integrations
- setup-env.sh - Create .env file with API key placeholders
Templates
- astro.config.mjs - Complete Astro configuration with all integrations
- tsconfig.json - TypeScript configuration for Astro
- tailwind.config.js - Tailwind CSS configuration
- .env.example - Environment variable template
- package.json.template - Package.json with all dependencies
Examples
- minimal-astro.config.mjs - Minimal Astro configuration
- full-stack-astro.config.mjs - Full AI Tech Stack 1 configuration
- blog-astro.config.mjs - Blog-optimized configuration
Integration with Website-Builder
This skill is invoked by:
/website-builder:initcommandwebsite-setupagent- Any workflow requiring Astro project initialization
Prerequisites
- Node.js 18.14.1 or higher
- npm, pnpm, yarn, or bun package manager
- Internet connection for package installation
Documentation References
Uses Astro's LLM-optimized documentation:
- https://docs.astro.build/llms-full.txt - Complete Astro documentation
- https://docs.astro.build/_llms-txt/api-reference.txt - API reference
- https://docs.astro.build/en/install-and-setup/ - Installation guide
Output
- Initialized Astro project with TypeScript
- Installed integrations: @astrojs/react, @astrojs/mdx, @astrojs/tailwind, @astrojs/sitemap
- Configured astro.config.mjs
- Created .env.example with required variables
- Ready-to-use project structure
More by vanman2024
View allSession store implementations across frameworks
Task routing and queue management patterns for Celery including priority queues, topic exchanges, worker-specific routing, and advanced queue configurations. Use when configuring task routing, managing queues, setting up priority queues, implementing worker routing, configuring topic exchanges, or when user mentions task routing, queue management, Celery routing, worker assignments, or message broker routing.
Next.js checkout UI components with Stripe Elements and payment forms. Use when creating checkout pages, payment forms, subscription UIs, customer portals, or when user mentions Stripe Elements, payment UI, checkout flow, subscription management, or payment forms.
Vercel deployment configuration and optimization for Next.js applications including vercel.json setup, environment variables, build optimization, edge functions, and deployment troubleshooting. Use when deploying to Vercel, configuring deployment settings, optimizing build performance, setting up environment variables, configuring edge functions, or when user mentions Vercel deployment, production setup, build errors, or deployment optimization.
