will it work with rotors from juicy? or should I buy something dedicated to SLX (I wouldn't like to obviously)
A rotor is a rotor is a rotor, BUT…
You need the correct diameter!
Avids run 203, 185 or 160. Shimano run 203, 180 or 160. You WILL NOT be able to run a Shimano brake designed for use with a 180mm rotor on a 185mm Avid rotor. And iirc the Prophet comes with a 185mm front rotor…
What I would do would be to buy 2 new rotors with the SLX brakes (hardly brake the bank anyway), and sell the Juicy 5's complete with rotors, which you'll get more money for anyway cos you're including the rotors! So you won't be out of pocket.