Official agent skill

Astro Developer

by withastro in withastro/astro

Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro.

OfficialCustom licenceAuto-check passedDevelopment

Install Astro Developer

skills CLI
$ npx skills add withastro/astro --skill astro-developer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install withastro/astro astro-developer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/withastro/astro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/astro-developer .claude/skills/astro-developer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
astro-developer
GitHub stars
63k
Used in
1 other repo
Token cost
~1.5k tokens
SKILL.md length
387 words
Files
6
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro.

  • Works in 5 steps: Prefer Unit Tests: Write unit-testable… → Node.js API Restrictions: Cannot use… → Test Isolation: Must set unique outDir… → …
  • Working on features
  • SKILL.md covers Quick Decision Matrix, Critical Warnings, Quick Command Reference and Key File Paths, plus 5 more sections
  • Calls pnpm and node

What it does

Astro Developer is an agent skill from withastro/astro, published by the product's own GitHub organization. Comprehensive guide for developing in the Astro monorepo. Covers architecture, debugging, testing, and critical constraints. Use when working on features, fixes, tests, or understanding the codebase structure.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `architecture.md`, `constraints.md` and `debugging.md`).

It sits in Development, covering Static sites and blogs and Monorepo tooling. It works with Astro. The repository describes itself as: The web framework for content-driven websites.

When your agent uses it

  • Working on features
  • Understanding the codebase structure

Example prompts

  • “/astro-developer”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Prefer Unit Tests: Write unit-testable code by default. Use integration tests only when necessary → testing.md
  2. Node.js API Restrictions: Cannot use Node.js APIs in runtime/ code → constraints.md
  3. Test Isolation: Must set unique outDir for each integration test → testing.md
  4. Runtime Boundaries: Core vs Vite vs Browser execution contexts → architecture.md
  5. Prerelease Mode: Changesets target origin/next branch (check .changeset/config.json)

What it can do on your machine

Read from SKILL.md and the folder at commit 28e7410. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.astro.build

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Astro Developer loads about 1.5k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 387 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 387 words (~1,453 tokens).

“Context-loading skill for AI agents and developers working in the Astro monorepo. Loads relevant documentation based on your task.”

— opening of SKILL.md by withastro, Custom licence
name
astro-developer

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files in .agents/skills/astro-developer of withastro/astro.

  • SKILL.md
  • architecture.md
  • constraints.md
  • debugging.md
  • evals/evals.json
  • testing.md

Open the folder on GitHubat commit 28e7410

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in withastro/astro, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Astro Developer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Astro Developer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Astro Developer this skillwithastro/astro63k1 repos~1.5kAutomated safety check: PassCustom licence
Docouture Docs InternalsInditexTech/weavejs208—~1kAutomated safety check: PassApache-2.0
Work Issuejoesaby/astro-mermaid123—~891Automated safety check: PassMIT
Aholo Viewer Monorepo Routingmanycoretech/aholo-viewer1.1k—~380Automated safety check: PassMIT
Sanity Best Practicesrobotostudio/turbo-start-sanity182—~940Automated safety check: PassMIT
Launch With AWSaws/agent-toolkit-for-aws2.8k—~3.2kAutomated safety check: PassApache-2.0

Similar skills

  • Docouture Docs Internals

    InditexTech/weavejs

    How a docouture Antora documentation site is put together: the playbook, the docs/antora.yml component descriptor, the four names that must agree, the ROOT+main default layout, promoting…

    208 GitHub stars~1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Work Issue

    joesaby/astro-mermaid

    End-to-end workflow for resolving a GitHub issue in astro-mermaid — triages complexity, then runs brainstorm → TDD → implement → docs/spec → code review at the right depth.

    123 GitHub stars~891 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Aholo Viewer Monorepo Routing

    manycoretech/aholo-viewer

    Coordinate Aholo Viewer monorepo work. Use for cross-module tasks, workspace scripts, generated docs/build flow, validation routing, cleanup boundaries, or…

    1.1k GitHub stars~380 tokensUpdated today
    DevelopmentAuto-check passed
  • Sanity Best Practices

    robotostudio/turbo-start-sanity

    Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, Blueprints, and…

    182 GitHub stars~940 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Launch With AWS

    aws/agent-toolkit-for-aws

    Official

    Migrates vibe-coded web applications to AWS. An agent skill from aws/agent-toolkit-for-aws.

    2.8k GitHub stars~3.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Sanity Best Practices

    sanity-io/agent-toolkit

    Official

    Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints…

    188 GitHub stars~1.3k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed

More from withastro/astro

All 10 skills in this repo
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Astro PR Writer

    withastro/astro

    Official

    Write and update Astro pull requests with reviewer-friendly titles and high-signal bodies.

    63k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Changeset

    withastro/astro

    Official

    Create a changeset for the Astro monorepo. An agent skill from withastro/astro.

    63k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Writing Comments

    withastro/astro

    Official

    How to write JSDoc (/ /) and inline (//) comments in the Astro codebase, for contributors reading the source — not end users.

    63k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Astro Code Review

    withastro/astro

    Official

    Perform a static, read-only code review of an Astro pull request or of a local branch, commit range, diff, patch, or working tree being prepared as a pull request.

    63k GitHub stars~7.6k tokensUpdated today
    Auto-check passed
  • Official

    Takes a bug report for the triagebot-action GitHub Action through reproduction, root-cause diagnosis, an intended-behavior check and a fix attempt.

    63k GitHub stars~639 tokensUpdated today
    Auto-check passed

Works with

Questions about Astro Developer

What does Astro Developer do?

Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro. Astro Developer is an agent skill from withastro/astro, published by the product's own GitHub organization. Comprehensive guide for developing in the Astro monorepo.

When should I use Astro Developer?

Astro Developer fits situations like: working on features; understanding the codebase structure.

How do I install Astro Developer in Claude Code?

Run `npx skills add withastro/astro --skill astro-developer -a claude-code`. Or copy the skill folder (.agents/skills/astro-developer in withastro/astro) into .claude/skills/astro-developer in your project. Claude Code loads it when a task matches its description.

How do I install Astro Developer in Codex?

Run `npx skills add withastro/astro --skill astro-developer -a codex`. Or copy the skill folder (.agents/skills/astro-developer in withastro/astro) into .agents/skills/astro-developer in your project. Codex loads it when a task matches its description.

Can I use Astro Developer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add withastro/astro --skill astro-developer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/astro-developer, .gemini/skills/astro-developer, .github/skills/astro-developer and .opencode/skills/astro-developer in your project.

What does Astro Developer need to run?

Going by SKILL.md and its folder, Astro Developer needs the command-line tools its instructions call (pnpm and node). Our summary lists: Node.js.

Does Astro Developer access the network?

SKILL.md names 1 domain. As links in the text: docs.astro.build. This is read from the text; nothing was executed.

Is Astro Developer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Astro Developer use?

Astro Developer has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Astro Developer use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Astro Developer?

Skills that share tags, products or a category with Astro Developer: Docouture Docs Internals (InditexTech/weavejs, 208 stars), Work Issue (joesaby/astro-mermaid, 123 stars), Aholo Viewer Monorepo Routing (manycoretech/aholo-viewer, 1.1k stars) and Sanity Best Practices (robotostudio/turbo-start-sanity, 182 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Astro Developer?

withastro (a GitHub organization, an official publisher) maintains it in withastro/astro, which has 63,106 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

Source: withastro/astro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.