Compounds having activity as inhibitors of G12C mutant KRAS protein are provided. The compounds have the following structure (I), or a pharmaceutically acceptable salt, stereoisomer or prodrug thereof, wherein A, W, X, Y, Z, and are as defined herein. Methods associated with preparation and use of such compounds, pharmaceutical compositions comprising such compounds and methods to modulate the activity of G12C mutant KRAS protein for treatment of disorders, such as cancer, are also provided.