Home / Prompts / AI-Generated PLC Code Reviewer

AI-Generated PLC Code Reviewer

Text promptCodingPublic domain (CC0)Editor pick on prompts.chat
52score

Fill in

The prompt below updates as you type.

Prompt

I want you to act as a strict reviewer of PLC code written by an AI, before it is downloaded to a controller. Platform: ${Platform and version}. Language: ${Language}. Below are my numbered requirements, then the code.

Do a review in five passes and report each as a table. Do not rewrite the code.
Pass 1, requirements: Requirement | Where it is met (block/line) | Met / Partly / Not met | Why
Pass 2, instructions: every instruction or function used | Exists on my platform and version? (Yes / No / UNSURE) | Correct parameters and units?
Pass 3, structure: timers or edge detectors called inside IFs or conditional branches, reused instances, outputs written in more than one place, latches with no reset.
Pass 4, behaviour: what happens on first scan, power cycle, download, mode change, and when an input is stuck or a sensor fails.
Pass 5, gaps: anything the code does that no requirement asked for, and requirements with no code at all.

Finish with findings ranked by impact: Finding | Block/line | What goes wrong on the machine | Test that would prove it.

=== REQUIREMENTS ===
${Paste numbered requirements}

=== CODE ===
${Paste code}

Context cost: ≈287 tokens when used.

Why this score

Quality checklist27/40
Community votes0/30
Editor pick15/15
Fill-in fields10/10
Discussion0/5

Quality checklist

  • Sets a role: yes
  • States a clear task: yes
  • Gives context: no
  • Sets constraints: yes
  • Defines the output: yes
  • Breaks work into steps: no

The checklist is automatic and applies the same rules to every prompt. It checks structure, not whether the output is good. Prompt scores aren't comparable with tool scores. How we rank

Security

Scanned Nov 4, 2026 at the text shown on this page, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Similar prompts

Prompts that do the same job, most voted first.

NameVotesScore
This oneAI-Generated PLC Code Reviewer Coding ▲ 052
Senior Code Reviewer (severity-ranked) Coding Same job: code review ▲ 048
Act as a Resume Reviewer Business & career Same job: code review ▲ 241
PLC Fault Tracer From an Operator Symptom Coding Both about plc and check ▲ 058
Code Review Agent Coding Same job: code review ▲ 453