HTML Tailwind CSS Guide .cursorrules prompt file
About .cursorrules prompt file
What you can build
Minimal Web Builder: A tool that allows users to create multi-page websites with a focus on using Tailwind CSS and minimizing JavaScript, integrating AlpineJS or HTMX for interactivity.
Accessible Website Checker: An app that scans websites to ensure they meet accessibility standards, including mobile-first considerations and proper semantic HTML usage as outlined in the guidelines.
Mobile-First Tester: A service that tests websites for mobile-first design principles, ensuring smooth navigation and usability prioritizing mobile devices.
Tailwind CSS Optimization Service: A tool to help optimize Tailwind CSS usage, including purging unused styles and implementing responsive design best practices.
GitHub Pages Deployment Tool: A service that facilitates deploying multi-page websites on GitHub Pages, ensuring all links and responsive designs are functional.
Content Consistency Analyzer: An application that checks for consistency in tone, messaging, and design style across web pages, supporting the goals of the Primordial Groove project.
Semantic HTML Validator: A website that checks if a page is using semantic HTML tags and assists in correcting any issues found.
Image Optimization Platform: A service to optimize images for web formats like .webp, reducing load times and improving performance for mobile users.
Performance Monitoring Tool: An app that tracks website performance metrics, specifically designed to help maintain a minimal and efficient mobile-first experience.
Modular Web Design Framework: A framework aimed at ensuring modular and easily expandable web design, allowing for future enhancements and scalability across mobile platforms.
Benefits
- Emphasizes a mobile-first approach across guidelines, ensuring optimal performance and usability on smartphones before scaling for larger screens.
- Prioritizes minimal JavaScript usage, suggesting AlpineJS or HTMX for necessary interactivity to maintain simplicity and performance.
- Ensures community authenticity by using images from past events and emphasizes consistent, meaningful content with a unified design style.
Synopsis
Developers aiming to create efficient, easily maintainable websites with minimal JavaScript will benefit from these guidelines, enabling them to build a performant, accessible, multi-page web application.
Overview of .cursorrules prompt
The .cursorrules file provides a comprehensive set of guidelines for building a multi-page website for the Primordial Groove community. It focuses on using HTML and Tailwind CSS while minimizing JavaScript, instead preferring AlpineJS or HTMX for interactivity if needed. The file includes directives for structure, styling, version control, accessibility, content, deployment, and performance, emphasizing a mobile-first approach. It also ensures consistency in tone, responsive design, and adheres to best practices in web development. Additionally, it outlines plans for scalability and future enhancements, ensuring the website remains lightweight and efficient on various devices.