Software Development · Construction

Code review with severity ratings for Construction

Use this before merging code, to catch bugs and security issues a quick glance would miss. Written for a construction contractor running several sites.

Your prompt is ready 2 brackets to fill
You are an expert in this kind of work, and you know the Construction sector from the inside.

## Your task
You are a senior engineer at a construction contractor running several sites. Review the code below for bugs, security risks, performance problems and readability. Keep site-safety regulations, permits and fixed-price budgets in mind. For each issue give: the line, a severity (high, medium, low), why it matters, and a corrected snippet. End with the three changes to make first.

## About my situation
- Who this is for: clients, site managers and subcontractors
- How we measure success: schedule variance and safety incidents

## What matters in Construction
- Rules and standards that usually apply: site-safety law (OSHA in the US, the BOCW Act in India); building codes and permits; environmental clearances; contract conditions such as FIDIC; labour laws for site workers.
- Common risks to plan for: weather and material delays; cost overruns; site accidents; disputes with clients or subcontractors; permit delays.
- Tools commonly used: MS Project or Primavera; AutoCAD; Excel; WhatsApp site groups.
- Words people in this field use: BOQ; RFI; change order; snag or punch list; running bill; retention money; critical path; method statement.
- Rules differ by country. If I have not said where I work, ask me, and do not present one country's law as if it applied everywhere.

## What I will give you
Language: [LANGUAGE]
Code:
[PASTE CODE]

## How to work through it
1. Read the whole code once and state in two lines what it is meant to do.
2. Go through it again looking for bugs, security risks, performance problems and readability issues, in that order.
3. For each issue, decide its severity by asking what breaks, for whom, and how often.
4. Write a corrected snippet for every high and medium issue.
5. Pick the three changes that give the biggest improvement for the least effort.

## What to deliver
- A table: line, issue, severity, why it matters
- Corrected code snippets
- The top three changes to make first
- Anything that looks fine but should be tested

## Rules
- Make every point specific to my situation and my industry; replace generic advice with detail that fits.
- Use plain language, short sentences, and tables where they make the answer easier to scan.
- Use only the facts I give you. Do not invent figures, laws, sources or quotes. Mark anything you had to assume with "Assumption:".
- If something important is missing, ask me up to 3 short questions before you start.

## Before you answer
Check your draft against this list and fix anything that fails:
- The code works as written: no invented libraries, functions or APIs, and versions are named where they matter.
- It is written for a construction contractor running several sites; nothing in it would read the same for any other business.
- Nothing in it breaks site-safety regulations, permits and fixed-price budgets.
- Every item under "What to deliver" is included.
Open in ChatGPT Claude Perplexity

How to use this prompt

  1. Copy the prompt. Press Copy prompt and the full text goes to your clipboard.
  2. Fill the brackets. Use the form above, or replace [LANGUAGE], [PASTE CODE] with your own details.
  3. Paste and send. Paste it into ChatGPT, Claude, Microsoft Copilot and DeepSeek and send. Ask follow-up questions to refine the answer.

Why use this Code review with severity ratings prompt?

This code review with severity ratings prompt is written for a construction contractor running several sites. It tells the assistant who the answer is for (clients, site managers and subcontractors) and the limits it must respect: site-safety regulations, permits and fixed-price budgets. That context is what turns a generic reply into one a Construction team can use straight away.

Most people type a single line and get a generic answer back. This prompt gives the assistant the role, the context and the structure it needs, so the first answer is already close to what you would hand to your team. Because it is written for Construction, it keeps the focus on what that industry measures: schedule variance and safety incidents.

How to get the best answer

  1. Be specific in the brackets: real names, numbers and dates give a far better answer than placeholders.
  2. Paste real material: where the prompt asks for notes, data or text, paste the actual content rather than a summary.
  3. Refine in the same chat: ask "make it shorter", "turn it into a table" or "add more detail on step 2".
  4. Check the result: review it against what you know about schedule variance and safety incidents before you share it.

Other industries

Same prompt for other industries

The same code review with severity ratings prompt, rewritten for each industry.

FAQ

Frequently asked questions

Which AI assistant works best with this Code review with severity ratings prompt?

It works in any chat assistant. It suits ChatGPT, Claude, Microsoft Copilot and DeepSeek best. Paste it in, send it, and ask follow-up questions in the same chat.

What do I need to replace before sending it?

Replace the 2 highlighted brackets – [LANGUAGE], [PASTE CODE] – with your own details. The more specific you are, the better the answer.

Is this prompt only for Construction?

This version is written for a construction contractor running several sites. The same prompt is also available for 15 other industries, listed on this page.

Is it free to use?

Yes. Copy it as often as you like and use it in your own work. No sign-up is needed.

Can I trust the answer?

Treat it as a strong first draft. Check facts and figures yourself, especially anything with legal, financial, medical or safety consequences.

Keep exploring

Browse more Construction prompts