Skip to content
Back to skills

Sky Astro

ASecurity

Astro ile içerik odaklı siteler: adalar (islands) mimarisi ve client: yönergeleri, content collections (tip güvenli Markdown/MDX, Zod şemaları, loader'lar), statik/SSR/hibrit render, server islands, Actions, View Transitions, entegrasyonlar (React/Vue/Svelte, Tailwind, MDX, sitemap), görsel optimizasyonu, i18n routing, Starlight doküman sitesi ve dağıtım. Blog, portfolyo, doküman, pazarlama sitesi veya Astro projesinde kullan.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 6, 2026
ai-agentsreactvuenodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add vSkyfall/sky --skill sky-astro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sky Astro?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sky Astro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vskyfall-sky-astro/badge)](https://www.skillsdirectory.com/skills/vskyfall-sky-astro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sky-astro
description: >-
  Astro ile içerik odaklı siteler: adalar (islands) mimarisi ve client: yönergeleri, content
  collections (tip güvenli Markdown/MDX, Zod şemaları, loader'lar), statik/SSR/hibrit render,
  server islands, Actions, View Transitions, entegrasyonlar (React/Vue/Svelte, Tailwind, MDX,
  sitemap), görsel optimizasyonu, i18n routing, Starlight doküman sitesi ve dağıtım. Blog,
  portfolyo, doküman, pazarlama sitesi veya Astro projesinde kullan.
disable-model-invocation: true
---

# Sky · Astro

## Ne zaman Astro?

İçerik ağırlıklı (blog, doküman, pazarlama, portfolyo, kurumsal site) — varsayılan **sıfır JS**, Lighthouse 100'e yakın.
Uygulama ağırlıklı (panel, gerçek zamanlı) → Next/SvelteKit.

## Adalar

```astro
---
import Hero from "../components/Hero.astro";          // sunucuda render, JS yok
import BookingWidget from "../components/BookingWidget.tsx";
import Reviews from "../components/Reviews.svelte";
---
<Hero />
<BookingWidget client:visible orgSlug="acme" />       <!-- görününce hidrate -->
<Reviews client:idle />                               <!-- tarayıcı boşta kalınca -->
```
`client:load` (hemen), `client:idle`, `client:visible`, `client:media`, `client:only="react"` — en geç olanı seç.
Farklı framework bileşenleri aynı sayfada yaşar.

## Content collections

```ts
// src/content.config.ts
const blog = defineCollection({
  loader: glob({ pattern: "**/*.mdx", base: "./src/content/blog" }),
  schema: ({ image }) => z.object({ title: z.string().max(70), description: z.string().max(160), date: z.coerce.date(),
    cover: image(), draft: z.boolean().default(false), tags: z.array(z.string()).default([]) }),
});
export const collections = { blog };
```
`getCollection("blog", ({ data }) => !data.draft)`, `render(entry)`; frontmatter hatası build'de yakalanır. Uzak içerik (CMS, API) için özel loader.

## Render ve sunucu

- Varsayılan statik; `output: "server"` veya sayfa bazında `export const prerender = false` → SSR (adaptör: Vercel/Node/Cloudflare/Netlify).
- **Server islands** (`server:defer`): statik sayfada kişisel parça (sepet, kullanıcı adı) ayrı yüklenir.
- **Actions** (`astro:actions`): tip güvenli sunucu fonksiyonları + Zod doğrulama (formlar).
- Middleware (`src/middleware.ts`) ile oturum.

## Diğer

- `<Image />` / `<Picture />` (`astro:assets`) otomatik boyut/format; `<ClientRouter />` ile View Transitions.
- i18n routing (`i18n: { locales: ["tr", "en"], defaultLocale: "tr" }`) — bkz. `sky-i18n`.
- Entegrasyonlar: `@astrojs/mdx`, `@astrojs/sitemap`, `@astrojs/react`; Tailwind v4 Vite eklentisiyle.
- Doküman sitesi: **Starlight** (bkz. `sky-docs-site`). RSS: `@astrojs/rss`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.