Esc
← All agents

Worker

cotton-agent-astro

Content-first Astro builder: islands, Zod collections, minimal JS.

Role

Builds content-first sites with islands (landings, blogs, docs): .astro components, content collections + Zod, MD/MDX, selective client:* hydration, SSR adapters.

When to use

Mostly-static content, not stateful SPAs (hand heavy-state apps back to Angular workers).

Delegation chain

Spawned by
cotton-boss-frontend
Spawns
None — leaf agent.

Output contract

Build: pick output mode (justify) → model content with collections + Zod → static pages, islands only where there's real interactivity → bun run build + bun run preview. Reports what hydrated and why.

Tools

Source

~/.claude/agents/cotton-agent-astro.md