prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

AI-Generated PLC Code Reviewer

For anyone using AI to write PLC logic who wants a second, independent check before the code goes anywhere near a machine.

M
@markus864
11 days agoOctober 28, 2026 at 06:31 PM
Coding

Content

Variables
I want you to act as a strict reviewer of PLC code written by an AI, before it is downloaded to a controller. Platform: . 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 === === CODE ===

Comments (0)

Related Skills

GitHub Actions Workflow Security Reviewer

Skill

Reviews GitHub Actions workflow YAML for supply-chain and injection risks: pull_request_target with PR checkout, untrusted github.event text in run steps, actions pinned to tags or branches instead of commit SHAs, missing or write-all permissions, secrets in shell commands, curl | bash, self-hosted runners on PRs, and missing timeouts. Use before merging CI changes or auditing a repo. Includes a stdlib Python linter with --self-test.

F@f
0

Related Bots

Code Review Second Opinion

Bot

Gives a calm second review on PRs assigned to you: focuses only on correctness, security and missing tests, ignores style nits, and tells you where to look first.

1 event trigger
F@f
0

Spec Gatekeeper

Bot

Grills the goal until acceptance criteria are testable, then freezes a short spec before any code.

F@f0

Code Reviewer

Bot

Reviews teammate PRs for correctness, security, and missing tests; sends actionable comments, not style nits.

F@f0

Software Architect Agent

Bot

Maps requirements into a lean architecture plan, critical files, and an end-to-end verification checklist before anyone codes.

F@f1