Cookbook
Theme
Draft, preview, and publish a theme change
Make theme edits in a draft and publish only after review.
Difficulty Intermediate
Time ~15 min
Tools create_draft_theme, read_file, edit_file, get_preview_url, publish_draft_theme
Prerequisites
The Vibe AI plugin installed on the connected site.
The prompt
Use WPVibe to make this theme change safely: [describe the change]. Create or reuse a draft theme first. Inspect the relevant theme files before editing. Make the smallest changes needed, then give me a preview URL and summarize exactly what changed. Do not publish the draft theme until I explicitly approve it.
Theme edits should happen in a draft. That keeps live visitors on the current theme while you and your AI iterate.
Publish only after reviewing the preview and the AI’s summary of changed files.
Outcome
A draft theme contains the requested change, with a preview URL and a clear publish checkpoint.