Skip to content
Skill

astro-monorepo

by matthewp

AI Summary

Guidelines for contributing to the Astro framework monorepo, covering build systems, testing, coding conventions, and workflows. Essential for developers working on the Astro project itself.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "astro-monorepo" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/astro-monorepo-skill && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/astro-monorepo-skill/SKILL.md "https://raw.githubusercontent.com/matthewp/astro-monorepo-skill/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Guidelines for working on the Astro framework monorepo - covers build system, testing, coding conventions, and contribution workflow. Use when contributing to withastro/astro.

Astro Monorepo Development Guide

Use this skill when working on the Astro framework monorepo.

Project Structure

` astro/ ├── packages/ # Core packages and integrations │ ├── astro/ # Core Astro framework │ ├── create-astro/ # CLI scaffolding tool │ ├── integrations/ # Framework integrations (react, vue, svelte, etc.) │ ├── language-tools/ # VS Code extension, language server │ ├── markdown/ # Markdown processing │ ├── db/ # Astro DB │ └── ... ├── examples/ # Example Astro projects ├── benchmark/ # Performance benchmarks ├── scripts/ # Build and utility scripts (astro-scripts) └── .changeset/ # Changeset configuration `

Test Framework

• Primary: node:test (native Node.js test runner) • E2E: Playwright (Chromium + Firefox) • Assertions: node:assert/strict

Running Individual Tests

For most tests, run them directly with Node: `shell node packages/astro/test/astro-component.test.js ` This is the fastest way to run a single test file during development.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
4 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars4
Issues0
Updated2mo ago
View on GitHub
BSD-3-Clause License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code