AI SummaryCursor Rules for FastLED WASM provides critical development guidelines enforcing `uv` for Python execution and safe emoji handling to ensure consistent builds and cross-platform compatibility. Developers working on the FastLED web compiler project benefit from clear, actionable rules that prevent common errors.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "fastled-wasm — Cursor Rules" prompt rules to my project. Repository: https://github.com/zackees/fastled-wasm 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
The FastLED web compiler. Lightning fast 3 second compile and 1 second deploy on fast machines.
CRITICAL: Python Command Usage
ALWAYS use uv to run Python code, NOT python or python3!
Examples:
• Instead of python src/fastled/cli.py, use uv run src/fastled/cli.py • Instead of python -m pytest, use uv run -m pytest • Instead of python3 build_exe.py, use uv run build_exe.py
Emoji/Emoticon Usage
ALWAYS use the EMO() function for emojis, NEVER hardcode emojis directly!
Command Guidelines:
• ✅ Use: uv run <script.py> • ✅ Use: uv run -m <module> • ✅ Use: uv run python <script.py> (if explicitly needed) • ❌ NEVER use: python <script.py> • ❌ NEVER use: python3 <script.py>
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