What preparation is needed before laying a concrete slab?

https://acornmetric.com/s/QAXCXifMotIML-enao2ZP

Before pouring concrete, prepare the subgrade by removing grass, rocks, and debris. Compact the soil with a plate compactor for a stable base. Add a gravel layer, about 4 to 6 inches deep, and level it thoroughly. Install wooden forms to set the slab's shape and depth, ensuring they are staked securely and level. Place welded wire mesh or rebar for reinforcement, raising it slightly off the gravel with small supports. Finally, lay a vapor barrier if desired, especially for indoor slabs.