Microorganisms are essential to grassland soil ecosystems and play a critical role in biogeochemical cycles. Microbial communities can be classified into distinct ecological groups based on common life-history traits, which reveals the processes in highly heterogeneous microbial communities. However, our understanding of climate-dependent life history strategies and driving mechanisms of microbial community assembly in riparian grasslands is very limited.