gkastanis

Drupal Refresh — Development skill for Claude Code

Development community

Regenerate structural index and update CLAUDE.md hint.

How to install Drupal Refresh

Installs to ~/.claude/skills/gkastanis-drupal-workflow-drupal-refresh/SKILL.md

Terminal
mkdir -p ~/.claude/skills/gkastanis-drupal-workflow-drupal-refresh && curl -fsSL https://raw.githubusercontent.com/gkastanis/drupal-workflow/HEAD/commands/drupal-refresh.md -o ~/.claude/skills/gkastanis-drupal-workflow-drupal-refresh/SKILL.md

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

What Drupal Refresh does


description: "Regenerate structural index and update CLAUDE.md hint" allowed-tools: Bash

/drupal-refresh - Regenerate Structural Index

Purpose

Regenerate the structural index (Layer 2) from current codebase state. This is Step 1 of the 3-step pipeline.

Protocol

Step 0: Resolve Environment

PROJECT_DIR="${CLAUDE_PROJECT_DIR:-$(pwd)}"
PLUGIN_ROOT=$(cat /tmp/drupal-workflow-plugin-root 2>/dev/null || echo "${CLAUDE_PLUGIN_ROOT:-}")

Step 1: Regenerate Structu

Alternatives in Development

  • Agent Skill — A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstr 851 ★
  • /sync-agents-md - Regenerate AGENTS.md From CLAUDE.md — Synchronize AGENTS.md with current CLAUDE.md using the codex-cli-bridge skill 618 ★
  • Obsidian Health — Run a vault health check — grouped by severity, detects contradictions, concept gaps, stale claims, and struct 277 ★

Full documentation available on GitHub

View Source Repository