Skip to content

drupal plan validate

Paulo Maia Carvalho edited this page Jun 9, 2026 · 1 revision

drupal-plan-validate

Validate a DrupalClaw plan by running the checks in its ## Verification section and updating the plan status accordingly.

Usage

/drupal-plan-validate <plan-id>

Typically triggered from the Plans panel in the DrupalClaw UI rather than typed manually.

What it does

  1. Loads the plan from .piclaw/plans/<plan-id>.md
  2. Reads the ## Verification section
  3. Runs each - [ ] check one at a time
  4. If a check passes → marks it [x]; if it fails → leaves it as - [ ]
  5. Sets final status to completed (all checks pass) or failed (some checks fail)
  6. Updates status: and updated: frontmatter

When to use

Run after drupal-plan-run to confirm the plan's outcome:

  • Module is installed and enabled
  • Configuration is correct
  • Site is reachable and functional
  • Cache backend is active

Verification section format

Add a ## Verification section to any plan with testable assertions:

## Verification

- [ ] `drush pm:list --status=enabled | grep redis` shows the module enabled
- [ ] `drush status` shows Redis as the cache backend
- [ ] Site loads without errors at the configured URL

Checks can be commands, file existence tests, HTTP requests, or any assertion the agent can evaluate.

Notes

  • Validation is separate from execution intentionally — you can re-run validation without re-running all steps
  • This skill never outputs a 💡 How to replicate manually: block
  • A plan without a ## Verification section will complete immediately with no checks run

Related skills

Clone this wiki locally