/astro:astro-best-practicesfrom astro
Apply performant, accessible, and maintainable defaults when building or reviewing Astro projects.
Ships in astro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill as the baseline when designing, implementing, or reviewing Astro work. It translates Astro-specific architectural guidance into portable instructions that can be applied across agents.
.astro first.astro components for static and mostly static UIclient:visible for deferred UIclient:idle for lower-priority enhancementclient:load for critical immediate interactivity onlyclient:only only when skipping server rendering is intentionalDefault away from hydrating broad layout regions.
Typical structure:
src/
components/
layouts/
pages/
content/
styles/
assets/
public/
Do not invent novel folder structure without a clear project-specific reason.
header, nav, main, article, and footerastro:assets or the project’s chosen image pipeline intentionallyBefore finalizing Astro work, check:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub fcakiroglu16/marketplace --plugin astro6 skills in this plugin
/add-integrationAdd and configure Astro integrations, adapters, and UI framework tooling./content-collectionSet up and evolve Astro content collections with typed schemas and reliable querying patterns./create-componentCreate Astro components, pages, and layouts with accessible markup and minimal client-side JavaScript./docs-lookupLook up official Astro documentation and answer version-sensitive Astro questions accurately./migratePlan and execute migrations to Astro or between Astro versions with minimal regressions.