Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Drupal Development Pro

    1

    Develop and audit Drupal modules against official coding standards and 566 SonarQube PHP, JS, and CSS rules.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Drupal Development Pro

    Drupal Development Pro

    Example session with this skill installed

    Review my custom module's .module file for Drupal hook documentation standards and any Sonar PHP rules regarding control structures.

    • Read your context and instructions
    • Compiled the drupal development pro

    I have reviewed `web/modules/custom/my_module/my_module.module` against the Drupal API documentation standards and 566 Sonar PHP rules. I identified three documentation violations and one Sonar violation regarding control structure complexity. ## Drupal Standards Review | Location | Rule/Key | Finding | Recommended Fix | | :--- | :--- | :--- | :--- | | Line 12 | `documentation.md` | Hook implementation missing `@inheritdoc` or specific summary. | Add `/** Implements hook_form_alter(). */` | | Line 45 | `php:S1066` | Collapsible `if` statements should be merged. | Combine nested conditions into a single `if` block. | | Line 88 | `documentation.md` | Parameter description for `$form_state` is missing the type. | Use `\Drupal\Core\Form\FormStateInterface $form_state`. | | Line 102 | `php:S1541` | Cyclomatic complexity is too high (12). | Extract the logic for field validation into a protected helper method. | **Next steps** - Update the hook implementations to use the standard one-line documentation format. - Merge the nested conditional blocks in the form validation logic. - Refactor the complex loop in `my_module_preprocess_page` into a dedicated service method.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Maintaining Drupal code quality often feels like a losing battle against technical debt and shifting standards. This skill enforces rigorous compliance by cross-referencing your code against both the official Drupal coding standards and over 500 Sonar PHP, HTML, CSS, and JavaScript rules.

    What it does

    • Standard enforcement ensures PHP hooks, services, PSR-4 namespaces, and YAML configurations meet strict Drupal conventions.
    • Sonar analysis applies hundreds of exported rules for security, code smells, and performance across PHP, JS, and Twig.
    • Context discovery identifies your specific Drupal core version, module names, and service definitions to provide relevant advice.
    • Refactoring assistance updates legacy code to modern Drupal APIs while preserving public contracts and functional behavior.
    • Documentation auditing verifies API documentation, hook descriptions, and JSDoc tags against official formatting rules.

    How it works

    1. Discovery scans the repository to locate the Drupal root, module machine names, and versions of PHP, Drupal, and database drivers.
    2. Rule selection identifies every applicable standard from the local reference library, including specialized hooks and CSS architecture.
    3. Execution performs the requested task, whether it is generating a new service or auditing an existing module for Sonar violations.
    4. Verification validates the output against the specific Drupal fallbacks defined in the Sonar rule exports to ensure framework compatibility.

    Frameworks & tools

    Built for Drupal 7, 8, 9, and 10+ environments. Supports PHP 7.x/8.x, jQuery, Twig, Symfony-based services, Composer package management, and SonarWay static analysis rules.

    Why this beats prompting it yourself

    Generic AI often hallucinates Drupal hook signatures or suggests non-compliant PSR-4 structures. This skill uses a local, byte-for-byte reference of official standards and 566 specific Sonar rules, ensuring your code passes actual CI gates without manual correction.

    Use cases

    • Auditing a contributed module for security hotspots and standards compliance before a release.
    • Converting a legacy Drupal 7 module to a modern Drupal 10 service-oriented architecture.
    • Generating boilerplate for custom entity types, routes, and configuration schemas that follow exact naming conventions.
    • Cleaning up JavaScript behaviors and Twig templates to meet accessibility and performance benchmarks.

    Known limitations

    Does not supply actual Sonar scanner binaries or numeric coverage thresholds. Requires the target project's specific analyzer settings to claim exact parity with a live SonarCloud instance.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scanned

    Verified clean 2 days ago

    • Passed all security checks, Safe to install

    Requires

    Node.js
    Git

    Listed2 days ago

    What's inside

    Frequently Asked Questions