review-plc

Automates CODESYS ST code review for pull requests with structured comments and MD reports.

173|42|Updated Feb 20, 2026
Ready to run
npx skills add https://github.com/cyanluna-git/cyanluna.skills --skill review-plc
๐Ÿ’ฌ Prompt for ChatGPT / Claude Chatโ–ผ
Please help me install this Agent Skill.
Skill: review-plc
Source: https://github.com/cyanluna-git/cyanluna.skills/tree/main/review-plc
Command: npx skills add https://github.com/cyanluna-git/cyanluna.skills --skill review-plc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CODESYS ST PLC ์ฝ”๋“œ์˜ PR ๋ฆฌ๋ทฐ๋ฅผ ์ž๋™ํ™”ํ•˜์—ฌ, ์„ค๊ณ„ ์•„ํ‚คํ…์ฒ˜, ๋„ค์ด๋ฐ ๊ทœ์น™, ์‹œํ€€์Šค ๋ฐ๋“œ๋ฝ, ๋ชจ๋“ˆํ™” ๊ด€์ ์˜ ๋ฌธ์ œ์ ์„ ๋น ๋ฅด๊ฒŒ ์‹๋ณ„ํ•˜๊ณ  ํ’ˆ์งˆ ๋ฌธ์ œ๋ฅผ ์กฐ๊ธฐ์— ๋ฐœ๊ฒฌํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • Architecture & Naming Review: PR์— ํฌํ•จ๋œ ST ์ฝ”๋“œ์˜ ๊ตฌ์กฐ์  ์„ค๊ณ„์™€ ๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜์„ ์ผ๊ด€๋˜๊ฒŒ ๊ฒ€์‚ฌํ•ฉ๋‹ˆ๋‹ค.
  • State Machine & Modularity Checks: ์‹œํ€€์Šค ๋ฐ๋“œ๋ฝ ๊ฐ€๋Šฅ์„ฑ, ๋ชจ๋“ˆ ์ƒ๋ช…์ฃผ๊ธฐ ๋ฐ ์ธํ„ฐํŽ˜์ด์Šค ์„ค๊ณ„์˜ ์ค€์ˆ˜ ์—ฌ๋ถ€๋ฅผ ํ‰๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
  • PR Comment & Report Generation: ํ‘œ์ค€ ์ถœ๋ ฅ ํ˜•์‹์œผ๋กœ ์ฝ”๋ฉ˜ํŠธ์™€ ๋กœ์ปฌ MD ๋ณด๊ณ ์„œ๋ฅผ ์ƒ์„ฑํ•˜๊ณ , ํ•„์š” ์‹œ PR์— ์ฝ”๋ฉ˜ํŠธ๋ฅผ ๊ฒŒ์‹œํ•ฉ๋‹ˆ๋‹ค.

Quick Start

PR URL์„ ์ž…๋ ฅํ•ด /review-plc๋ฅผ ์‹คํ–‰ํ•˜๋ฉด PLC ์ฝ”๋“œ ๋ฆฌ๋ทฐ๊ฐ€ ์ž๋™์œผ๋กœ ์ˆ˜ํ–‰๋˜๊ณ , ๊ฒฐ๊ณผ๊ฐ€ ๋กœ์ปฌ MD์™€ PR ์ฝ”๋ฉ˜ํŠธ๋กœ ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.

Frequently Asked Questions about review-plc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CODESYS ST code reviews for pull requests?โ–ผ

Automate CODESYS ST code reviews by running a review command with a pull request URL, which analyzes architecture, naming conventions, deadlock risks, and modularization. It then produces structured PR comments and a local MD report.

Can I check PLC state machine sequences for deadlock risks in a PR?โ–ผ

Yes, PLC state machine sequences are checked for potential deadlock risks during the pull request review. The review evaluates state machine logic, module lifecycles, and interface design to identify safety issues early.

How does automated PLC code review handle naming conventions and architecture?โ–ผ

Automated PLC code review analyzes pull request code against reference guides to enforce consistent naming conventions and structural architecture. It evaluates the ST code design to ensure compliance with established standards.

Does this CODESYS review tool generate local reports in addition to PR comments?โ–ผ

Yes, the CODESYS review tool generates both structured pull request comments and local MD reports. It optionally posts comments directly to the PR while simultaneously saving detailed analysis results to a local markdown file.

What PLC projects are supported for automated PR code analysis?โ–ผ

PLC projects using CODESYS ST with infrastructure libraries are supported for automated PR code analysis. The review workflow leverages reference guides to consistently evaluate architecture and modularity within this specific environment.

What limitations should I expect when reviewing modularization in PLC pull requests?โ–ผ

Reviewing modularization is limited to PLC projects using CODESYS ST with infrastructure libraries. It evaluates module lifecycles and interface design against specific architecture guides, meaning projects outside this framework may not be fully supported.