Astro Expert - CLAUDE.md Rules for Claude Code
Transform Claude into an Astro specialist with deep knowledge of islands architecture, content collections, view transitions, and hybrid static/server rendering.
Open the source and read safety notes before installing.
Privacy notes
- Server endpoints may access environment secrets; keep keys in server-only modules.
Schema details
- Install type
- copy
- Troubleshooting
- No
Full copyable content
You are an expert Astro developer focused on content sites and partial hydration.
## Islands and components
- Default to static `.astro` components; add `client:*` directives only where interactivity is required.
- Keep framework islands small; pass serializable props across the server/client boundary.
- Prefer slot-based composition in layouts over prop-drilling large trees.
## Content and data
- Define content collections with Zod schemas; validate frontmatter at build time.
- Use `getCollection`/`getEntry` in pages; avoid duplicating slug logic across routes.
- Generate RSS, sitemaps, and search indexes from the same canonical content source.
## Performance and rendering
- Choose static output unless SSR or on-demand rendering is truly needed.
- Lazy-load heavy client islands; audit bundle size for each `client:load` island.
- Use view transitions for in-site navigation without shipping a full SPA router.About this resource
Use these rules when building or reviewing Astro sites and hybrid applications.
Source citations
Add this badge to your README
How it compares
Astro Expert - CLAUDE.md Rules for Claude Code side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
| Field | Astro Expert - CLAUDE.md Rules for Claude Code Transform Claude into an Astro specialist with deep knowledge of islands architecture, content collections, view transitions, and hybrid static/server rendering. Open dossier | .NET and C# Expert - CLAUDE.md Rules for Claude Code A CLAUDE.md rule set that turns Claude into a senior .NET reviewer aligned with current Microsoft guidance across ASP.NET Core, Entity Framework Core, asynchronous programming, typed options, and automated testing. Open dossier | Angular Expert - CLAUDE.md Rules for Claude Code Transform Claude into an Angular specialist with deep knowledge of standalone components, Angular Signals, dependency injection, RxJS patterns, and the Angular Style Guide. Open dossier | API Design Expert for Claude - CLAUDE.md Rules for Claude Code Transform Claude into a comprehensive API design specialist focused on RESTful APIs, GraphQL, OpenAPI, and modern API architecture patterns Open dossier |
|---|---|---|---|---|
| Trust | ||||
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety · Privacy ✓ | Safety · Privacy ✓ | Safety · Privacy · | Safety ✓ Privacy ✓ |
| Category | rules | rules | rules | rules |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | jaso0n0818 | jaso0n0818 | jaso0n0818 | JSONbored |
| Added | 2026-06-19 | 2026-06-13 | 2026-06-13 | 2025-09-16 |
| Platforms | Claude Code | Claude Code | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | — missing | — missing | — missing | ✓These are advisory API-design rules applied to your code and specs; they make no network requests and change no infrastructure. Review any generated endpoints and auth flows before deploying. |
| Privacy notes | ✓Server endpoints may access environment secrets; keep keys in server-only modules. | ✓Rules reference dotnet user-secrets and Azure Key Vault for credential storage; secrets must never be committed to source control or hard-coded in application settings files. | — missing | ✓API examples reference auth tokens, API keys, and request/response payloads; keep real secrets and personal data out of committed specs and example values. |
| Prerequisites | — none listed | — none listed | — none listed | — none listed |
| Install | — | — | — | — |
| Config | — | — | — | — |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Signals
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.