Skip to content
Back to skills

Astro

ASecurity

Astro/AstroPaper platform configuration for the blog-workflow plugin

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 2, 2026
documentationrustdocumentation

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned June 2, 2026

npx -y skills add aRustyDev/agents --skill astro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Astro?

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

Security grade badge for Astro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/arustydev-astro/badge)](https://www.skillsdirectory.com/skills/arustydev-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: platform-astro
description: Astro/AstroPaper platform configuration for the blog-workflow plugin
tags: [blog, astro, platform]
---

# Astro/AstroPaper Platform Skill

This skill provides Astro and AstroPaper-specific configuration for the blog-workflow plugin.

## Platform Configuration

- **Platform**: Astro/AstroPaper
- **Published posts path**: `src/data/blog/`
- **Build output**: `dist/`
- **Build command**: `astro build`
- **Dev server**: `astro dev`
- **Date field**: `pubDatetime`
- **Updated field**: `modDatetime`
- **Image field**: `ogImage`
- **Canonical field**: `canonicalURL`
- **Detection files**: `astro.config.mjs`, `astro.config.ts`

## Platform Summary

| Setting | Value |
|---------|-------|
| Published posts | `src/data/blog/` |
| Build output | `dist/` |
| Build command | `astro build` |
| Dev server | `astro dev` |
| Date field | `pubDatetime` |
| Updated field | `modDatetime` |
| Image field | `ogImage` |
| Canonical field | `canonicalURL` |

## Frontmatter Quick Reference

### Required Fields

| Field | Type | Notes |
|-------|------|-------|
| `id` | UUIDv4 | Stable artifact identifier |
| `title` | string | Max 60 chars for SEO |
| `description` | string | 150-160 chars for SEO |
| `pubDatetime` | ISO 8601 | Must include timezone |
| `tags` | string[] | At least one required |

### Optional Fields

| Field | Default | Notes |
|-------|---------|-------|
| `modDatetime` | null | Set on updates |
| `author` | "aRustyDev" | Configurable per-project |
| `featured` | false | Show on homepage |
| `draft` | true | Exclude from build |
| `ogImage` | "" | Open Graph image path |
| `canonicalURL` | "" | For cross-posted content |

### Common Mistakes

| Wrong | Correct | Reason |
|-------|---------|--------|
| `date:` | `pubDatetime:` | AstroPaper naming convention |
| `image:` | `ogImage:` | AstroPaper naming convention |
| `canonical:` | `canonicalURL:` | AstroPaper naming convention |
| `type:` | (remove) | Not in AstroPaper schema |

## Detection

This platform is detected when any of these files exist in the project root:

- `astro.config.mjs`
- `astro.config.ts`

## Reference

For detailed documentation, see:

- [Frontmatter Schema](reference/frontmatter.md) - Complete field definitions and validation rules
- [Publishing Guide](reference/publishing.md) - Build, deploy, and rollback procedures
- [Directory Conventions](reference/paths.md) - Content locations and file structure

Files in this skill

  • SKILL.md2.4 KB
  • reference/frontmatter.md2.8 KB
  • reference/paths.md2.2 KB
  • reference/publishing.md2.2 KB

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.

Comments

Loading comments…