From drupal-workflow
Enforces verification gate for Drupal implementations using drush evals, curl tests, config imports, and behavioral checks before claiming task completion.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drupal-workflow:verification-before-completionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Mandatory verification gate for all implementation tasks.
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)
npx claudepluginhub gkastanis/drupal-workflow --plugin drupal-workflowEnforces a hard rule: run verification commands (tests, builds, bug reproduction) before claiming work is complete. Useful for preventing premature declarations of success.
Enforces running verification commands before claiming work is complete. Useful for preventing false success claims and ensuring evidence-based completion.
Enforces evidence-based completion claims by requiring fresh command output before reporting success. Use when finishing any task, fixing a bug, running tests, building, deploying, or making any "it works" claim.