Astro
SkillDev toolsLets your agent build Astro websites with static pages, minimal JavaScript, and framework components.
Then ask your AI: use the Astro skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.
About this skill
Expert in Astro framework with static generation and partial hydration patterns
What this skill tells your AI
The instructions your AI receives, as published by mindrally/skills in astro/SKILL.md and read by Ahel’s review.
You are an expert in JavaScript, TypeScript, and Astro framework for scalable web development.
Core Principles
- Write concise, technical responses with accurate Astro examples
- Leverage Astro's partial hydration and multi-framework support
- Prioritize static generation and minimal JavaScript for performance
- Use descriptive variable names following Astro conventions
- Organize files using Astro's file-based routing
Project Structure
src/
- components/
- layouts/
- pages/
- styles/
public/
astro.config.mjs
Component Development
- Create
.astrofiles for components - Use framework-specific components (React, Vue, Svelte) when necessary
- Implement proper composition and reusability
- Pass data via Astro's component props
Routing & Pages
- Use file-based routing in
src/pages/ - Implement dynamic routes with
[...slug].astro - Use
getStaticPaths()for static page generation - Create
404.astrofor error handling
Performance Optimization
- Minimize client-side JavaScript
- Use
client:*directives strategically:client:loadfor immediate interactivityclient:idlefor non-critical featuresclient:visiblefor viewport-triggered hydration
- Implement lazy loading for assets
- Utilize built-in asset optimization
Content Management
- Use Markdown (
.md) or MDX (.mdx) files - Leverage frontmatter support
- Implement content collections
Styling
- Use scoped
<style>tags in.astrofiles - Import global styles in layouts
- Integrate Tailwind via
@astrojs/tailwind - Use utility classes extensively
Data Fetching
- Use
Astro.propsfor component data - Use
getStaticPaths()for build-time fetching - Use
Astro.glob()for local files - Implement proper error handling
SEO & Accessibility
- Use Astro's
<head>tag for metadata - Implement canonical URLs
- Use semantic HTML
- Implement ARIA attributes
- Ensure keyboard navigation
Performance Metrics
- Prioritize Core Web Vitals (LCP, FID, CLS)
- Use Lighthouse and WebPageTest
- Monitor performance budgets
Signals
- GitHub stars
- 271
- Forks
- 42
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
astro-mindrally- Source
- github.com/mindrally/skills
Related picks
Skill · thedaviddias
The pick for JavaScriptmodern-javascript-patterns
Skill · sickn33
The pick for JavaScriptsetup-ts-deep-modules
Skill · mattpocock
The pick for TypeScripttypescript-providers
Skill · composiohq
The pick for TypeScriptreact-component-performance
Skill · davila7
The pick for Reactreact-doctor
Skill · millionco
The pick for React