/workflow-tools:feature-workflowfrom workflow-tools
Gated phased workflow for delivering Drupal features: plan, implement, review, test, finalize. Activates for new modules, routes, forms, plugins, entity/schema changes, or multi-file tasks. Not for typo or single-line fixes.
Ships in workflow-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A gated, phased procedure for non-trivial Drupal development tasks. The goal is that no step is skipped and no task is declared done without evidence (passing checks, exported config, green tests).
Before starting, classify the task and adjust rigor:
| Class | Signal | Rigor |
|---|---|---|
| tiny-fix | Typo, comment, CSS tweak, single-line change | Stop — use the tiny-fix skill instead |
| standard | New feature, refactor, multi-file change | All phases below |
| security-sensitive | Touches routing, forms, user input, DB queries, permissions, file handling | All phases below + mandatory security pass in Phase 3 |
| schema-touching | Changes entity definitions, fields, or DB schema | All phases below + update hook requirement in Phase 2 |
Exit condition: a short written plan exists in the conversation. No code yet.
drupal-module-development skill (drupal-dev-tools plugin) is available, apply it; otherwise follow core conventions: dependency injection over \Drupal:: static calls in OOP code, typed config schema for new config, declare(strict_types=1) where the codebase uses it.hook_update_N() or hook_post_update_NAME() in the same changeset. An update hook must be idempotent.config/schema/*.schema.yml entry.Exit condition: the change is complete, drush cr succeeds, and the site loads without new PHP errors in the log (drush watchdog:show --severity=Error).
phpcs --standard=Drupal,DrupalPractice web/modules/custom/MODULE
phpstan analyse web/modules/custom/MODULE
/drupal-dev-tools:drupal audit command is installed, run it on the changed module.semgrep skill (security-tools plugin) is available and Semgrep can run (local semgrep or docker run semgrep/semgrep), scan the changed module with it and triage every finding (true positive / false positive / needs context, with its ASVS ID). True positives are fixed before Phase 4. Recommended for security-sensitive tasks; if it cannot run, note that.owasp-asvs skill (security-tools plugin) is available, walk the relevant checklist sections (V1 encoding/sanitization at minimum), starting from the Semgrep findings when the scan ran. If it is not installed, verify manually: parameterized queries only, Xss::filter() on user-supplied markup, access checks on every new route, CSRF protection on state-changing GET routes.Exit condition: phpcs and phpstan pass (or their absence is noted), the Semgrep findings are triaged with no open true positive (or the scan's absence is noted), and for security-sensitive tasks the security pass is documented in the conversation.
phpunit (via DDEV: ddev exec phpunit ...).Exit condition: tests pass, or the absence of a test suite is explicitly recorded.
drush cex — review the diff; only intended changes may be present.Exit condition: config export is clean, changeset is coherent, summary delivered.
sql-drop, pmu, entity:delete) as part of this workflow without explicit user confirmation.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/deploy-workflowSafe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer install, database updates, config import, cache rebuild), verification, and rollback plan. Use when deploying to any environment, releasing to production, or when the user asks to "push changes live", "update the server", or run a release. Also use for multisite releases where each site needs its own database update pass.
/tiny-fixLow-ceremony workflow for trivial, low-risk changes: typos, comments, CSS/styling tweaks, string changes, single-line fixes with no logic impact. Use to avoid the overhead of the full feature workflow when the change cannot break anything. If during the fix the change turns out to touch logic, security, config, or schema, stop and escalate to the feature-workflow skill.
npx claudepluginhub siva01c/claude-plugins --plugin workflow-toolsOther plugins' skills for the same job