PHPackages                             ronaldtebrake/drupal-coding-standards-skill - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ronaldtebrake/drupal-coding-standards-skill

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ronaldtebrake/drupal-coding-standards-skill
===========================================

Agent Skill for Drupal code review using official coding standards

818

Since Jan 8Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ronaldtebrake/drupal-coding-standards-skill)[ Packagist](https://packagist.org/packages/ronaldtebrake/drupal-coding-standards-skill)[ RSS](/packages/ronaldtebrake-drupal-coding-standards-skill/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Unmaintained
============

[](#unmaintained)

Best to use [https://www.drupal.org/project/ai\_best\_practices/](https://www.drupal.org/project/ai_best_practices/) instead, that is where I'll focus my efforts to make skills and best practices for the community.

Drupal Coding Standards Agent Skill
===================================

[](#drupal-coding-standards-agent-skill)

An [Agent Skill](https://agentskills.io/) that provides AI agents with the ability to review code according to Drupal's official coding standards. This skill uses dynamic context discovery to efficiently load only the relevant standards based on the file type being reviewed.

Features
--------

[](#features)

- ✅ **Official Standards**: Uses the official Drupal coding standards from [drupal/coding\_standards](https://git.drupalcode.org/project/coding_standards)
- ✅ **Dynamic Context Discovery**: Loads only relevant standards based on file type
- ✅ **Easy Updates**: Update standards with a simple `composer update` command
- ✅ **Minimal Maintenance**: Only routing logic is maintained, content comes from official source
- ✅ **AGENTS.md Compatible**: Can be referenced from project-level AGENTS.md files.

Installation
------------

[](#installation)

Simply install via Composer:

```
composer require ronaldtebrake/drupal-coding-standards-skill --dev
```

The skill will be installed with all assets already scaffolded in `.claude/skills/drupal-coding-standards/`. You can manually copy it, or use `drupal/surge` to have it aggregated for you.

### Dynamic Context Discovery

[](#dynamic-context-discovery)

The skill is optimized for dynamic context discovery:

- **SKILL.md**: Minimal entry point (~60 lines)
- **standards-index.md**: Routing table for file types
- **assets/standards/**: Standards directory (symlinked to vendor) following Agent Skills spec
- **Standards files**: Loaded on-demand from assets directory
- **No content duplication**: All standards come from official source

Contributing
------------

[](#contributing)

This skill is a routing layer over the official Drupal coding standards. To contribute to the standards themselves, please contribute to the [drupal/coding\_standards](https://git.drupalcode.org/project/coding_standards) project.

For issues or improvements to this skill (routing logic, documentation, etc.), please open an issue or pull request.

Version History
---------------

[](#version-history)

See [CHANGELOG.md](CHANGELOG.md) for version history.

### For Maintainers

[](#for-maintainers)

To update the coding standards:

```
# Clone the repository
git clone
cd drupal-coding-standards-skill

# Install dev dependencies (includes drupal/coding_standards)
composer install

# Copy the updated standards to assets directory
cp -r vendor/drupal/coding_standards/docs .claude/skills/drupal-coding-standards/assets/standards

# Commit the updated assets
git add .claude/skills/drupal-coding-standards/assets/standards/
Update the version of hte package in composer to indicate we've created a new version
git add composer.json
git commit -m "Update coding standards to version X.X"
```

The standards are manually copied from `vendor/drupal/coding_standards/docs` to `.claude/skills/drupal-coding-standards/assets/standards/`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance65

Regular maintenance activity

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/62dbb2a0f7ef1dcf9e3c78323bb06f4e99e281379a3a67f44ff7880d535f04f1?d=identicon)[ronaldtebrake](/maintainers/ronaldtebrake)

---

Top Contributors

[![ronaldtebrake](https://avatars.githubusercontent.com/u/16667281?v=4)](https://github.com/ronaldtebrake "ronaldtebrake (5 commits)")

### Embed Badge

![Health badge](/badges/ronaldtebrake-drupal-coding-standards-skill/health.svg)

```
[![Health](https://phpackages.com/badges/ronaldtebrake-drupal-coding-standards-skill/health.svg)](https://phpackages.com/packages/ronaldtebrake-drupal-coding-standards-skill)
```

###  Alternatives

[scheb/tombstone

Dead code detection with tombstones for PHP

282578.2k2](/packages/scheb-tombstone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
