workflow-shim-prefix-scheme
CommunityPrevent name collisions in workflow shims.
Software Engineering#code-generation#state-machine#naming-convention#collision-avoidance#prompt-orchestration#workflow-net#parallel-subgraph
Authortransreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents node and binding name collisions when converting LLMStateGraph (XSM) into WorkflowNet, especially for nested ParallelSubgraph (PSG) inner nodes.
Core Features & Use Cases
- Deterministic naming rules: Defines exact prefixes for WorkflowNet places and transitions derived from XSM nodes (in/out/handler) plus PSG split/join transitions and cross-node edges.
- Collision avoidance for nested PSGs: Uses
__as a namespace delimiter and propagates a recursive prefix likeprefix <> parentNodeId <> "__"to uniquely qualify inner node names at any nesting depth. - Safety validation for reserved identifiers: Enforces the rule that node IDs must not contain
__, validated at runtime viaiValidateNodeId. - Prefix-aware handler bindings: Ensures handler factories generate binding keys using the same prefix scheme so that lookup succeeds even when inner nodes are renamed.
- Payload/token structure alignment: Documents how handler outputs should be stored in GlobalState (including node-isolated Decision results and stategraph-compatible
Stages[nodeId][Output]).
Quick Start
Use this skill when implementing or extending the WorkflowNet generation shim so that every derived place/transition name and handler binding key follows the specified prefix scheme.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: workflow-shim-prefix-scheme Download link: https://github.com/transreal/claudecode/archive/main.zip#workflow-shim-prefix-scheme Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.