AI SummaryA Windsurf-specific coding rules prompt for the Lume static site framework that enforces clean code practices including meaningful naming, smart comments, and single responsibility principles. Developers using Lume with Windsurf will benefit from consistent code quality guidance.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "lume-personal-site — Windsurf Rules" prompt rules to my project. Repository: https://github.com/hirefrank/lume-personal-site Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Windsurf Rules for lume-personal-site
Tech Stack
• Deno's Lume framework • Tailwind CSS for styling • VTO as a template engine
Constants Over Magic Numbers
• Replace hard-coded values with named constants • Use descriptive constant names that explain the value's purpose • Keep constants at the top of the file or in a dedicated constants file
Meaningful Names
• Variables, functions, and classes should reveal their purpose • Names should explain why something exists and how it's used • Avoid abbreviations unless they're universally understood
Smart Comments
• Don't comment on what the code does - make the code self-documenting • Use comments to explain why something is done a certain way • Document APIs, complex algorithms, and non-obvious side effects
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts