best way to adjust/set SMPS comp / compensation parts
I assume you mean the resistor and capacitor in series that you'll find on many Linear Technology switcher ICs that compensate the regulation loop.

Usually standard values are given in the datasheet, but Design Note 186 from Linear Technology describes how you can actually test the transient response dynamically which allows you to optimize the component values. It's a compromise between settling time and over/undershoot.