From drupal-workflow
Enforces verification gate for Drupal implementations using drush evals, curl tests, config imports, and behavioral checks before claiming task completion.
npx claudepluginhub gkastanis/drupal-workflow --plugin drupal-workflowThis skill uses the workspace's default tool permissions.
Mandatory verification gate for all implementation tasks.
Verifies task completion by enforcing fresh automated test runs, runtime evidence review, and spec re-read in /dev workflow Phase 7.
Mandates fresh execution of verification commands (tests, builds, lints) and output review before any completion claims like 'done', 'tests pass', or 'fixed'.
Enforces running verification commands like tests, builds, linters before claiming work complete, bugs fixed, or tests pass. Includes red-green TDD cycles and agent delegation checks.
Share bugs, ideas, or general feedback.
Mandatory verification gate for all implementation tasks.
Before claiming ANY task is complete:
If any step fails, fix and re-test. Do not skip to claiming completion.
| Claim | Requires | NOT Sufficient |
|---|---|---|
| "Service works" | drush eval or curl test passes | "Code looks correct" |
| "Page renders" | curl smoke test HTTP 200 + content check | "Template created" |
| "Config imports" | ddev drush cim -y succeeds | "Exported config" |
| "Hook fires" | drush eval or behavioral test | "Added the hook" |
| "Module enabled" | ddev drush pm:list --status=enabled shows it | "Created .info.yml" |
| "Route works" | curl returns expected response | "Added routing.yml" |
| "Field exists" | drush eval field definition check | "Added field config" |
| "Permission works" | Login as role + curl test | "Added permission" |
| "Form submits" | Curl POST or Behat test | "Created form class" |
| "Cache works" | Two requests, second faster or cached | "Added cache tags" |
Include in your completion message:
## Verification Results
**Tested**: [what was tested]
**Method**: [curl/drush eval/test script]
**Results**:
- [Test 1]: PASS/FAIL - [details]
- [Test 2]: PASS/FAIL - [details]
**Scripts created**: [list any scripts in scripts/tests/]
**Status**: [VERIFIED/NEEDS ATTENTION]
Common excuses that are NOT verification:
| Excuse | Reality | Do Instead |
|---|---|---|
| "The code follows best practices" | Best practices don't guarantee it works | Run a test |
| "I've seen this pattern work before" | This specific implementation may differ | Run a test |
| "It should work after cache clear" | "Should" is not "does" | Clear cache AND test |
| "The logic is straightforward" | Typos and misconfigurations are common | Run a test |
| "I've created all required files" | Files existing != system working | Run a test |
| "The service definition looks correct" | YAML indentation, class names can be wrong | drush eval to check |
[ ] Ran at least one verification test
[ ] Read the actual test output (not assumed)
[ ] Test output confirms the specific claim
[ ] Included test results in completion message
[ ] Scripts stored in scripts/tests/ (if created)
[ ] Updated scripts/tests/index.md (if scripts created)