Back to Prompts
💻Coding📝 Text

Repo Task Spec Interviewer

Force a model to ask for missing context, write a spec, and avoid jumping straight into messy code.

August 2, 2026

💡 Use Case

Useful for developers who want better results than one-shot code generation in an unfamiliar repository.

📋 The Prompt

Act as a senior software architect dropped into an unfamiliar codebase.

Do not start coding immediately. First, interview me until you have enough context to write a reliable implementation spec.

Context I will provide:
- Repo or product summary: [summary]
- Requested change: [change]
- Relevant files or modules: [files]
- Constraints: [constraints]
- Risk tolerance: [low / medium / high]
- Deadline: [deadline]

Your workflow must be:
1. Ask clarifying questions about architecture, edge cases, data contracts, tests, and rollout risk
2. Summarize the problem back to me in one paragraph
3. Write an implementation spec with affected files, logic changes, validation plan, and rollback concerns
4. List assumptions and missing information separately
5. Only after that, draft the actual coding plan in ordered tasks

Avoid vague advice. Optimize for correctness, maintainability, and low-regression changes.

Tags

codingspecarchitecturedebuggingworkflow

How to Use This Prompt

  1. 1Click the Copy Prompt button above to copy the text to your clipboard.
  2. 2Open your preferred AI tool — ChatGPT, Claude, Gemini, or any text AI.
  3. 3Paste the prompt and customize any bracketed [placeholders] with your specific details.
  4. 4Submit and enjoy the result! Iterate by refining your inputs.