Here's your gold standard:
https://www.nfpa.org/Public-Educatio...e/Firewise-USA
I live in a community that is generally on the list of the top-threatened neighborhoods in the state. The key appears to be not so much a building code/construction issue, but one of creating a defensible space around your house. And maintaining that space, and your home, in a state that doesn't allow embers landing to cause trouble.
If you look at some of the classic neighborhoods-destroyed-by-wildfire scenes of the past, you'll often see circles of burned out homes, with surviving trees all around. The trees didn't go up in the fire, the homes did. And worse yet, often burning homes are an ignition source for other homes in the neighborhood.