create-component
Create Astro Component
Use this skill when scaffolding a new Astro component, page, layout, or route from a feature request, design, or static markup.
If astro-best-practices is available, apply it alongside this skill for project-wide conventions and review criteria.
Workflow
1. Pick the right file type
Choose the simplest primitive that fits the requirement:
- component: reusable UI in
src/components/ - page: route entry in
src/pages/ - layout: shared shell in
src/layouts/ - framework island: React, Vue, or similar only when interactivity is required
Start with .astro unless there is a real need for client-side framework state.
More from incluud/astro-agent-skills
docs-lookup
Look up official Astro documentation and answer version-sensitive Astro questions accurately.
14add-integration
Add and configure Astro integrations, adapters, and UI framework tooling.
14astro-best-practices
Apply performant, accessible, and maintainable defaults when building or reviewing Astro projects.
14migrate
Plan and execute migrations to Astro or between Astro versions with minimal regressions.
13content-collection
Set up and evolve Astro content collections with typed schemas and reliable querying patterns.
13