Should I detail this in my activities section? [political/government involvement]

would it be ok to say something like “wrote legislation aiming to reduce climate change”?