A properly poured shed slab gives you the stable, level foundation the structure and its contents need long term. Expect thickness and reinforcement to be matched to the shed's size and intended use, whether it is housing garden tools, a workshop with a bench and machinery, or a vehicle. Base preparation, including compaction and a moisture barrier where required, prevents cracking, subsidence and the damp problems that ruin whatever is stored inside — particularly relevant in a humid coastal climate where a slab without a membrane will sweat.
Sizing should allow clearance around the shed footprint for door swing, drainage and access, with falls directing water away from the slab rather than letting it run back under the shed wall.