.claude/skills/ts-astro/SKILL.md
Assists with building content-driven websites using Astro's island architecture. Use when creating static sites, blogs, documentation, or marketing pages that ship zero JavaScript by default. Trigger words: astro, static site, island architecture, content collections, SSG, hybrid rendering, astro components.
npx skillsauth add eliferjunior/Claude astroInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Astro is a web framework for building content-driven websites that ships zero JavaScript by default. Its island architecture hydrates only interactive components, achieving excellent Lighthouse scores while supporting React, Vue, Svelte, or any UI framework where interactivity is needed.
src/pages/ with .astro, .md, or .mdx files, and organize shared structure in src/layouts/.client:visible or client:idle over client:load since most components do not need immediate hydration.src/content/ with strict Zod schemas using defineCollection(), and query with getCollection() and getEntry().output: "server" for dynamic pages, or use hybrid rendering with per-page export const prerender = false.<Image> component from astro:assets for automatic format conversion (WebP/AVIF), resizing, and lazy loading instead of raw <img> tags.<ViewTransitions /> for SPA-like navigation without shipping a client-side router.@astrojs/react, @astrojs/vue, @astrojs/svelte) and use Astro components for static content, reaching for framework components only when interactivity is required.User request: "Create an Astro blog with type-safe Markdown content"
Actions:
src/pages/blog/[slug].astro with getStaticPaths()getCollection("blog") with sortingOutput: A statically generated blog with validated content, clean URLs, and smooth page transitions.
User request: "Add a React search component to my Astro documentation site"
Actions:
@astrojs/react integrationclient:idle directiveOutput: A documentation site that is fully static except for the interactive search island.
.astro) for static content; only use React/Vue/Svelte when interactivity is needed.client:visible or client:idle over client:load for hydration directives.astro:assets <Image> over raw <img> tags for automatic optimization.<head>, navigation, and footer; put page-specific content in pages.development
Expert guidance for Fireworks AI, the platform for running open-source LLMs (Llama, Mixtral, Qwen, etc.) with enterprise-grade speed and reliability. Helps developers integrate Fireworks' inference API, fine-tune models, and deploy custom model endpoints with function calling and structured output support.
development
Convert any website into clean, structured data with Firecrawl — API-first web scraping service. Use when someone asks to "turn a website into markdown", "scrape website for LLM", "Firecrawl", "extract website content as clean text", "crawl and convert to structured data", or "scrape website for RAG". Covers single-page scraping, full-site crawling, structured extraction, and LLM-ready output.
tools
Expert guidance for Firebase, Google's platform for building and scaling web and mobile applications. Helps developers set up authentication, Firestore/Realtime Database, Cloud Functions, hosting, storage, and analytics using Firebase's SDK and CLI.
development
When the user needs to build file upload functionality for a web application. Use when the user mentions "file upload," "image upload," "upload endpoint," "multipart upload," "presigned URL," "S3 upload," "file validation," "upload to cloud storage," or "accept user files." Handles upload endpoints, file validation (type, size, magic bytes), cloud storage integration, and upload status tracking. For image/video processing after upload, see media-transcoder.