Cursor rules for Drupal 11 development

Cursor rules for Drupal 11 development is a skill for Claude Code, Codex from AmariahAK/atlarix-skills. It costs 7 tokens per session (1,570 once invoked), scanned A, original, Apache-2.0.

A set of coding instructions for Drupal 11, a system for building and managing websites, using PHP and the Symfony framework. It focuses on current Drupal APIs, secure code, and Drupal's project conventions.

In plain words
What is it for?
Use it for Drupal modules, themes, and other development tasks, especially when a complex change needs a plain-language plan before implementation.
Why use it?
It reduces the risk of using outdated Drupal methods or producing code that does not fit Drupal's structure and standards.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

Good fit Use it for Drupal modules, themes, and other development tasks, especially when a complex change needs a plain-language plan before implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AmariahAK/atlarix-skills --skill acr-drupal-11-cursorrules-prompt-file
Clone the repo
git clone --depth 1 https://github.com/AmariahAK/atlarix-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Cursor rules for Drupal 11 development

README.md
[![agentmods](https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file/github.svg)](https://agentmods.dev/skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file)
Your own site
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Cursor rules for Drupal 11 development

Your own site · 80×15
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/acr-drupal-11-cursorrules-prompt-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,570 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00007 $0.01570
Opus 5 $0.00003 $0.00785
Sonnet 5 $0.00001 $0.00314
Haiku 4.5 $0.00001 $0.00157

Measured 12d ago against content hash 0a6462d28f6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Cursor rules for Drupal 11 development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/acr-drupal-11-cursorrules-prompt-file/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cursor rules for Drupal 11 development

When to use this skill

Cursor rules for Drupal 11 development.

Source

Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/drupal-11-cursorrules-prompt-file.mdc.

You are an expert in PHP (8.x), Drupal 11 development, and modern Symfony 6 framework concepts. You have deep knowledge of Drupal’s API, module and theme development, and best practices for security and performance in Drupal. Use this expertise to assist with Drupal-specific questions or coding tasks.

Follow the user’s requirements carefully and to the letter. Always consider Drupal’s conventions and do not introduce deprecated approaches (use Drupal 11 APIs and features only).

First, think step by step and outline a solution in plain terms or pseudocode when faced with a complex task. Confirm the plan with the user if needed, then proceed to write the code.

Always produce functional, secure, and efficient Drupal code that aligns with Drupal’s coding standards. Ensure the code is maintainable and follows Drupal’s structure. Focus on clarity and maintainability; optimize for performance where appropriate but never at the cost of code readability unless explicitly required. If any part of the problem is ambiguous, ask for clarification rather than guessing. If you do not know an answer, admit it instead of inventing one.

Code Style and Structure

  • Follow Drupal coding standards (PSR-12 for PHP): use 2-space indentation, proper docblocks, and descriptive comments for complex logic.
  • Embrace Drupal’s object-oriented structure: use classes (e.g. Services, Controllers, Plugins) instead of procedural code when possible. Organize code in the proper namespace under the /src folder of a module.
  • For any functionality, prefer Drupal’s APIs and services. (Example: use the Drupal Entity API for data access instead of raw SQL; use Drupal’s Queue API for background jobs, etc.)
  • Keep functions and methods focused. Adhere to single-responsibility where possible. For shared logic, create reusable services or helper functions rather than duplicating code.

Read the full file on GitHub · 61 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 61 lines · 7 tokens per session scan A 0a6462d28f6f

Subscribe to this mod's changes

Cursor rules for Drupal 11 development is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 7 tokens to every session and 1,570 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mvc-expert

Expert guidelines to refactor legacy PHP codebases into clean, modern, and scalable MVC-structured projects / Pedoman ahli untuk merefaktor codebase PHP lama menjadi proyek terstruktur MVC yang bersih, modern, dan skalabel.

roedyrustam/vibes-plug · 51 tokens

php-laravel

Modern PHP 8.4 and Laravel patterns: architecture, Eloquent, migrations, queues, testing. Use when working with Laravel, Eloquent, Blade, artisan, or building/testing a framework-based PHP app. Not for php-src internals, standalone PHP libraries, or general PHP language discussion.

iliaal/ai-skills · 65 tokens

python-project

Modern Python project architecture guide for 2025. Use when creating Python projects (APIs, CLI, data pipelines). Covers uv, Ruff, Pydantic, FastAPI, and async patterns.

majiayu000/spellbook · 43 tokens

laravel

Use when creating or modifying PHP files under src/backend/ in a Laravel application — routes, controllers, services, Eloquent models, Form Requests, middleware, and their tests. Triggers on any .php change under src/backend/. Covers thin controllers, the exception Handler as the single error shaper, Form Request…

kouroshez/coding-os · 89 tokens

php-form-mailer

Wire any HTML form to a two-email PHP system. Generates a complete PHP handler that sends a structured notification email to the site owner and a branded HTML confirmation to the person who submitted, updates the form action and JS handler with a mailto fallback, then tests the live endpoint with curl. Works on any…

jqaisystems/jqai-ai-skills · 86 tokens

laravel

Laravel PHP framework best practices.

usrrname/cursorrules · 8 tokens