A classic debris shelter is basically a tiny insulated wedge you can crawl into. High-level steps:
1) Site: pick a spot out of wind, not in a drainage, and check above for dead limbs.
2) Frame: set a sturdy ridgepole (between a stump/forked tree and the ground, or between two supports). Add ribs/branches along the sides.
3) Lattice: weave smaller sticks across ribs so debris doesn’t fall through.
4) Insulation: pile dry leaves/needles/grass/fern on top until it’s thick—people underestimate how much you need.
5) Floor: make a deep “mattress” of dry material under you. This is non-negotiable.
6) Door: keep the opening small; you can use a bundle of debris as a plug.
Size: build it just big enough for you to lie down and turn slightly. If it’s bigger, you lose heat. When NOT to build one: if you’re injured, severely cold/wet, or you’re in an area where gathering debris is scarce—then prioritize signaling, getting to a safer location, or using whatever shelter you already have. If conditions are dangerous, calling for help or getting to a known trail/road can be the better call.