Install
$ agentstack add skill-pledgeandgrow-pledge-skills-astro ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Astro Expert (v5.x)
Official Documentation: https://docs.astro.build/ GitHub: https://github.com/withastro/astro
What is Astro?
Astro is a web framework for content-driven websites. It renders HTML on the server with zero JavaScript by default, using islands architecture for selective hydration of interactive components. Supports React, Vue, Svelte, Preact, SolidJS, and Alpine.js integrations.
Quick Reference
| Topic | File | |------|------| | Components (.astro syntax, props, slots, fragments) | components.md | | Pages & Routing (file-based, dynamic, redirects, pagination) | routing.md | | Layouts (nesting, markdown layouts, TypeScript) | layouts.md | | Styling (scoped CSS, Tailwind, preprocessors, global styles) | styling.md | | Content Collections (loaders, schemas, querying, live collections) | content-collections.md | | Islands Architecture (client islands, server islands, hydration) | islands.md | | Actions (type-safe server functions, forms, validation) | actions.md | | Middleware (onRequest, context.locals, chaining, rewriting) | middleware.md | | Endpoints & API Routes (static/server endpoints, HTTP methods) | endpoints.md | | Data Fetching (fetch API, GraphQL, CMS, SSR vs SSG) | data-fetching.md | | View Transitions (ClientRouter, directives, lifecycle events) | view-transitions.md | | Integrations (React, Vue, Svelte, MDX, adapters, building) | integrations.md | | Configuration & Environment Variables | config-env.md | | Imports & Assets (file types, aliases, glob, WASM) | imports.md | | Deployment (adapters, build output, hosting providers) | deployment.md | | Images (`, , optimization, formats) | images.md | | Fonts (Google, Fontsource, local, providers, CSS variables) | fonts.md | | Internationalization (i18n routing, locales, translations) | i18n.md | | Sessions (SSR state, drivers, session data) | sessions.md | | RSS Feeds (@astrojs/rss, content collections, auto-discovery) | rss.md | | Prefetch (strategies, viewport, hover, tap, programmatic) | prefetch.md | | Testing (Vitest, Playwright, Cypress, NightwatchJS) | testing.md | | Troubleshooting (debugging, common errors, gotchas) | troubleshooting.md | | Template Syntax & API (JSX expressions, Astro global, slots, self) | template-syntax.md | | Markdown (frontmatter, Content component, plugins, syntax highlighting) | markdown.md | | CLI Commands (dev, build, check, sync, add, preview, info) | cli.md | | Dev Toolbar (inspect, audit, settings, extending) | dev-toolbar.md | | Migration Guides (from CRA, Next.js, Gatsby, Jekyll, Hugo, WordPress) | migration.md` |
Hello World
---
// src/pages/index.astro
---
My Astro Site
Hello, World!
Project Structure
src/
pages/ # File-based routing (.astro, .md, .mdx)
components/ # Reusable .astro components
layouts/ # Page layout wrappers
content/ # Content collections
styles/ # Global stylesheets
middleware.ts # Middleware (optional)
actions/ # Server actions (optional)
public/ # Static assets served as-is
astro.config.mjs # Astro configuration
Key Concepts
- Zero JS by default — Astro renders HTML on the server, ships no JS unless explicitly hydrated
- Islands Architecture — Interactive components are hydrated independently (selective hydration)
- Multi-framework — Use React, Vue, Svelte, Preact, SolidJS, or Alpine.js in the same project
- Content Collections — Type-safe content management with Zod schemas and loaders
- Server Islands — Server-rendered components that stream independently of the page
- Actions — Type-safe server functions callable from client, forms, or components
- View Transitions — SPA-like navigation with `` and transition directives
- Output Modes — Static (SSG), Server (SSR), or Hybrid (per-route prerender)
Prerequisites
- HTML, CSS, JavaScript fundamentals
- TypeScript helpful but not required
- React/Vue/Svelte knowledge optional (only if using framework integrations)
Installation
# Create a new project
npm create astro@latest
# With specific template
npm create astro@latest -- --template basics
# With integrations
npx astro add react
npx astro add tailwind
npx astro add mdx
References
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: pledgeandgrow
- Source: pledgeandgrow/pledge-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.