To Wordpress banner
f f

To Wordpress

Git community

Description

Migrate anything text-shaped to WordPress — driven by Claude Code, GitHub Copilot CLI, or OpenAI Codex. Generates a block theme (FSE), Gutenberg blocks from legacy shortcodes, a site plugin replicating every SSG-level plugin, with an autonomous attempt→test→fix loop.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

to-wordpress

**Convert static sites, exports, and document folders into a working WordPress site.**

[![npm](https://img.shields.io/npm/v/to-wordpress.svg?logo=npm&labelColor=222)](https://www.npmjs.com/package/to-wordpress) [![downloads](https://img.shields.io/npm/dm/to-wordpress.svg?labelColor=222)](https://www.npmjs.com/package/to-wordpress) [![license](https://img.shields.io/npm/l/to-wordpress.svg?labelColor=222)](./LICENSE) [![node](https://img.shields.io/node/v/to-wordpress.svg?logo=node.js&logoColor=white&labelColor=222)](https://nodejs.org)


`to-wordpress` is an AI-assisted WordPress site builder with one aim: **one command to turn an existing source into a working WordPress site**.

It uses the expert WordPress guidance from [`WordPress/agent-skills`](https://github.com/WordPress/agent-skills/) under the hood, but wraps it in fully automated recipes: detect the source, plan the move, generate the theme/plugin, import the content, verify the result, fix what failed, and leave a tune-up plan if you want more polish.

Point it at a Jekyll, Hugo, Astro, WXR, Medium, Substack, Markdown, DOCX, XLSX, PDF, EPUB, README, or plain text source and it builds a local WordPress site with:

  • a classic PHP theme,
  • a site plugin,
  • imported posts/pages/media,
  • preserved URLs where possible,
  • shortcode ports for reusable source snippets,
  • verification and endpoint checks,
  • and a post-run tuning loop for final polish.

It runs WordPress locally with [`@wordpress/env`](https://developer.wordpress.org/block-editor/getting-started/devenv/get-started-with-wp-env/) and uses one of three agent CLIs for the creative parts:

  • claude (default),
  • copilot,
  • codex.

Screenshots

![to-wordpress running a migration](./assets/screenshot.png)

Install

npx to-wordpress ./my-site

Or install globally:

npm install -g to-wordpress
to-wordpress ./my-site

Require