astro
Skill for building with the Astro web framework. Helps create Astro components and pages, configure SSR adapters, set up content collections, deploy static sites, and manage project structure and CLI commands. Use when the user needs to work with Astro, mentions .astro files, asks about static site generation (SSG), islands architecture, content collections, or deploying an Astro project.
Security Assessment
About astro
The Astro skill is designed to assist developers in building websites using the Astro web framework, which is specifically tailored for content-driven projects. This skill addresses the common challenges faced when creating and managing Astro components, pages, and configurations, enabling users to streamline their development process. By providing guidance on server-side rendering (SSR) adapters, content collections, and static site deployment, the Astro skill simplifies the workflow for developers looking to leverage the full potential of the Astro framework.
FAQ
How do I start a development server with Astro?
You can start the development server by running the command `npx astro dev`.
What files does the Astro CLI look for?
The Astro CLI looks for configuration files named `astro.config.js`, `astro.config.mjs`, `astro.config.cjs`, and `astro.config.ts` in the current directory.
Can I use Astro with TypeScript?
Yes, Astro supports TypeScript, and you can configure it using a `tsconfig.json` file.
What are the requirements for deploying an Astro project?
You need to add an appropriate adapter for your deployment target and ensure that you run `npx astro check` to catch any errors before building.
Is there a limit to the number of components I can create in Astro?
There is no specific limit to the number of components you can create; however, it's important to manage your project structure effectively.
Install astro
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
astrolicious/agent-skills