never let terran contain you... such a bitch to get out of. and you dont want to get into a pissing contest in the middle of the field against tanks backed by vults with mines... and if you got air, expect he knows (comsat) and he'll have goliaths.
if the terran forgets to get turrets, or just doesnt have many SOMETIMES a fun thing to do it get a few dark templar, 3 or 4.. put em in a dropship and land near theyre minreals.. hurry up and knock out the comsat and if theres no turrets nearby take their money from them .if there are turrets it depends on how close his forces are, and how many turrets. you may be able to take out all his sight in the area before he can react.
but the biggest thing is dont let a terran outexpand you.. its so hard to climb a ramp that has tanks and mines and vults on it.. carriers are too cost inneffective, so i usually play a dropship game.dropping a reaver or a templar to quickly kill a few miners is a sexy annoyign tactic. really, just dont let them expand, keep aggresssive, keep leading dropship raids, keep the terran turtled. dont let him expand. observers are nice for this. if a terran outexpands you your over. theyre ground forces are too hard to take on in the field... unless you wait till theyre tanks are on the move and jump them while theyre not seiged. that means mines dont help them and they have no range on you. but taking on a settled terran ground force is too tough. go around, hit theyre money, attack when they unseige to move.
even if a terran force gets up to your ramp and seiges its tough to stop them.... if theyre this close theyve got YOU contained and you should use the altitude to your advantage... storm them from above with templar, do what you can, and if you have another expansion use them to attack from the rear.
your best bet is to keep them in their base and if they try to move out jump them while theyre not ready.