content-collection
Astro Content Collections
Use this skill when creating or refactoring structured content in Astro, such as blogs, docs, changelogs, case studies, team data, or other schema-driven content.
If astro-best-practices is available, apply it alongside this skill for naming, accessibility, and performance defaults.
Workflow
1. Decide whether the collection is build-time or live
Most content sites should use build-time collections in src/content.config.*. Only reach for live collections in src/live.config.* when the data truly needs request-time freshness.
Before coding, decide:
- which collections exist
- which fields are required
- which relationships need references
- whether assets such as images should be validated
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.
14create-component
Create Astro components, pages, and layouts with accessible markup and minimal client-side JavaScript.
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.
13