drupal-coding-standards

Drupal Coding Standards Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "drupal-coding-standards" with this command: npx skills add ronaldtebrake/drupal-coding-standards-skill/ronaldtebrake-drupal-coding-standards-skill-drupal-coding-standards

Drupal Coding Standards Skill

This skill provides AI agents with the ability to review code according to Drupal's official coding standards. The standards are maintained by the Drupal community and automatically kept up-to-date via Composer dependency.

When to Use

Activate this skill when:

  • Reviewing code in Drupal projects (modules, themes, profiles)

  • Checking code for compliance with Drupal coding standards

  • Performing code reviews on PHP, JavaScript, CSS, Twig, YAML, or SQL files

  • Ensuring code follows Drupal best practices and conventions

How It Works

This skill uses dynamic context discovery to load only the relevant standards based on the file type being reviewed:

  • Identify the file type being reviewed (.php , .js , .css , .twig , .yml , etc.)

  • Consult the routing table in standards-index.md to find the corresponding standard file

  • Load the specific standard from assets/standards/[category]/[file].md

  • Apply the standards to review the code

Review Workflow

  • Read standards-index.md to determine which standard file applies to the code being reviewed

  • Load the relevant standard file from assets/standards/

  • Review the code against the standards

  • Provide specific, actionable feedback referencing the relevant sections of the standards

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated