@pythoughts/astro-agent-skills
v1.0.0
Published
Agent Skills for building with Astro 6 — astro-framework reference + learning-astro tutorial. Compatible with Claude Code, Cursor, Cline, Codex and other Agent Skills clients.
Maintainers
Readme
Astro Agent Skills
Agent Skills for building with Astro — current to Astro 6. Compatible with Claude Code, Cursor, Cline, OpenAI Codex, and any agent supporting the Agent Skills specification.
Two skills that give coding agents accurate, up-to-date Astro expertise: a comprehensive reference for building, and an interactive tutorial for learning.
Available Skills
| Skill | Description | Install |
|-------|-------------|---------|
| astro-framework | Astro framework reference for islands architecture, the Content Layer API, server islands, SSR adapters, sessions, actions, astro:env, i18n, view transitions, CSP, and the Fonts API. | npx skills add Pythoughts-labs/Astro/astro-framework |
| learning-astro | Interactive tutorial that teaches Astro by building a personal blog — 3 guided lessons with concepts, reflections, and hands-on code. | npx skills add Pythoughts-labs/Astro/learning-astro |
Quick Start
Install a single skill
npx skills add https://github.com/Pythoughts-labs/Astro --skill astro-frameworknpx skills add https://github.com/Pythoughts-labs/Astro --skill learning-astroManual installation
Clone the repository and copy the desired skill folder into your agent's skills directory:
git clone https://github.com/Pythoughts-labs/Astro.git
cp -r Astro/skills/astro-framework ~/.claude/skills/
cp -r Astro/skills/learning-astro ~/.claude/skills/Repository Structure
Astro/
├── README.md
├── LICENSE
└── skills/
├── astro-framework/ # Astro framework reference skill
│ ├── SKILL.md # Main skill instructions
│ ├── AGENTS.md # Compiled cheatsheet
│ ├── references/ # Detailed reference docs
│ └── rules/ # Context-specific rules (glob-scoped)
└── learning-astro/ # Interactive Astro tutorial skill
├── SKILL.md # Tutoring protocol and lesson structure
├── guides/ # Step-by-step lesson guides (3 lessons)
├── reflect/ # Reflection moments between parts
├── concepts/ # Deep dives on Astro fundamentals
└── help/ # Common errors and verification proceduresSkills Overview
astro-framework
A reference skill for developers building with Astro. Covers islands architecture, the Content Layer API (glob/file/live loaders), server islands (server:defer), SSR adapters, view transitions, server-side sessions, actions, middleware, astro:env, i18n routing, image optimization, the Fonts API, and Content Security Policy. It provides decision frameworks, code patterns, and glob-scoped rules current to Astro 6.
learning-astro
An interactive tutorial that teaches Astro from scratch by building a personal blog. Designed for beginners and developers coming from other frameworks.
3 lessons (~45 min each):
- Your First Astro Site — Pages, components, layouts, styling
- Content & Dynamic Routes — Content collections, blog posts, RSS
- Interactivity & Launch — Islands, view transitions, deployment
How it works:
- Adapts to the user's experience level (beginner / knows other frameworks / knows Astro)
- Follows a Discover → Build → Reflect rhythm
- Uses the
astro-frameworkskill for technical accuracy
Creating a New Skill
Create a new directory under
skills/:mkdir -p skills/my-new-skillCreate the required
SKILL.mdwith frontmatter:--- name: my-new-skill description: What this skill does and when to use it. license: MIT metadata: author: elkaix version: "1.0.0" --- # My New Skill Instructions for the agent...(Optional) Add supporting files:
references/— detailed reference documentationrules/— context-specific rules with glob patterns
Add your skill to the table in this README.
Skill Format
Each skill follows the Agent Skills Specification.
Required: a SKILL.md file with YAML frontmatter (name matching the directory, description) and instructions.
Optional frontmatter:
---
license: MIT
metadata:
author: elkaix
version: "2.0.0"
category: framework
tags: astro, islands, ssr
compatibility: Requires Node.js 18+
allowed-tools: Bash(npm:*) Read
---Compatibility
| Agent | Status | |-------|--------| | Claude Code | Fully supported | | Cursor | Fully supported | | Cline | Fully supported | | OpenAI Codex | Compatible | | GitHub Copilot | Compatible | | Windsurf | Compatible |
Contributing
Contributions are welcome:
- Fork the repository
- Add or update a skill under
skills/ - Follow the Agent Skills Specification
- Update the table in this README
- Open a pull request
Guidelines:
- Keep
SKILL.mdunder 500 lines (usereferences/for detail) - Use progressive disclosure (metadata → instructions → references)
- Include clear examples
- Add
rules/files with glob patterns for context-specific guidance
License
MIT — see LICENSE.
Resources
Maintained by elkaix under Pythoughts-labs.
