astro-github-actions

Generate GitHub Actions CI/CD workflows for Astro projects.

93|9|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/jdevalk/skills --skill astro-github-actions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro-github-actions
Source: https://github.com/jdevalk/skills/tree/main/astro-github-actions
Command: npx skills add https://github.com/jdevalk/skills --skill astro-github-actions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the setup of a robust CI/CD pipeline for Astro sites using GitHub Actions, covering type checking, code quality, build validation, testing, performance gates, link checks, security audits, and automated deployment across popular hosts.

Core Features & Use Cases

  • Type/content checking with astro check to ensure frontmatter validity and content schema compliance
  • Code quality and formatting using ESLint and Prettier
  • Build verification to catch runtime issues and integration problems
  • Vitest-based tests for unit and component testing in Astro projects
  • Lighthouse CI for performance, accessibility, and SEO gates
  • Link checking on built output to catch broken links
  • npm audit for dependency security scanning
  • Deployment workflows to GitHub Pages, Cloudflare Pages, Netlify, or Vercel
  • Project-aware workflow generation by detecting package manager, adapters, tests, and deployment targets

Quick Start

Install this skill with a single command to configure Astro CI workflows across your repo.

Frequently Asked Questions about astro-github-actions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up GitHub Actions workflows for an Astro site?

Automate Astro CI/CD pipelines with GitHub Actions by generating workflows for type checking, linting, building, testing, and deployment. The skill detects your project configuration to tailor the workflow setup automatically.

What does astro check do in a CI pipeline?

Astro check performs type and content checking in a CI pipeline to ensure frontmatter validity and content schema compliance. This catches type errors and content issues before deployment.

Can I deploy my Astro site to Cloudflare Pages or Vercel using GitHub Actions?

Yes, you can deploy your Astro site to GitHub Pages, Cloudflare Pages, Netlify, or Vercel. The skill generates ready-made deployment workflow templates based on your detected hosting target.

Does the Astro GitHub Actions workflow support Vitest and Lighthouse CI?

Yes, the workflow supports Vitest for unit and component testing, and Lighthouse CI for performance, accessibility, and SEO gates. It also includes npm audit for dependency security scanning.

How do I handle package manager detection in Astro GitHub Actions workflows?

The skill is project-aware and handles package manager detection automatically. It generates workflows that satisfy Node.js version compatibility and package-manager-aware installs without manual configuration.

What is the best way to automate link checking and security audits for Astro projects?

Automate link checking on built output to catch broken links and run npm audit for dependency security scanning. These checks integrate directly into your generated Astro GitHub Actions CI pipeline.