Astro Content Collections for Migrating WordPress Content
How to use Astro Content Collections as a structured landing zone for WordPress content migrations, with schemas, import scripts, and a safer path from CMS to static front end
Practical notes on converting heavy WordPress sites into faster Astro front ends, using Valet for local development, and testing new ways to work with Claude, Codex, Fireworks, Kimi, MiniMax, and local models.
Sharing the patterns, tradeoffs, and practical decisions behind hybrid WordPress and Astro builds, plus the AI tools that actually help day to day.
Astro as the fast layer on top of WordPress
Claude, Codex, and model comparisons that inform real work
Valet, Zed, Ghostty, and tools that keep the loop fast
---
const WORDPRESS_API = 'https://example.com/wp-json/wp/v2/posts';
const posts = await fetch(WORDPRESS_API).then((res) => res.json());
---
<div class="grid gap-6">
{posts.slice(0, 5).map((post) => (
<a href={`/blog/${post.slug}`} class="rounded-lg border p-4">
<h3>{post.title.rendered}</h3>
<p>{post.excerpt.rendered}</p>
</a>
))}
</div> Instantly dive into my latest posts, connect with real experiences, and build knowledge with flexible, future-ready insights—no fluff holding you back.
How to use Astro Content Collections as a structured landing zone for WordPress content migrations, with schemas, import scripts, and a safer path from CMS to static front end
A practical guide to writing better prompts for Claude when you want usable article drafts, cleaner outlines, and less editing after the first pass
A practical look at opencode as the harness around model choice, prompt routing, repo context, and CLI workflow for planning, refactoring, debugging, and iterating faster
Integrating React components into Astro sites using partial hydration directives to control when and how JavaScript loads on the client
Technical comparison of Node.js and Bun runtimes covering performance benchmarks, the recent security vulnerability that led Bun to rewrite core components in Rust, concerns about vibe-coding and AI-generated code quality in critical infrastructure, and guidance for developers choosing between runtimes in 2026
Fetching content from WordPress into Astro static sites using WPGraphQL or REST API for the best of both worlds: familiar CMS and modern frontend
Notes from trying new coding assistants, local models, prompt patterns, and orchestration tools. Some experiments stick, some don’t, but the useful ones end up here.
name: Draft article with Claude
on:
workflow_dispatch:
jobs:
draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate outline
run: node scripts/generate-blog.js
- name: Review and refine
run: echo "Edit the draft, then publish once the structure and examples are solid."