

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345# Cursor Rules Location67Standards for placing and organizing Cursor rule files in the repository, ensuring rules are always up-to-date and follow best practices.89## Rule Details1011- **Name:** cursor_rules_location_and_maintenance1213- **Description:** Standards for placing and maintaining Cursor rule files in the correct directory1415## Filters16- file extension pattern: `\\.mdc$`17 - Match files that look like Cursor rules18- content: `(?s)<rule>.*?</rule>`19 - Match file creation or modification events20- event: `file_create|file_modify`2122## Rejections23- Conditions:24 - pattern `^(?!\\.\\/\\.cursor\\/rules\\/.*\\.mdc$)` – Cursor rule files (.mdc) must be placed in the .cursor/rules directory2526## Suggestions27- Guidance:28## Cursor Rules Best Practices2930### 1. Location and Structure31- **Location:** Always place rule files in **PROJECT_ROOT/.cursor/rules/**32- **Directory Structure:**33```34 PROJECT_ROOT/35 ├── .cursor/36 │ └── rules/37 │ ├── your-rule-name.mdc38 │ └── ...39 └── ...40```4142### 2. Naming Conventions43- Use **kebab-case** for filenames (e.g., `php-drupal-standards.mdc`)44- Always use the **.mdc** extension45- Make names descriptive of the rule's purpose46- Group related rules with common prefixes (e.g., `drupal-*`, `lagoon-*`)4748### 3. Rule File Structure49```50---51description: Brief description of the rule52globs: *.php, *.module, *.inc53alwaysApply: false54---55# Rule Title5657<rule>58name: rule_name_in_snake_case59description: Detailed description of what the rule enforces60filters:61 - type: file_extension62 pattern: "pattern_to_match"6364actions:65 - type: enforce|suggest|validate66 conditions:67 - pattern: "regex_pattern"68 message: "Clear message explaining the issue"6970metadata:71 priority: high|medium|low72 version: 1.173</rule>74```7576### 4. Rule Maintenance77- **When adding new rules:**78 - Check for overlapping or conflicting rules79 - Ensure patterns are efficient and specific80 - Test rules against sample code81- **When modifying existing rules:**82 - Update version number83 - Document changes in commit messages84 - Review and update related rules for consistency85 - Consider backward compatibility8687### 5. Best Practices for Rule Content88- Use clear, specific regex patterns89- Provide helpful, actionable messages90- Include examples of good and bad code91- Set appropriate priority levels92- Use multiple conditions for complex rules93- Consider performance impact of complex patterns9495### 6. Rule Testing96- Test rules against both compliant and non-compliant code97- Verify that messages are clear and helpful98- Check for false positives and false negatives99- Ensure rules don't conflict with each other100101## Metadata102- Priority: high|medium|low103- Version: 1.1104- - **When Adding New Rules: **105- - **When Modifying Existing Rules: **106
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| ivangrynenko/cursorrules.cursor/rules/behat-steps.mdc · 87 | Cursor rules | lint-formatstyleperformanceagent-behaviour | 42/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/confluence-editing-standards.mdc · 87 | Cursor rules | stylearchsecuritydeployment | 60/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/debugging-standards.mdc · 87 | Cursor rules | no sections | 30/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-authentication-failures.mdc · 87 | Cursor rules | security | 48/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-broken-access-control.mdc · 87 | Cursor rules | stylesecurity | 52/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-cryptographic-failures.mdc · 87 | Cursor rules | security | 48/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-database-standards.mdc · 87 | Cursor rules | database | 30/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-file-permissions.mdc · 87 | Cursor rules | stylearchsecurity | 62/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-injection.mdc · 87 | Cursor rules | securitydo-not | 55/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-insecure-design.mdc · 87 | Cursor rules | security | 48/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-integrity-failures.mdc · 87 | Cursor rules | style | 60/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-logging-failures.mdc · 87 | Cursor rules | security | 48/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-security-misconfiguration.mdc · 87 | Cursor rules | security | 48/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-ssrf.mdc · 87 | Cursor rules | style | 52/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/drupal-vulnerable-components.mdc · 87 | Cursor rules | stylesecurity | 67/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/git-commit-standards.mdc · 87 | Cursor rules | git | 44/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/github-actions-standards.mdc · 87 | Cursor rules | no sections | 44/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/improve-cursorrules-efficiency.mdc · 87 | Cursor rules | no sections | 34/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/javascript-broken-access-control.mdc · 87 | Cursor rules | securitydo-not | 39/100 | 14 days ago | |
| ivangrynenko/cursorrules.cursor/rules/javascript-cryptographic-failures.mdc · 87 | Cursor rules | security | 40/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 46 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/ivangrynenko-cursorrules-cursor-rules-cursor-rules)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.