On pasture usually some shelter from sun, rain and wind is sufficient. Do not underestimate the sun, avoid heat stroke! Along with plenty of drinking water is a shelter a minimum you should provide for mammals and poultry (except waterfowl, which have excellent insulation itself).
The stable to overwinter should already be more solid.

stalIf the stall is drafty, wet and /or cold, all warm-blooded animals must consume energy to keep warm. This is additional food that you have provided to keep them alive. There is no production of fat, meat, wool or milk in return. A good shed is a investment over the long term. You will save work, feed and veterinary costs with it.

Ideal is as a stable also has some range, so that the animals can go outside on sunny days.

The barn should be dry. The roof and rain side must therefore be properly closed. Make the floor slightly sloping to the door or to (a gutter to) the vulture basement. Vulture is the most valuable part of your manure, including a slurry pit is a good investment.
A drinking bucket hangs securely so it will not be walked upside down.

The barn should also be ventilated. With too little ventilation you get condensation, damp and mold.
You can provide a split 2 parts door. Under (half) door closed, upper section open. Put a (secure) latch, so the animals or the wind, will not open the door. You can also provide a gate in the doorway.

Also provide a window so that the animals have plenty of natural light. We also become depressed with too little light. Put thick (reinforced) glass, or rather sturdy Plexiglas. Clean the glass in time. If it is closely bound with dust and cobwebs it loses its function for the bigger part.
Provide that you can fix it in different positions. With (at least) two openings (doors and windows) you can create drafts and faster and better yucky.
The walls once a year liming (white) provides much more light, a nice clean stable and disinfection of walls. So something to recommend. Smooth walls are easier to clean and provide less shelter to all kinds of pests.
If it 's too hot in the summer you can also whiten south-facing windows to keep the heat outside.

Keep the stables hygienic and comfortable, in a condition where you could stay healthy in yourself.

Although they like to burrow into the mud, pigs are clean animals. If they have plenty of space. They are practically naked, besides the summer they lose through a stone floor where they are laying on very much heat and energy. While you just want them to convert it into flesh. Screw in a corner a series of wooden beams against each other on the floor, so they have a somewhat isolated corner. Around the edges. Loose material they break, bite and eat.

If you catch the rainwater from the roof keep it clean (and filter it) you don’t have to rely on any water. Put the barrel on the cool north side. Possibly on a dais, anchored, with a tap at the bottom, an overflow (away from the barn) and a cover against dirt on it.

If you make the stable high enough you can create a (little) hayloft. You may store for winter straw and hay, easy close. And it is a very good insulation.

If the barn is large enough you can separate a section to store winter feed: beets, corn, potatoes, oats... Cereals and concentrates you save in lockable tons, so birds and mice and moisture cannot reach it. This part of the barn must be closed well (a thick wall and a door), to avoid animals to enter there. They should make a mess of it, and eat themselves sick. A horse can overeat and suffer from laminitis.
Hang inside a salt lick stone. Outside it melts, or washes off with rain.
A lick (or rock salt) stone is a block of salt with a bit of other minerals. Especially workhorses who sweat more, need more sodium then they get through the regular feed. Given sodium is bound to chlorine the proportion of sodium in a lick stone never exceeds 39%.
For cow, horse, sheep are licks that have a different, customized mineral composition. The animals lick them according to their own individual needs.

 (See also <Tractor coop> for chickens and pigs) (See also <Food – and watering trough, manger >)