SvelteKit Supabase Tailwind .cursorrules prompt file
About .cursorrules prompt file
What you can build
SvelteKit File Manager: An app that provides users with an interface to manage their SvelteKit projects using full file paths, ensuring consistency and accuracy in file management practices.
Test-Driven Development Assistant: A tool that guides developers through the process of TDD, helping them create failing tests, implement code to pass those tests, and refactor, all while maintaining high test coverage using Vitest.
Full Path Validator for IDEs: A plugin for popular IDEs that automatically validates and suggests full file paths whenever a developer creates, edits, or deletes files, aligning with the provided project guidelines.
Tailwind CSS Design Optimizer: A web app that analyzes Svelte projects to suggest improvements and optimizations in UI styling using Tailwind CSS, ensuring a modern and beautiful UI with dark mode and responsive design.
Supabase Integration Helper: A service that assists developers in integrating Supabase for PostgreSQL and authentication within SvelteKit applications, providing full path examples and ready-to-use code templates.
PostgreSQL Schema Visualizer: A tool that generates visual representations of the database schema, aiding developers in understanding and optimizing their PostgreSQL-powered backend on Supabase.
Elon Musk's Efficiency Tracker: An app to help developers implement and track the efficiency improvements suggested by Elon Musk, allowing them to critically question and optimize each component of their application.
AI Documentation Enhancer: A service that uses AI to automatically update and enhance documentation files like README.md, AI.MD, and CHANGELOG.md with relevant information and best practices based on code changes.
Zod Data Validation Templates: A collection of templates and examples for using Zod in SvelteKit projects, helping developers incorporate robust data validation easily into their applications.
PowerShell Command Library for Svelte Developers: A curated library of PowerShell commands tailored for Svelte developers working on Windows, making it easier to perform file operations and manage projects.
Benefits
- Enforces full file path usage for all file operations, ensuring consistency and clarity in references.
- Integrates Elon Musk's efficiency principles to question, simplify, and automate development processes.
- Specifies cross-platform compatibility by providing PowerShell commands for Windows, avoiding Unix-specific commands.
Synopsis
SvelteKit developers working with the Stojanovic-One project can build consistent file management practices and improve code navigation by incorporating full file paths in every operation.
Overview of .cursorrules prompt
The .cursorrules file serves as a set of guidelines and best practices for developers working on the Stojanovic-One web application project. It emphasizes the use of full file paths when managing files, promotes the use of a specific tech stack including SvelteKit, PostgreSQL via Supabase, and Tailwind CSS, and outlines practices for effective development such as test-driven development, code quality, and documentation. It also incorporates Elon Musk's principles for efficiency, focusing on critical requirement assessment and workflow optimization. Additionally, the file addresses testing with Vitest, design considerations for user experience, including dark mode and mobile responsiveness, and includes best practices for RESTful API design and data validation. The document also stresses maintaining up-to-date project documentation and adhering to Windows compatibility standards, ensuring cross-platform functionality.