承接 ronaldtebrake/drupal-coding-standards-skill 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ronaldtebrake/drupal-coding-standards-skill

Composer 安装命令:

composer require ronaldtebrake/drupal-coding-standards-skill

包简介

Agent Skill for Drupal code review using official coding standards

README 文档

README

An Agent Skill 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

  • Official Standards: Uses the official Drupal coding standards from drupal/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

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

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

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 project.

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

Version History

See CHANGELOG.md for version history.

For Maintainers

To update the coding standards:

# Clone the repository
git clone <repository-url>
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/

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2026-01-08