>>23420027I've never used ditto so it's an interesting threat to me. Looks like the most important considerations are:
(1) Imposter;
(2) 31 IV and max EVs in HP;
(3) A decent hidden power type.
To add to the list (situational, but if you want the 'perfect' competitive ditto): (4) Max defenses EV'd as you wish, the reason being that it doesn't activate if you switch into an opponent behind a substitute or a zoroark imposter (possibly mold breaker as well?) so it could take a hit in ditto form.
So you want to catch a 31/X/31/X/31/X ditto with imposter or the appropriate 30 stat in the defenses for your hidden power. Best bet apart from injecting is probably using pokeradar on ORAS and catching 2 and 3IV dittos as you can see the IVs according to the stars and see the ability; suppose XY friend safari could work as well.
Note: For doubles/triples you may also want a limber ditto with max speed (in addition to HP/defenses) so you can choose your target to 'copy', e.g. a teammate.