Normally you leave a minimum of 25mm gap between the insulation and boarding. You can leave a small gap if you wish but I am not sure it is essential.
Usually we fix the counter battens through the boarding into the rafters and fix the membrane on top.
How big is your roof ?