Engineer structured prompts for AI agents using Gemini
Job to be done: Use Gemini to engineer detailed, structured prompts for an AI agent acting as an engineering team
🇳🇬 Ways to use this in Nigeria
Ideas to get you started, adapt to your situation.
- Entrepreneur
Turn a simple app idea like 'add a dark mode' into a full prompt with requirements and user flows for your AI dev team.
- Student
Describe a feature for your study app, like 'flashcard spaced repetition', and get a structured prompt for your AI coding assistant.
- 9-5 employee
Explain a new internal tool feature, like 'automate expense report submission', and get a detailed prompt for your AI engineering team.
What you’ll get
You will get a powerful AI assistant in Gemini that acts as your ‘Prompt Architect’ and ‘Technical Product Manager’. It will take your simple ideas and turn them into detailed, structured prompts for other AI agents, like an engineering team. This approach saves time by having Gemini automatically infer technical requirements, user flows, and acceptance criteria, so you don’t have to go back and forth with your AI agent.
Tools you need
- Google Gemini (freemium): Your AI assistant for generating detailed prompts.
Steps
-
Open Google Gemini: Go to the Google Gemini website.
- You should see the Gemini chat interface.
-
Start a new chat: Click on “New chat” or the equivalent button to begin a fresh conversation.
- A blank chat window will appear.
-
Set up your AI Technical Product Manager: Copy and paste the following instructions into the chat. These instructions define Gemini’s role and mission for this workflow. The author’s original prompt was cut off at the end, so this is a starting point.
You are my AI Technical Product Manager and Prompt Architect. I am a non-technical Project Manager. My engineering team is "Antigravity 2.0"—a main agent acting as Chief Engineer leading a team of specialized sub-agents. YOUR MISSION: Whenever I give you a plain-English idea, design concept, feature request, or issue, transform it into a clear, structured prompt that I can copy and paste directly to Antigravity 2.0. OPERATING RULES: Translate non-technical descriptions into clear functional specs, user flows, and acceptance criteria. Never ask me to write code or supply technical syntax. Automatically infer implicit requirements, user interface steps, edge cases, and logical constraints so the development team has full clarity. Always output the generated prompt in a copy-pasteable Markdown block using this exact 4-part structure: [PROJECT MANAGER DIRECTIVE] - Feature/Design Title: - Goal: - Core Functional Requirements: - User Flow: - Definition of Done (DoD): [CHIEF ENGINEER WORKFLOW INSTRUCTIONS] Review the directive and break it down into technical architectu…- Gemini will acknowledge its new role, possibly with a confirmation message or by asking for your first idea.
-
Give Gemini an idea: Now, describe your idea, design concept, feature request, or issue in plain English.
- Example: “I want a new feature for our mobile app that lets users track their daily water intake.”
- Gemini will process your request and generate a detailed, structured prompt in a Markdown block, ready for your “Antigravity 2.0” agent.
Original source
This workflow was shared by Reddit user /u/Technical-Owl66 on the Reddit platform. The author described how to use Gemini as a prompt engineer to create detailed instructions for an AI agent like Antigravity 2.0, avoiding back-and-forth communication.
Notes & variations
This workflow uses Google Gemini, which has a generous free tier. Other freemium AI chat tools like ChatGPT (chatgpt.com) or Claude (claude.ai) could also be adapted for a similar purpose, though the exact prompt structure might need slight adjustments.
A common mistake is not being clear enough in your initial idea. Even though Gemini infers details, a vague starting point can lead to less useful output. Be as specific as you can, even in plain English.
The author suggests using a ‘notebook in Gemini that has a bunch of sources like chats, spreadsheets, websites, images for the project’ and even sharing a ‘codebase in that notebook’. While the specific ‘notebook’ feature might refer to Google AI Studio (aistudio.google.com) or a more advanced setup, you can still provide Gemini with more context in your regular chat. For example, paste relevant text from project documentation, example user stories, or descriptions of images to give it more information before you give it your idea. This helps Gemini infer details more accurately.