Since, by this answer, both of these sentences are correct:
Not only should you be able to speak, but also should you be able to write.
Not only should you be able to speak, but also to write.
Is this one correct too?
Not only should you be able to speak, but also be able to write.
What is the rule for omissions here? I'm asking because I wrote this and it doesn't sound correct to me:
This not only allows you to maintain a uniform visual style, but also to introduce new developers to your codebase.
This option is less economical, but somehow it feels right: "This not only allows you to maintain a uniform visual style, but also allows you to introduce new developers to your codebase."
Which do you think is more understandable/natural? I'm not a native speaker of English.