Skip to main content

Rokae+ Skills

Rokae+ provides three skills so an AI agent can help initialize, build, and package a plugin project. The three skills are independent. Each one finishes only the work inside its own scope.

Skill (directory name)What it does
preparing-client-pluginCreates a minimal client plugin project; mounts existing pages on the teach pendant
compiling-rokae-pluginBuilds a client plugin or a controller plugin for the selected platform
packaging-rokae-pluginPacks already built plugins into a package that can be imported

Before use​

  1. Install the skills: The three skills are in the .skills directory of the client plugin secondary development package.
  2. Prepare the SDK: Before creating or building a plugin, download the SDK for the relevant plugin type: Client SDK or Controller SDK.

When the plugin name, SDK, or build environment is missing, the AI agent asks first, and only then writes the project or starts the build or packaging.

Minimal client plugin setup and UI mounting​

Directory name: preparing-client-plugin

Creates a minimal client plugin project or mounts an existing page on the teach pendant.

ProvideResult
Plugin name and SDKA minimal project (.pro project configuration file and src/ source code directory)
The page class to mount and the target location on the teach pendantA call to the corresponding mounting function in init() to mount the page

Supported mounting locations

AreaFunction
Process package page, center pageCreateCenterWidget
Bottom status barCreateStatusBar
Right-side expansion panelCreateRightExpandWidgte
Physical buttons, teach pendant side keysCreatePhyButtonList

Scope: This skill does not build, package, or write specific business logic.

For UI mounting functions and examples, see UI Interface.

One-step build of client and controller plugins​

Directory name: compiling-rokae-plugin

Builds an existing client or controller plugin project for the target platform.

ProvideResult
An existing plugin project, target platform, and corresponding build environmentThe compiled plugin library and its absolute path

Supported platforms and outputs

PluginSystemArchitectureOutput
Client pluginWindowsx86_64.dll
Client pluginLinux (teach pendant)aarch64.so
Controller pluginLinuxx86_64.so
Controller pluginLinuxaarch64.so

A client plugin requires Qt 5.12 or a later 5.x release and its qmake; a controller plugin does not need Qt. An aarch64 build is usually cross-compiled on Linux x86_64. For environment setup, see Cross-Compilation Notes.

Scope: This skill does not create a plugin package or a new client plugin project.

One-step packaging of client and controller plugins​

Directory name: packaging-rokae-plugin

Packages an already compiled client plugin, controller plugin, or both, for import.

ProvideResult
Compiled plugin libraries, configuration, and resources required for packagingAn importable plugin package and its absolute path

Package contents

The HMI imports a plugin package, which can contain the following data packages:

Data packageContents
client.zipClient plugin
controller.zipController plugin

The plugin package can contain both data packages or just one. A client plugin and a controller plugin do not have to depend on each other.

Scope: This skill does not build or create a new client plugin project.

For the directory structure, configuration files, and license fields, see Creating the Plugin Package.