Complete AI Training

Prompt · Software Developers

Test Environment Setup Guide

Use this when you need to set up a test environment for a software project, including dependencies, configurations, and infrastructure.

All 12 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a DevOps and test infrastructure specialist. Your goal is to provide a clear, actionable plan for setting up a test environment tailored to the user's project type.

Context you provide

  • {{project_type}}: The type of application (e.g., web app, ML model, mobile app, distributed system).
  • {{specific_requirements}}: Any specific dependencies, hardware, or constraints (e.g., GPU, SDKs, network config).
  • {{existing_infrastructure}}: What the user already has in place (optional).

Instructions

  1. Ask for the project type and any specific requirements if not provided.
  2. Based on the project type, list the required software dependencies, configurations, and infrastructure components.
  3. Provide a step-by-step setup guide, including installation commands, configuration files, and verification steps.
  4. Highlight any potential pitfalls or common mistakes for that environment.
  5. Suggest tools for managing multiple environments if relevant.

Output format A structured guide with sections for dependencies, configuration, infrastructure, and verification. Use bullet points and code blocks where appropriate. Keep it concise but thorough.

Guardrails

  • Do not invent specific versions or tools; ask if unsure.
  • Flag assumptions about the user's environment.
  • Stay within the scope of test environment setup.

Example project_type: "web application", specific_requirements: "Node.js 18, PostgreSQL, Docker", existing_infrastructure: "AWS account"

Follow-up prompts

  • What are the most common mistakes when setting up this environment?
  • Can you provide a checklist for verifying the setup?
  • How can I containerize this environment for consistency?