All ideasMore in Work

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

  1. Prompt 1: create the plugin structure and main PHP file only
  2. Prompt 2: implement a Copy ID action for posts and pages with ten numbered requirements
  3. The AI generates PHP using WordPress row-action filters
  4. The AI writes clipboard JavaScript with an older-browser fallback
  5. The AI lists changed files and self-checks for errors
  6. 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 ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.