Skip to main content
在 Manus 中运行任何 Skill
一键导入

drupal-php-standards

星标2
分支5
更新时间2026年4月20日 15:13

Write PHP code that passes all QA checks (PHPCS, PHPStan level 8, PHPMD, CSpell) on the first try. This project enforces strict coding standards via GrumPHP with zero-tolerance thresholds. Use this skill whenever you are writing or modifying PHP code in a Drupal module, theme, or any .php/.module/.install/.inc/.theme file. Even for small changes — a one-line hook, a new service method, a migration plugin — always apply these rules. The goal is to never trigger a QA failure at commit time. If you are *fixing* existing QA failures after the fact, use the drupal-qa skill instead; this skill is about getting it right from the start.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly