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-plugin | Creates a minimal client plugin project; mounts existing pages on the teach pendant |
compiling-rokae-plugin | Builds a client plugin or a controller plugin for the selected platform |
packaging-rokae-plugin | Packs already built plugins into a package that can be imported |
Before use
- Install the skills: The three skills are in the
.skillsdirectory of the client plugin secondary development package. - 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.
| Provide | Result |
|---|---|
| Plugin name and SDK | A minimal project (.pro project configuration file and src/ source code directory) |
| The page class to mount and the target location on the teach pendant | A call to the corresponding mounting function in init() to mount the page |
Supported mounting locations
| Area | Function |
|---|---|
| Process package page, center page | CreateCenterWidget |
| Bottom status bar | CreateStatusBar |
| Right-side expansion panel | CreateRightExpandWidgte |
| Physical buttons, teach pendant side keys | CreatePhyButtonList |
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.
| Provide | Result |
|---|---|
| An existing plugin project, target platform, and corresponding build environment | The compiled plugin library and its absolute path |
Supported platforms and outputs
| Plugin | System | Architecture | Output |
|---|---|---|---|
| Client plugin | Windows | x86_64 | .dll |
| Client plugin | Linux (teach pendant) | aarch64 | .so |
| Controller plugin | Linux | x86_64 | .so |
| Controller plugin | Linux | aarch64 | .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.
| Provide | Result |
|---|---|
| Compiled plugin libraries, configuration, and resources required for packaging | An importable plugin package and its absolute path |
Package contents
The HMI imports a plugin package, which can contain the following data packages:
| Data package | Contents |
|---|---|
client.zip | Client plugin |
controller.zip | Controller 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.