There is so much to fire preparation it’s a vast topic. The general advice is to plan in advance and stick to your plan.
In Australia the “official” policy is that its best to leave Well In Advance Of Fires to a refuge area, but if you do wish to stay than you must be prepared.
There are numerous web sites which go into lists of equipment, but I’ll just add a few comments about roofs:
Smoke alarms, lighting and planks of wood (secured to make walkways) are a good addition to a roof space.
Keep a ladder near the ceiling hatch and keep checking the roof space before and after a fire for embers and smoke
You can put fixed lights in the roof, but during a fire you should assume that all mains electricity, water, gas etc will be cut and cannot be relied upon.
As the fire approaches, retire to your house.
During a fire, sheltering in your house will provide the best protection from radiant heat, which is the biggest killer. Even if your house catches on fire, you can shelter in it and exit after the fire front passes.
Wet towel placed around doors will slow smoke entry; you should keep away from windows and preferably shelter in a part of the house without external walls
Once the fire front passes, go outside and fight the spot fires.
Remember to dress properly, wool is still among the best materials, it has low flammability and provides a thermal barrier. Hat, gloves, long clothing and sturdy boots and a minimum, but smoke proof goggles and even a dust or smoke mask will help.