drupal-peer-review

Review Drupal PHP services, Twig templates, SCSS, and configuration YAML for correctness, security, and performance.

2|Updated May 24, 2026
One-click install
npx skills add https://github.com/CivicActions/ai-runbook-jh --skill drupal-peer-review
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drupal-peer-review
Source: https://github.com/CivicActions/ai-runbook-jh/tree/main/skills/drupal-peer-review
Command: npx skills add https://github.com/CivicActions/ai-runbook-jh --skill drupal-peer-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of maintaining high-quality, secure, and performant Drupal codebases by providing a structured, contract-driven review process that enforces project-specific standards.

Core Features & Use Cases

  • Multi-Layered Review: Critically evaluates PHP services, Twig templates, SCSS, and configuration YAML for security, performance, and correctness.
  • Contract-Driven Standards: Automatically adapts to project-specific conventions defined in the project contract, such as module naming, library registration, and priority levels.
  • Use Case: Use this skill during a pull request review to ensure that a new custom module follows dependency injection patterns, properly handles cache tags, and adheres to the project's specific design-system token rules.

Quick Start

Use the drupal-peer-review skill to analyze the provided backend code and configuration for adherence to project standards.

Frequently Asked Questions about drupal-peer-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Drupal PHP services and Twig templates for security and performance?▼

Reviewing Drupal PHP services and Twig templates requires critically evaluating the code for correctness, security vulnerabilities, and performance issues against project-specific conventions and Drupal best practices.

What is a contract-driven Drupal code review?▼

A contract-driven Drupal code review adapts to project-specific conventions defined in the project contract, enforcing rules for module naming, library registration, and priority levels during the audit.

How do I audit Drupal configuration YAML for correctness and best practices?▼

Auditing Drupal configuration YAML involves critically evaluating the files for correctness, security, and performance while ensuring adherence to project-specific standards and Drupal best practices.

Does this Drupal code review approach work with SCSS and Twig files?▼

Yes, this approach critically evaluates SCSS and Twig files for correctness, security, and performance, ensuring they adhere to project-specific design-system token rules and Drupal best practices.

When do I need a peer review for Drupal custom modules?▼

You need a peer review for Drupal custom modules during pull request reviews to ensure new code follows dependency injection patterns, properly handles cache tags, and adheres to project-specific design-system token rules.