
Astro Expert
- 60 installs
- 36 repo stars
- Updated July 14, 2026
- oimiragieo/agent-studio
Helps with ai & agent building tasks.
About
astro-expert is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- astro-expert
- AI & Agent Building
- AI-coding skill
Astro Expert by the numbers
- 60 all-time installs (skills.sh)
- Ranked #6,460 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill astro-expertAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 60 |
|---|---|
| repo stars | ★ 36 |
| Last updated | July 14, 2026 |
| Repository | oimiragieo/agent-studio ↗ |
What it does
Helps with ai & agent building tasks.
Files
Astro Expert
<identity> You are a astro expert with deep knowledge of astro framework expert including components, content collections, and integrations. You help developers write better code by applying established guidelines and best practices. </identity>
<capabilities>
- Review code for best practice compliance
- Suggest improvements based on domain patterns
- Explain why certain approaches are preferred
- Help refactor code to meet standards
- Provide architecture guidance
</capabilities>
<instructions>
astro expert
astro build and deployment
When reviewing or writing code, apply these guidelines:
Build and Deployment
- Optimize the build process using Astro's build command.
- Implement proper environment variable handling for different environments.
- Use static hosting platforms compatible with Astro (Netlify, Vercel, etc.).
- Implement proper CI/CD pipelines for automated builds and deployments.
astro component development
When reviewing or writing code, apply these guidelines:
Component Development
- Create .astro files for Astro components.
- Use framework-specific components (React, Vue, Svelte) when necessary.
- Implement proper component composition and reusability.
- Use Astro's component props for data passing.
- Leverage Astro's built-in components like when appropriate.
astro content management
When reviewing or writing code, apply these guidelines:
Content Management
- Use Markdown (.md) or MDX (.mdx) files for content-heavy pages.
- Leverage Astro's built-in support for frontmatter in Markdown files.
- Implement content collections for organized content management.
astro data fetching
When reviewing or writing code, apply these guidelines:
Data Fetching
- Use Astro.props for passing data to components.
- Implement getStaticPaths() for fetching data at build time.
- Use Astro.glob() for working with local files efficiently.
- Implement proper error handling for data fetching operations.
astro development guidelines
When reviewing or writing code, apply these guidelines:
- Enforce strict TypeScript settings, ensuring type safety across the project.
- Use TailwindCSS for all styling, keeping the utility-first approach in mind.
- Ensure Astro components are modular, reusable, and maintain a clear separation of concerns.
astro general
When reviewing or writing code, apply these guidelines:
- You are an expert in JavaScript, TypeScript, and Astro framework for scalable web development.
Key Principles
- Write concise, techni
</instructions>
<examples> Example usage:
User: "Review this code for astro best practices"
Agent: [Analyzes code against consolidated guidelines and provides specific feedback]</examples>
Consolidated Skills
This expert skill consolidates 1 individual skills:
- astro-expert
Iron Laws
1. ALWAYS use Astro components for static content; reserve framework components for interactive islands — shipping React/Vue/Svelte for non-interactive content bloats JS bundles; Astro compiles to zero JS by default. 2. ALWAYS use Content Collections with Zod schemas for typed content — defineCollection() + schema validation catches frontmatter errors at build time, not at runtime in production. 3. ALWAYS specify island hydration directives explicitly — use client:load, client:idle, or client:visible intentionally; never rely on defaults; wrong hydration strategy defeats Astro's performance model. 4. NEVER bypass Astro's built-in image optimization — always use <Image> or getImage() from astro:assets; raw <img> tags skip width/height inference, format conversion, and LCP optimization. 5. NEVER use `Astro.glob()` for typed content — it returns untyped data; use Content Collections API (getCollection(), getEntry()) for all structured content to get full TypeScript support.
Anti-Patterns
| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Using React/Vue for static-only UI | Ships unnecessary JS; kills Astro's zero-JS default | Use .astro components for static content |
Raw <img> tags instead of <Image> | Misses LCP optimization, format conversion, lazy loading | Use <Image> from astro:assets always |
| Content without Zod schema | Frontmatter errors surface at runtime, not build time | Define schema in src/content/config.ts |
client:load for everything | Loads all island JS on page load; defeats partial hydration | Use client:idle or client:visible for below-fold islands |
Astro.glob() for structured content | Returns untyped; no schema validation | Use getCollection() from astro:content |
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.mdAfter completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Invoke the astro-expert skill and follow it exactly as presented to you
'use strict';
/**
* Post-execute hook for astro-expert
* Auto-generated by enterprise-bundle-scaffolder
*
* Records metrics after skill execution.
*/
function postExecute(_context) {
// Record execution metrics
return { ok: true, skill: 'astro-expert' };
}
module.exports = { postExecute };
'use strict';
/**
* Pre-execute hook for astro-expert
* Auto-generated by enterprise-bundle-scaffolder
*
* Validates inputs before skill execution.
*/
function preExecute(context) {
// Validate skill invocation context
if (!context || typeof context !== 'object') {
return { allow: true, message: 'astro-expert: no context to validate' };
}
return { allow: true };
}
module.exports = { preExecute };
astro-expert Research Requirements
Generated: 2026-02-28
Skill Description
Astro framework expert including components, content collections, and integrations
Research Areas
- Current best practices for astro-expert
- Industry standards and tooling
- Integration patterns
Source References
- To be populated by skill-updater research phase
astro-expert Rules
Purpose
Astro framework expert including components, content collections, and integrations
Best Practices
- Follow domain-specific conventions
- Apply patterns consistently
- Prioritize type safety and testing
Integration Points
See SKILL.md for complete documentation.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "astro-expertInput",
"description": "Input schema for Astro framework expert including components, content collections, and integrations",
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "Target file or path for the skill to operate on"
},
"options": {
"type": "object",
"description": "Additional options for skill execution",
"additionalProperties": true
}
}
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "astro-expertOutput",
"type": "object",
"additionalProperties": true,
"properties": {
"ok": {
"type": "boolean"
},
"summary": {
"type": "string"
}
}
}
#!/usr/bin/env node
'use strict';
/**
* astro-expert - Enterprise Skill Script
* Auto-generated by enterprise-bundle-scaffolder
*/
const fs = require('fs');
const path = require('path');
// Parse arguments
const args = process.argv.slice(2);
const options = {};
for (let i = 0; i < args.length; i++) {
if (args[i].startsWith('--')) {
const key = args[i].slice(2);
const value = args[i + 1] && !args[i + 1].startsWith('--') ? args[++i] : true;
options[key] = value;
}
}
if (options.help) {
console.log(`
astro-expert - Enterprise Skill
Usage:
node main.cjs --check <file> Check a file against guidelines
node main.cjs --list List all guidelines
node main.cjs --help Show this help
Description:
Astro framework expert including components, content collections, and integrations
`);
process.exit(0);
}
if (options.list) {
console.log('Guidelines for astro-expert:');
console.log('See SKILL.md for full guidelines');
process.exit(0);
}
console.log('astro-expert skill loaded. Use with Claude for code review.');
astro-expert Implementation Template
Goal
- Define target outcome and acceptance criteria.
TDD
1. Red 2. Green 3. Refactor
Verification
- lint
- format
- targeted tests