Build and ship a WordPress plugin from two plain prompts
A WordPress developer built a complete plugin, Makitweb Copy ID, with AI working inside his project: two short prompts produced the plugin structure, the PHP row-action code and the clipboard JavaScript, including a fallback he never asked for. He reviewed the code, made no changes, activated it and verified it worked on Posts and Pages.
How it works
- Prompt 1: create the plugin structure and main PHP file only
- Prompt 2: implement a Copy ID action for posts and pages with ten numbered requirements
- The AI generates PHP using WordPress row-action filters
- The AI writes clipboard JavaScript with an older-browser fallback
- The AI lists changed files and self-checks for errors
- Author reviews, activates and tests in WordPress admin
Why it’s worth knowing
It added an unrequested clipboard fallback and correct security escaping, and shipped with zero edits.
Where it’s from
Summarized from a public post on makitweb.com. See the original ↗