I just carefully read the papers inventing the techniques I want to implement, and verify correctness of my implementation by checking outputs from my code match the papers and pass sanity checks (ie. diffusion produces nice images, RL improves rewards, etc).
Which resources are you using?