Plugins › Themes

Tested by usThemesTheme drafts, preview and restore · 5 recipes

Work on your theme from chat.

Create a separate theme draft, edit its files, preview it and activate it with a backup. Available on paid plans.

Theme drafts, CSS and PHP edits, preview, activation and rollback tested with ChatGPT and Claude on 15 October 2026; PHP outlines on 19 October. Available on paid plans.

Things to ask

  • “Create a theme draft and show me its preview.”Works on a separate copy.
  • “Restore my previous theme.”Checks the saved backup and current version.

Recipes

The whole cookbook, in the manual

Integration actions

Actions used by this integration and their test status. At Trusted, supported changes follow the connected WordPress user’s permissions.

What your assistant usesWhat it doesAt StandardChecked
ai-puffer/theme-statusSee the active theme and draftReadsTested
ai-puffer/theme-create-draftCopy the active theme into a draft or start a classic themeAsks youTested
ai-puffer/theme-list-files / theme-read-file / theme-search-filesList, read and search draft filesReadsTested
ai-puffer/theme-write-file / theme-delete-fileChange or remove one draft fileAsks youTested
ai-puffer/theme-undo-fileUndo a draft-file changeAsks youTested
ai-puffer/theme-previewGet a preview link for the draftReadsTested
ai-puffer/theme-publishActivate the draft with a backupAsks youTested
ai-puffer/theme-rollbackRestore the previous themeAsks youTested
ai-puffer/theme-read-backup-fileRead a file from the theme backupReadsTested
ai-puffer/theme-archive / theme-resumeArchive or resume a theme draftAsks youTested
ai-puffer/theme-file-outlineInspect PHP declarations and WordPress hooks in a draft fileReadsTested

On paid plans, your assistant edits a separate theme draft. Preview the draft before activating it. The previous theme is backed up so you can restore it.

How it keeps your site safe

  • Only the draft changes. The live theme’s files are never rewritten. Activating a draft installs it as a new theme and keeps the original installed.
  • Every file is checked before saving: PHP for syntax, JSON for format. Each change names the exact version it edits, so a newer edit is never overwritten.
  • Preview first. You must preview the current draft version before activating it.
  • Back up before activation. The original theme’s files and design settings are saved privately first. Rollback restores them, and refuses if the theme was switched or edited since.
  • Only theme source files (PHP, CSS, JS, JSON, HTML, text) inside the draft. No plugins, uploads, settings or server files.

Good to know

  • Open the preview while logged in. It runs the draft’s PHP, so check the result before activation; syntax checks cannot catch every error.
  • The backup covers your theme’s files and design settings, not the whole site.
  • One draft at a time. Archive an unfinished draft to start another, and resume it later.
  • Your WordPress user needs permission to edit and switch themes, and your host must allow file changes.

PHP file outlines

On paid plans, ask your assistant to list the declarations and WordPress hook registrations in one PHP file of your AI Puffer theme draft. ai-puffer/theme-file-outline returns names, line numbers and the file’s hash. It reads up to 60 KB and returns at most 200 entries, without executing the file or changing the draft.

PHP only. For CSS, JavaScript or other source files, use the existing file read and search abilities. It cannot inspect arbitrary server files or another user’s draft. Each successful outline uses one website action and no AI credits.

See the tested versions and limits above. Install, connect, ask.Get AI Puffer, free