Astro Claude Skill — Development skill for Claude Code
Claude Code skill for Astro SSR/SSG, middleware, and TypeScript patterns.
How to install Astro Claude Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open wrsmith108/astro-claude-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Astro Claude Skill does
Claude Code skill for Astro SSR/SSG, middleware, and TypeScript patterns.
Alternatives in Development
- JS To TS — JavaScript to TypeScript Migration Command 74.5k ★
- TypeScript Lsp — TypeScript / JS /plugin install typescript-lsp@claude-plugins-official 14k ★
- Mcporter — Call MCPs via TypeScript, masquerading as simple TypeScript API 4.1k ★
README
Astro Framework Skill for Claude Code
A Claude Code skill for Astro development patterns, focusing on SSR/SSG, middleware, and TypeScript.
Installation
git clone https://github.com/wrsmith108/astro-claude-skill.git ~/.claude/skills/astro
What's Included
- Rendering Modes: SSG vs SSR for protected content
- Middleware Patterns: Route protection and status validation
- TypeScript Gotchas: Common preprocessor issues
- Content Collections: Dynamic routes with SSR
- Cache Headers: Preventing caching of status pages
Key Insight
In Astro with `output: "static"`, pre-rendered pages **bypass middleware completely**.
Use `export const prerender = false;` for any page requiring authentication.
License
MIT - See [LICENSE](LICENSE)
Related Skills
Lit Web Apps Skill
Agent skill for building framework-free web apps with Lit: SSR/SSG/CSR, platform-native routing, signals, Type
Sveltekit Docs
Use when answering questions about SvelteKit routing, load functions, form actions, adapters, hooks, deploymen
Frontloom Astro
Use this skill for Astro frontend tasks. Enforces idiomatic Astro patterns including content-first architectur
TypeScript Patterns
Generated by Claude Toad — Review before use
Nxt API Route
Generates a Next.js App Router API route handler (route.ts) with proper TypeScript types, request validation,
Astro
/astroAstro 5.x components, routing, collections, i18n, SEO, Tailwind, React islands, transitions
Related Agents
Frontend Lens
A-player frontend engineer lens for DevBox reviews. Reviews UI components, hooks and client state, routing, st
Astro Specialist
Astro framework specialist — SSG sites with content collections, islands architecture, astro:assets, i18n rout
Zanix Feature Builder
Adds a feature or artifact (a provider/connector, middleware, REST/GraphQL/socket/SSR handler, job, subscriber