MattDeckerIO

Drupal Cr — Development skill for Claude Code

Development community

Rebuild Drupal caches using whatever Drush wrapper this project uses.

How to install Drupal Cr

Installs to ~/.claude/skills/mattdeckerio-claude-drupal-drupal-cr/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mattdeckerio-claude-drupal-drupal-cr && curl -fsSL https://raw.githubusercontent.com/MattDeckerIO/Claude-Drupal/HEAD/commands/drupal-cr.md -o ~/.claude/skills/mattdeckerio-claude-drupal-drupal-cr/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Drupal Cr does


description: Rebuild Drupal caches using whatever Drush wrapper this project uses.

Detect the project's Drush and rebuild caches:

  1. Check for .docksal/, .ddev/, .lando.yml, vendor/bin/drush in that order.
  2. Run the cache rebuild with the first one found: fin drush cr, ddev drush cr, lando drush cr, or vendor/bin/drush cr.
  3. If none are found, tell the user and stop — don't guess at a global drush.

Report the result in one line.

Alternatives in Development

  • System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
  • Rb Refresh — Rebuild the repobrain project knowledge base after significant changes 1.3k ★
  • Ag Refresh — Rebuild the antigravity project knowledge base after significant changes 1.2k ★

Full documentation available on GitHub

View Source Repository