Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "varlock — Cursor Rules" prompt rules to my project. Repository: https://github.com/dmno-dev/varlock 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
.env files built for sharing powered by @env-spec decorator comments
Cursor Rules Location
Rules for placing and organizing Cursor rule files in the repository. <rule> name: cursor_rules_location description: Standards for placing Cursor rule files in the correct directory filters: # Match any .mdc files • type: file_extension pattern: "\\.mdc$" # Match files that look like Cursor rules • type: content pattern: "(?s)<rule>.*?</rule>" # Match file creation events • type: event pattern: "file_create" actions: • type: reject conditions: • pattern: "^(?!\\.\\/\\.cursor\\/rules\\/.*\\.mdc$)" message: "Cursor rule files (.mdc) must be placed in the .cursor/rules directory" • type: suggest message: | When creating Cursor rules: • Always place rule files in PROJECT_ROOT/.cursor/rules/: ` .cursor/rules/ ├── your-rule-name.mdc ├── another-rule.mdc └── ... ` • Follow the naming convention: • Use kebab-case for filenames • Always use .mdc extension • Make names descriptive of the rule's purpose • Directory structure: ` PROJECT_ROOT/ ├── .cursor/ │ └── rules/ │ ├── your-rule-name.mdc │ └── ... └── ... ` • Never place rule files: • In the project root • In subdirectories outside .cursor/rules • In any other location examples: • input: | # Bad: Rule file in wrong location rules/my-rule.mdc my-rule.mdc .rules/my-rule.mdc # Good: Rule file in correct location .cursor/rules/my-rule.mdc output: "Correctly placed Cursor rule file" metadata: priority: high version: 1.0 </rule>
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
