agentleFS
ivangrynenkoivangrynenko/cursorrules/.cursor/rules/vortex-scaffold-standards.mdc

cursorrules / rules

Cursor rule88 starsChanged 13 months agoMITView on GitHub

Standards for Vortex/DrevOps scaffold usage and best practices

  • Reads credentials

The file

We split this vortex-scaffold-standards.mdc into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use centralized workflow scripts from scripts/vortex/

    line 36
  2. Distinctive:

    Use Renovate for automated dependency updates

    line 38
  3. Distinctive:

    Follow the router script pattern for customizations

    line 39
  4. Distinctive:

    Use provided tool configurations (PHPCS, PHPStan, etc.)

    line 41
  5. Distinctive:

    Ensure CI/CD pipelines include testing and deployment steps

    line 43
  6. Distinctive:

    Document CI/CD processes in the README for clarity

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
vortex-scaffold-standards.mdc
---
description: Standards for Vortex/DrevOps scaffold usage and best practices
globs: *.yml, *.sh, composer.json, README.md
---
# Vortex/DrevOps Scaffold Standards

Ensures proper usage of Vortex/DrevOps scaffold features and workflows.

<rule>
name: vortex_scaffold_standards
description: Enforce standards for Vortex/DrevOps scaffold usage
filters:
  - type: file_extension
    pattern: "\\.(yml|yaml|sh|json|md)$"
  - type: file_path
    pattern: "scripts/(vortex|drevops)/"

actions:
  - type: enforce
    conditions:
      - pattern: "custom-download-db\\.sh"
        message: "Use scripts/vortex/download-db.sh router script instead of custom implementation"

      - pattern: "drush\\s+[a-z-]+\\s+--uri="
        message: "Use DRUPAL_SITE_URL environment variable instead of hardcoded URI"

      - pattern: "composer\\s+require\\s+[^-]"
        message: "Use Vortex's composer.json template and Renovate for dependency management"

      - pattern: "docker\\s+exec\\s+-it\\s+\\$\\(docker-compose"
        message: "Use Ahoy commands for container interactions"

  - type: suggest
    message: |
      Vortex/DrevOps Best Practices:
      - Use centralized workflow scripts from scripts/vortex/
      - Leverage environment variables for configuration
      - Use Renovate for automated dependency updates
      - Follow the router script pattern for customizations
      - Implement proper CI/CD integration
      - Use provided tool configurations (PHPCS, PHPStan, etc.)
      - Maintain documentation structure
      - Ensure CI/CD pipelines include testing and deployment steps
      - Document CI/CD processes in the README for clarity

  - type: validate
    conditions:
      - pattern: "^\\s*source\\s+\\.env"
        message: "Use scripts/vortex/bootstrap.sh for environment setup"

      - pattern: "docker-compose\\s+exec\\s+cli\\s+vendor/bin/"
        message: "Use provided Ahoy commands for tool execution"

metadata:
  priority: high
  version: 1.1
</rule> 

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.