AgentSkillsCN

olore-astro-latest

本地 Astro 文档参考(最新版)。Astro 框架文档。适用于以内容为核心的站点、岛屿架构、SSG/SSR、组件开发、路由配置,以及框架集成等场景。

SKILL.md
--- frontmatter
name: olore-astro-latest
description: Local Astro documentation reference (latest). Astro framework documentation. Use for content-focused sites, islands architecture, SSG/SSR, components, routing, and framework integrations.

Astro Documentation

Astro framework documentation. Use for content-focused sites, islands architecture, SSG/SSR, components, routing, and framework integrations.

Quick Reference

TaskEntry Point
Getting startedcontents/getting-started.mdx
Installationcontents/install-and-setup.mdx
Core conceptscontents/basics/
API referencecontents/reference/api-reference.mdx
Configurationcontents/reference/configuration-reference.mdx
CLI commandscontents/reference/cli-reference.mdx
Tutorialcontents/tutorial/
Error troubleshootingcontents/reference/errors/

When to use

Use this skill when the user asks about:

  • Astro framework features and concepts
  • Islands architecture and partial hydration
  • Static site generation (SSG) and server-side rendering (SSR)
  • Astro components, pages, and layouts
  • Content collections and Markdown/MDX
  • Framework integrations (React, Vue, Svelte, etc.)
  • Deployment and configuration
  • API endpoints and middleware
  • Image optimization and asset handling
  • Routing and navigation

How to find information

  1. First, read TOC.md for complete file listing organized by directory
  2. Identify relevant section based on user's question:
    • basics/ - Fundamental concepts (components, pages, layouts)
    • concepts/ - Architecture principles (islands, why Astro)
    • guides/ - Feature guides and integrations
    • reference/ - API documentation and error codes
    • recipes/ - Practical how-to examples
    • tutorial/ - Step-by-step learning path
  3. Read specific files for details

TOC.md contains all files organized by directory - always check it first.