Prismatic-skills cyclr-migration
install
source · Clone the upstream repo
git clone https://github.com/prismatic-io/prismatic-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/prismatic-io/prismatic-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cyclr-migration" ~/.claude/skills/prismatic-io-prismatic-skills-cyclr-migration && rm -rf "$T"
manifest:
skills/cyclr-migration/SKILL.mdsource content
Cyclr Migration
Knowledge for analyzing Cyclr cycle JSON exports and converting them to the standard integration schema for Prismatic CNI migration.
Cyclr Export Format
Cyclr exports are single JSON files per cycle. Each file contains the complete cycle definition including steps, edges, variables, and connector metadata.
Top-level keys in export:
- Version metadata and publication status (Tags, Published)VersionedCycle
- Array of step definitions with connector info, field mappings, and parametersSteps[]
- Directed edges defining execution order (TailStep_Id → HeadStep_Id)Edges[]
- Cycle-level variablesVariables[]
- Encrypted connector data (not parseable — auth details come from Steps instead)ExportedConnectors[]
- Cycle display nameName
- Cycle status codeStatus
- Custom API method definitions if anyCustomMethodReleases[]
- Fields exposed to customer configurationShareFields[]
- Error handling strategyCycleStepErrorAction
- Retry configurationMaxRetriesOnError
Note:
ExportedConnectors contains encrypted data and cannot be used for migration. All connector and authentication details are extracted from the AccountConnector blocks within each step.
Parser
Use
prismatic-tools parse-export to deterministically extract structured data from Cyclr JSON exports. The parser handles all JSON parsing, reference resolution, and topological sorting, then outputs JSON. See references/cyclr-export-parsing.md for interpreting the output.
# Full output from a single file prismatic-tools parse-export <export-file.json> --platform cyclr # Full output from a directory of cycle exports prismatic-tools parse-export <export-directory> --platform cyclr # Summary mode (condensed overview for quick scope assessment) prismatic-tools parse-export <export-path> --platform cyclr --summary
Efficient reading strategy: For multi-cycle exports, use
--summary first to understand the scope (cycle names, step counts, connector types, field mapping counts). Then read the full output selectively — start with execution order and connectors, only read detailed field mappings and parameters when needed.
Step Type Mapping
See
references/cyclr-concepts-mapping.md for the complete ActionType-by-ActionType conversion table mapping Cyclr step types to Prismatic CNI equivalents.
Key mappings:
- ActionType 1 (Standard) → Component action or HTTP call
- ActionType 2 (Decision) → Conditional logic (if/else)
- ActionType 3 (Delay) → setTimeout/scheduled pause
- ActionType 4 (Script) → Custom TypeScript logic
- ActionType 5 (Webhook) → Webhook trigger
Analysis Workflow
When analyzing a Cyclr export:
- Run the parser script to get structured JSON
- Identify the trigger step — First in execution_order; look for ActionType=5 (webhook), Interval>0 (polling), or the step with no incoming edges
- Trace the step graph — Follow execution_order and edges to understand flow; handle decision branches via edge types
- Identify systems — Deduplicated connectors reveal source/destination systems
- Analyze field mappings — CycleFieldMappings show data transformations between steps; resolve "stepId,fieldId" references using parser output
- Resolve parameter dependencies — CycleParameters show how step parameters are fed from previous step outputs
- Extract config variables — From Variables[], ShareFields[], and IsLaunchVisible parameters
- Assess confidence — Rate each migration element based on concept mapping complexity
- Produce standard schema — Assemble findings into the standard integration schema JSON