In a nutshell
How good or bad an arrangement of stones is. An efficient arrangement is good shape; an inefficient one is bad shape.
In detail
In Go, the same number of stones can work very differently depending on their arrangement. Shapes that project power over a wide area with few stones are good shape; shapes like the empty triangle, where stones overlap and work poorly, are bad shape.
When commentators say “nice shape” or “the shape has collapsed,” this is what they mean. A feel for shape is essential to getting stronger.