Plan a feature's implementation steps (for an AI editor to execute)

A ready-to-use “Programming” AI prompt template, designed and tested with Cursor. Replace the (bracketed) parts below with your own needs.

Prompt template
I'm building a (project type, e.g., Astro site / Node API); the stack is (language/framework). I want to add a feature: (describe the feature and expected behavior concretely). Please: 1) break this requirement into clear implementation steps (which files to change and what to do at each step); 2) mark possible edge cases and tests to write; 3) point out easy pitfalls. Output as a task list I can paste into an AI editor agent like Cursor to execute step by step, with fine-enough granularity that I can review each part.

How to use this prompt

  1. Copy the whole prompt above and paste it into Cursor or ChatGPT / Claude / Gemini.
  2. Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
  3. If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.

Recommended tool: Cursor — A code editor built for AI.