Skill / SKILL.md

Plecs Cscript

labourer-Lucas/PLECS-C-Script-Skill

Write, review, debug, and explain PLECS C-Script code for custom control blocks in PLECS simulations. Use this skill whenever the user asks about C-Script, wants to implement a custom block in PLECS, needs help with PLECS macros (InputSignal, OutputSignal, ContState, DiscState, ZCSignal, etc.), asks about sample time configuration, state variables, zero-crossing detection, user parameters, or needs to port controller C code into a PLECS simulation. Trigger even if the user just mentions "PLECS block", "custom block", "C-Script", or "cscript".
2 views 29 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Write, review, debug, and explain PLECS C-Script code for custom control blocks in PLECS simulations. Use this skill whenever the user asks about C-Script, wants to implement a custom block in PLECS, needs help with PLECS macros (InputSignal, OutputSignal, ContState, DiscState, ZCSignal, etc.), asks about sample time configuration, state variables, zero-crossing detection, user parameters, or needs to port controller C code into a PLECS simulation. Trigger even if the user just mentions "PLECS block", "custom block", "C-Script", or "cscript".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/labourer-Lucas/PLECS-C-Script-Skill' skill-source

Use the complete skill-source/skills/plecs-cscript directory with your client’s skill installer.

Source directory skills/plecs-cscript

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
cfbe44a4eb2dcc102160044673173a267a046f2f1d244dd448480ef49b0cbdac
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills