jonsully1.dev

Github Copilot Productivity Prompts

Cover Image for Github Copilot Productivity Prompts
Photo by Carl Heyerdahl  on Unsplash
John O'Sullivan
John O'Sullivan
Senior Full Stack Engineer
& DevOps Practitioner

Table of Contents

  1. Migrate String-Based Class Attributes to CSS Module Syntax

Migrate String-Based Class Attributes to CSS Module Syntax

Replace all className attributes to use the styles object from the CSS module, ensuring single classes map to styles.classname and multiple classes are converted to template literals like ${styles.class1} ${styles.class2}. Ensure camelcasing is applied to to classes with hyphens.