Built for the GEO Lab content pipeline — where every post goes through a 32-part compliance audit before deployment.
Deploy HTML posts to WordPress with full compliance — strip DOCTYPE, add JSON-LD schema, set categories/tags/RankMath, clear cache, verify.
One command replaces a 15-minute manual deployment process:
- Strips DOCTYPE/html/head/body from HTML file
- Preserves JSON-LD schema blocks and CSS
- Wraps in
<!-- wp:html -->block - Removes h1 tags (WordPress title handles it)
- Creates/updates WordPress post via REST API
- Sets categories, tags, and RankMath SEO fields
- Clears Nginx FastCGI cache
- Runs post-publish verification (schema, h1 count, CSS, HTTP status)
Copy wp-deploy.md to your Claude Code commands directory:
cp wp-deploy.md ~/.claude/commands/wp-deploy.mdIn Claude Code:
/wp-deploy path/to/post.html
Or to update an existing post:
/wp-deploy post-id:1234
The command uses WordPress REST API with Basic Auth. Update the credentials in the command file to match your site.
- WordPress with Application Passwords enabled
- SSH access to VPS (for cache clearing)
- Nginx with FastCGI cache
Created by Artur Ferreira at The GEO Lab · GitHub