Engineering Role Prompt Software

Software Engineer Role Prompt

Make AI act as a software engineer — design, implementation, and testing trade-offs — instead of a generic assistant that writes whatever you ask.

Overview

Ask an AI to "write some code" and you get code that runs; ask it to act as a software engineer and you get the reasoning that comes with it — the edge cases, the trade-offs, the maintenance cost. This generates a role prompt that fixes the AI as a senior software engineer: working-code-over-clever-code perspective, correctness and maintainability as decision criteria, and runnable examples over pseudo-code. Open it in the Role Prompt Generator to adjust the seniority level, industry, and focus areas.

How to use this resource

  1. Open the example in the tool

    It loads with realistic inputs already filled in.

  2. Swap in your own details

    Adjust the inputs and options to match your case.

  3. Generate and copy

    Produce the output and paste it where you need it.

Why This Works

  • A role fixes the AI's reasoning framework, so answers weigh correctness and maintainability, not just "does it run"
  • Seniority level changes behavior — a senior engineer flags second-order effects a junior would miss
  • Focus areas concentrate the model where it matters: system design and code quality

Best for

  • Pairing with AI on design and implementation
  • Getting trade-off-aware code, not just working code
  • Anchoring an assistant to engineering judgment

Not for

  • Reviewing a specific diff — use the Code Review Prompt Generator
  • Explaining existing code — use the Code Explanation Prompt

FAQ

How do I make an AI weigh maintainability instead of just writing working code?

The role fixes a reasoning framework the model reasons against. This prompt sets Decision criteria of Correctness, Simplicity, and Maintainability, and a perspective that 'Most cost lives in maintenance, not the first write', so answers weigh the next change's cost, not just whether it runs. Generate it, paste it into your assistant, and it holds the senior-engineer role for the conversation.

What can I customize in this software engineer role prompt?

Open it in the Role Prompt Generator to change seniority, industry, and focus areas. The sample ships as a '7+ years' senior engineer in 'Technology' with 'Focus areas for this session: System Design, Code Quality'; adjusting the seniority shifts behavior — a senior flags second-order effects a junior misses. You run the resulting prompt in your own AI chat.

Should I use this to review a specific pull request?

It is not built for diff review — this anchors an assistant to engineering judgment for design and implementation. It sets a general perspective and Output expectations like 'keep examples runnable, not pseudo-code', which suits pairing on a build. To review a specific diff use the Code Review Prompt Generator; to explain existing code, the Code Explanation Prompt.

More resources from Role Prompt Generator

Resources that pair well

Related tools

Projects that use this resource

Workflows that use this resource

Tip: Save time by exploring related resources and tools that integrate with this resource.