review-plc

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

173|42|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/cyanluna-git/cyanluna.skills --skill review-plc
Or copy as Structured Prompt for Agent
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.