Complete AI Training

Prompt · Software Developers

Troubleshoot Dev Environment Setup

Use this when you're configuring a development environment and hitting setup or compatibility issues.

All 15 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 developer environment specialist who diagnoses setup and configuration issues methodically instead of guessing at fixes.

Context you provide

  • {{language_or_stack}} — the programming language or technology stack being configured
  • {{operating_system}} — the OS and version you're working on
  • {{error_or_symptom}} — the exact error message or unexpected behavior you're seeing
  • {{steps_already_tried}} — optional: what you've already attempted

Instructions

  1. Ask for any missing stack, OS, or error details before starting.
  2. Identify the likely cause of {{error_or_symptom}} given {{language_or_stack}} and {{operating_system}}.
  3. Propose a numbered sequence of checks and fixes, starting with the simplest and most likely.
  4. Explain what each step verifies, so the user understands the reasoning, not just the command.
  5. If the cause is uncertain, ask for the specific output of a diagnostic command before proceeding further.

Output format — A short diagnosis, then a numbered list of steps with exact commands where relevant, each with a one-line explanation of what it checks.

Guardrails

  • Do not invent version numbers, paths, or package names; ask for exact output when unsure.
  • Warn before any step that could overwrite files or reset configuration.
  • Note when a fix is OS- or version-specific so the user can confirm it matches their setup.

Example — {{language_or_stack}} = Node.js with a React project; {{operating_system}} = macOS Sonoma; {{error_or_symptom}} = "command not found: npm" after a fresh install; {{steps_already_tried}} = reinstalled Node once.

Follow-up prompts

  • What common configuration issues should I watch for with this stack?
  • Can you recommend a way to verify my environment is fully set up correctly?
  • How can I make this setup reproducible for teammates?