{"slug": "show-hn-a-prompt-generator-to-help-ai-agents-implement-my-new-email-api", "title": "Show HN: A prompt generator to help AI agents implement my new email API", "summary": "A developer built a prompt generator that helps AI agents implement a new email API, dynamically generating an OpenAPI spec to balance detail and flexibility across codebases. The project aims to fill a gap in Firebase's app email capabilities beyond basic auth.", "body_md": "I love building apps with Firebase but felt that, other than basic auth, app emails (notifications, billing etc) were missing. Wanting to implement a solution to this, it got me thinking about how to tell a coding agent about a new api and how to implement it. I dynamically generate an openapi spec via a script and have been playing around with using this spec to then create a prompt generator.\n\nIt's not something I've come across before and I can sort of understand why... Generating a prompt that's got enough detail to implement the api but not being too specific so it can be used in many code bases is a fine balance.\n\nI'd be interesting in any feedback on my approach and my execution.\n\nComments URL: [https://news.ycombinator.com/item?id=48553070](https://news.ycombinator.com/item?id=48553070)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-a-prompt-generator-to-help-ai-agents-implement-my-new-email-api", "canonical_source": "https://emailsdone.dev/#prompt-generator", "published_at": "2026-06-16 10:20:52+00:00", "updated_at": "2026-06-16 10:49:10.442308+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools"], "entities": ["Firebase"], "alternates": {"html": "https://wpnews.pro/news/show-hn-a-prompt-generator-to-help-ai-agents-implement-my-new-email-api", "markdown": "https://wpnews.pro/news/show-hn-a-prompt-generator-to-help-ai-agents-implement-my-new-email-api.md", "text": "https://wpnews.pro/news/show-hn-a-prompt-generator-to-help-ai-agents-implement-my-new-email-api.txt", "jsonld": "https://wpnews.pro/news/show-hn-a-prompt-generator-to-help-ai-agents-implement-my-new-email-api.jsonld"}}