[3.8.5][PHRAS-25] Crossdomain command generator

- [x] Add tests
- [x] Add docs
remove