rudder-transformationslisted
Install: claude install-skill rudderlabs/rudder-agent-skills
# RudderStack Transformations with Rudder CLI
## Overview
RudderStack transformations allow real-time event manipulation using JavaScript or Python. Libraries provide reusable code shared across transformations. Both are managed as code using YAML specs and the Rudder CLI.
## Recommended Workflow
Follow this loop for every change — authoring a new transformation or library, or editing existing code. Testing locally with fixtures is the key step that distinguishes transformations work from other CLI workflows.
```dot
digraph transformations_workflow {
rankdir=TB;
"rudder-cli workspace info --json" [shape=box];
"Authenticated?" [shape=diamond];
"User exports RUDDERSTACK_ACCESS_TOKEN" [shape=box];
"Edit YAML / JS / fixtures" [shape=box];
"rudder-cli validate -l ./" [shape=box];
"Validation errors?" [shape=diamond];
"Fix errors" [shape=box];
"rudder-cli transformations test --all -l ./" [shape=box];
"Tests pass?" [shape=diamond];
"Fix code or expected output" [shape=box];
"rudder-cli apply --dry-run -l ./" [shape=box];
"Diff matches intent?" [shape=diamond];
"Adjust specs" [shape=box];
"rudder-cli apply --confirm=false -l ./" [shape=box];
"Done" [shape=doublecircle];
"rudder-cli workspace info --json" -> "Authenticated?";
"Authenticated?" -> "User exports RUDDERSTACK_ACCESS_TOKEN" [label="no"];
"User exports RUDDERSTACK_ACCESS_TOKEN" -> "rudder-cli workspace info --json";
"Authenticated?" -> "Ed