agentleFS
grasmashgrasmash/drupal-claude-skills/skills/ivangrynenko-cursorrules-drupal/SKILL.md

ivangrynenko-cursorrules-drupal

Skill81 starsChanged 42 days agoMITView on GitHub

Drupal security and coding rules from Ivan Grynenko's cursorrules, organised by OWASP Top 10 (2021) category: authentication, access control, injection (SQL, XSS), cryptographic failures, security misconfiguration, vulnerable dependencies, SSRF, insecure design, integrity, and logging, plus database standards and file permissions. Use when writing or reviewing Drupal code for security, handling user input, building queries, handling file uploads, adding permission or access checks, making outbound HTTP requests, or preparing a security review.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    All topics are available as references in the /references/ directory.

    line 30
  2. Very specific:

    To update: Run .claude/scripts/sync-ivan-rules.sh

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Ivan Grynenko - Drupal Cursor Rules

Source: Ivan Grynenko - Cursor Rules Author: Ivan Grynenko License: MIT

When This Skill Activates

Activates when working with Drupal security topics including:

  • Authentication and session management
  • Access control and permissions
  • SQL injection and XSS prevention
  • Cryptography and data protection
  • Security configuration
  • Dependency management
  • SSRF prevention
  • Secure design patterns
  • Software integrity
  • Security logging and monitoring

Available Topics

All topics are available as references in the /references/ directory.

Each reference contains:

  • OWASP classification and reference
  • Security patterns and anti-patterns
  • Enforcement checks
  • Code examples
  • Best practices

OWASP Top 10 Coverage

  • @references/authentication-security.md - Authentication failures (A07:2021)
  • @references/access-control-security.md - Broken access control (A01:2021)
  • @references/injection-prevention.md - Injection vulnerabilities (A03:2021)
  • @references/data-security.md - Cryptographic failures (A02:2021)
  • @references/security-configuration.md - Security misconfiguration (A05:2021)
  • @references/dependency-security.md - Vulnerable components (A06:2021)
  • @references/ssrf-prevention.md - Server-side request forgery (A10:2021)
  • @references/secure-design.md - Insecure design (A04:2021)
  • @references/integrity-validation.md - Software integrity failures (A08:2021)
  • @references/logging-security.md - Logging and monitoring failures (A09:2021)

Additional Security Topics

  • @references/database-standards.md - Database best practices
  • @references/file-permissions.md - File security and access control

See /references/ directory for complete list.



To update: Run .claude/scripts/sync-ivan-rules.sh

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.