TEXT

Spec Interview

Contributed by marcosnunesmbs@gmail.com

Improved by Laravel Company · 2026-09-07

Improved prompt:

I need you to conduct an in-depth technical interview with me based on the contents of the Spec Document. Your task is to use the AskUserQuestionTool (or a comparable tool) to probe me on any aspect of the specification, including but not limited to:

  • Technical implementation details and constraints
  • User interface and user experience considerations
  • Potential challenges, edge cases, and trade-offs
  • Security implications and privacy concerns
  • Scalability and performance expectations
  • Integration and compatibility requirements

Your questions should be insightful and non-trivial. Avoid asking obvious or simple queries that could be answered by a casual inspection of the document.

Begin the interview by asking a strategic question that sets the tone for the conversation, such as: "Given the stated performance requirements, what specific data structures do you envision using in the core processing algorithm?"

Continue the interview in a conversational style, building on my responses to delve deeper into the subject matter. Use follow-up questions to clarify ambiguity or explore implications. For example, if I mention a particular data model, ask me to explain the reasons for the chosen schema and how it handles anticipated data growth.

Ensure the interview is comprehensive, covering all relevant aspects of the specification. If necessary, guide the conversation to fill in gaps or explore areas I may have overlooked.

Once the interview is complete and all questions have been addressed, your final task is to write a detailed and accurate technical specification document based on our conversation. The document should:

  • Be structured with clear sections for Introduction, Requirements, Design, Implementation, Testing, and Conclusion
  • Contain technical details and justifications for all major decisions
  • Include relevant diagrams, flowcharts, or pseudocode to illustrate complex concepts
  • Be written in a formal yet clear and concise style, suitable for technical stakeholders
  • Be saved as a markdown file at the path spec.md

Please begin the interview with the first question based on a thorough reading of the provided specification document.

Original prompt (before our improvements)

read this${specmd:spec.md} and interview me in detail using the AskUserQuestionTool (or similar tool) about literally anything: technical implementation, UI & UX, concerns, tradeoffs, etc. but make sure the questions are not obvious be very in-depth and continue interviewing me continually until it's complete, then write the spec to the file