You learn about styles, forms, functions, idioms, rhythms, rhymes, rhyming schemes, scanning, etc., and then apply them with some degree of depth, wisdom, sincerity and (where appropriate) humour.
A person who writes about drama is known as a dramaturge. Rather than focusing on a particular performance of a play, a dramaturge researches and writes about the play itself, researching the...