Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Drupal Development Pro

    1

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

    $15

    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

    LocationRule/KeyFindingRecommended Fix
    Line 12documentation.mdHook implementation missing @inheritdoc or specific summary.Add /** Implements hook_form_alter(). */
    Line 45php:S1066Collapsible if statements should be merged.Combine nested conditions into a single if block.
    Line 88documentation.mdParameter description for $form_state is missing the type.Use \Drupal\Core\Form\FormStateInterface $form_state.
    Line 102php:S1541Cyclomatic 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.

    Does not include live Sonar binaries. Claims no scanner parity without project-specific analyzer settings. Reference material is a fixed snapshot.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by 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 scan

    Security scan passed 1 month ago

    Requires

    Node.js
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables
    Listed1 month ago
    Updated11 days ago

    What's inside

    Frequently Asked Questions

    The skill provides deep analysis for Drupal 7 through 10+, supporting legacy migrations and modern service-oriented architectures while adapting to your specific PHP version (7.x/8.x).

    Unlike generic prompts, this skill uses a specialized reference library of 566 Sonar rules and official Drupal coding standards to ensure code passes actual CI gates without common AI hallucinations.

    The skill acts as a comprehensive auditor and developer, identifying security hotspots, refactoring legacy code to modern APIs, and ensuring all YAML and PSR-4 structures meet strict framework conventions.

    No external scanner is required; the skill possesses a local reference of the SonarWay rules for PHP, JS, and CSS to perform the analysis directly within your AI agent's environment.

    The skill is designed to automatically detect your Drupal root, module machine names, and service definitions upon activation, requiring no manual configuration of your project structure.

    It covers PHP hooks and services, JavaScript behaviors, Twig templates, CSS architecture, and even verifies JSDoc and API documentation formatting against official rules.

    New in Code Quality & Review