Prompt
0 copies · 0 said it worked
Strict five-pass review of AI-written PLC code before controller download
A reviewer prompt that checks AI-generated PLC code against numbered requirements across five tabled passes (requirements, instructions, structure, behaviour, gaps) and ends with ranked findings, without rewriting the code.
People use this for
- plc code review prompt
- ai generated plc code check
- ladder logic review before download
- check plc program against requirements
- industrial controller code safety review
Imported on Nov 29, 2026 from AI-Generated PLC Code Reviewer . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Fill in the variables
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}}
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
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{platform_and_version}}. Language:${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{paste_numbered_requirements}} === CODE ===${Paste code{paste_code}}
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Forensic PHP codebase security, performance and quality audit
A long checklist-driven prompt that has the model act as a senior PHP reviewer and audit a codebase for type safety, security holes, database and performance issues, code quality, architecture, dependencies, and testing gaps, then report findings by severity with a final scored summary.
Coding · @ersinkoc
- Run an exhaustive forensic TypeScript codebase review
The prompt directs the model to audit a TypeScript codebase for type safety, security, and performance issues, producing a structured checklist-style review of findings.
Coding · @ersinkoc
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
- Review SQL queries and EXPLAIN plans for performance and correctness problems
Skill-style prompt that makes the model act as a database engineer reviewing SQL and optional EXPLAIN output, flagging anti-patterns like SELECT *, function-wrapped columns, leading-wildcard LIKE, N+1 loops and AND/OR precedence, then returning rewritten queries with reasons and a measurement plan.
Coding · @f
- Nginx config security review with fixes and checker script
Agent skill that reviews nginx configs for TLS, header, alias traversal, admin exposure and rate-limit problems, runs a stdlib checker, and returns a minimal route-preserving fixed config with reload and curl test steps.
Coding · @f
License: CC0v2 · updated Nov 30, 2026 · first published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.