Urgent.News

What's breaking now, across thousands of outlets.

Tech

Don't write the prompt. Get interviewed

Everyone teaches you to write prompts. In practice, a person looks at a sample a couple of pages long, with a stack, constraints, formats and edge cases, and closes the tab: there's no way I'll write that. I needed a document camera: an Android phone on a tripod above the desk, a live preview in the PaperLedger browser page and a "Capture" button. Instead of a technical specification I told the…

Writing prompts can be intimidating. Individuals often glance at a lengthy sample complete with constraints, formats, and edge cases, then close the tab, believing they cannot produce something similar. To overcome this challenge, one should consider an alternative approach.

Instead of directly creating a prompt, engage in an interview with the agent. Request them to delve into the stack, architecture, and the limits of the decisions involved. By posing a series of targeted questions, you can gather valuable insights that would have otherwise required extensive prompt writing.

For instance, inquire about the behavior of the system when the portal is open in multiple tabs simultaneously. This approach helps uncover potential issues that might not be evident through a traditional prompt.

Furthermore, be aware of potential mistakes made by the agent. In this case, the agent initially focused on integrating with PaperLedger before examining the code. Recognize that not all questions are equally important, and prioritize those that address critical aspects of the project.

Once you have gathered sufficient information through the interview, it becomes easier to construct the scenario, define boundaries, and establish contracts between the components. This information acts as a foundation for creating the final prompt, eliminating the need to write it from scratch.

To initiate the process, use a simple "get started" command. The agent will then take charge, building the app, transitioning to the Python portal, and establishing the connection between the two sides. By following this method, the decisions you would have made naturally emerge in the written document.

The entire interview process, including the agent's subsequent actions, can be found in the article: [https://hram.github.io/en/articles/mobile-ledger/](https://hram.github.io/en/articles/mobile-ledger/).

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

🦥 TidySloth CLI: The Local-First File Organizer That Embraces Sloth Mode

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady What I Built TidySloth CLI is a lightweight, privacy-focused, local-first Python command-line utility…

  • TidySloth CLI organizes files locally on user's machine
  • Automatically sorts files into subfolders like Code, Documents, Images
  • Emphasizes privacy by processing data offline with no cloud transmission

More from Thursday 22 October →