name: rtds-vocalls-component-gen description: Generate Vocalls Designer mxGraph XML for a v2 RTDS operation component (sendSms-shaped). Use when the user asks to build, scaffold, generate, or convert an RTDS operation into a Vocalls component; cites Types like SetVariables (formerly SetAttributes), Condition, CheckAttribute, FlowJump, Emergency, Schedule, SendSMS, SendEmail, PlayPrompt, WorkgroupTransfer; references handler XML or existing components; or asks for sendSms/v2 conventions. Self-contained skill with bundled conventions — works outside vocalls-rtds.
RTDS Vocalls Component Generator (v2)
Produces one v2 RTDS operation component — a Vocalls Designer <mxGraphModel> file
(.js) for a single routing-table Type.
Canonical example: references/examples/sendSms.js
Not for: PureConnect handler XML, v1 components (__rt<Key> splay), or retired
handler_source_file/ trees.
Vocabulary: "v2" (this skill,
conventions/) and "Style A" (thenode_types.md/primitive_examples.mdreference files) name the same sendSms-shaped component. "Style B" = the multi-output native-composite shape — out of scope here.
Start here
Follow WORKFLOW.md — tiered loading, 7-step generation, decision tree.
Conventions win. Bundled in this skill (portable):
- PROJECT_CONVENTIONS.md — routing + five-rule tl;dr
- conventions/ — especially component-v2.md
When WORKFLOW or this file disagrees with conventions/, the convention is correct.
Bundle layout
| Path | Role |
|---|---|
| WORKFLOW.md | Agent methodology |
| PROJECT_CONVENTIONS.md | Routing doc |
| conventions/ | Full rules tree (14 files) |
| references/operation_bodies/ | Work-body patterns |
| references/examples/ | sendSms, sendMail, composite refs |
| references/canonical_helpers.js | Three master helpers |
| references/rtds_3_vocallsEnv.js · rtds_2_runtime.js · rtds_1_globalConfig.js | Runtime snapshots (env/helpers · engine · varObj schema) |
| references/checklist.md | Pre-delivery sweep |
| assets/template.xml | mxGraph skeleton |
| scripts/ | Layout + encoding |
Refresh from vocalls-rtds: DEPLOY.md.
Output
Default: rtds/components/<componentName>.js in the user's
workspace (vocalls-rtds or other). Ask before overwrite.