wp-astrojs
Installation
SKILL.md
WordPress + Astro Integration
This skill applies when an Astro project uses wp-astrojs-integration (built on fluent-wp-client).
The library code is small and easy to grep when you need precise API details. Prefer reading from node_modules/wp-astrojs-integration/dist over guessing types.
Quickstart
1. Init a WordPressClient
For projects that want build-time WordPress discovery, use the Astro catalog integration and keep detailed catalog setup in references/catalog.mdx:
// astro.config.mjs
import { defineConfig } from 'astro/config';
import wordpress from 'wp-astrojs-integration/integration';