An Agent Skill for building static sites with Astro. Teaches AI coding agents how to create Astro components, set up content collections, optimize images, configure SEO, and follow best practices for static site generation.
$ npx -y skills add ianshk/astro-skills --agent claude-code
What's inside
An Agent Skill for building static sites with Astro. Teaches AI coding agents how to create Astro components, set up content collections, optimize images, configure SEO, and follow best practices for static site generation.
Framework-agnostic — works with React, Svelte, Vue, or any UI framework supported by Astro.
| Reference | Covers |
|---|---|
| Content Collections | Schemas (z.image, z.enum, reference()), querying, dynamic routes, entry.body |
| Image Optimization | <Image /> component, downscaling, SVG components, aspect ratios |
| SEO Checklist | Head component, per-page checklist, structured data (JSON-LD), hreflang, content rules |
| Pagination | paginate(), nested pagination, page prop |
.astro files for all presentational UI, framework components only when interactivity is neededclient:* directive that worksoutput: 'static', no SSRoutput: 'static')npx skills add ianshk/astro-skills
This installs the skill into your project and works with Claude Code, Cursor, Windsurf, Roo Code, and other Agent Skills-compatible editors.
Copy the skills/astro/ folder into your project and point your agent's skill/rules system at SKILL.md. The skill uses the open Agent Skills format and works with any compatible agent.
skills/
└── astro/
├── SKILL.md # Main skill instructions
└── references/
├── content-collections.md
├── image-optimizations.md
├── pagination.md
└── seo-checklist.md
MIT — see LICENSE.
FAQ
astro-skills is a Claude Code plugin with 1 hand-picked skill for development work, indexed on Flowy. Install it with the command on its page. It includes astro. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it