Examples
Cover letters that do not repeat the resume
Two situations, two letters. One is for someone who has shipped a product. One is for someone whose proof is an internship and a project.
Cover letter for a frontend developer with experience
A short letter that names the product, one interface the candidate shipped, and the role. It does not repeat the resume.
Cover letter for a fresher without a job title yet
A letter for a first application. It uses an internship and a project, and it does not invent years of experience.