Drupal Refresh — Development skill for Claude Code
Regenerate structural index and update CLAUDE.md hint.
How to install Drupal Refresh
Installs to ~/.claude/skills/gkastanis-drupal-workflow-drupal-refresh/SKILL.md
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 RepositoryRelated Skills
Drupal Bootstrap
Auto-detect project state and bootstrap structural index, semantic docs, and CLAUDE.md hint
Bos Refresh
/bos-refresh - Regenerate BOS Context Cache
Update Codemaps
Regenerate CODEMAPS files for the current project.
Update Account Graph
Pull the live Kalshi balance + open positions and regenerate the account-growth graph (interactive HTML + stat
String
Add or update a translated string in every locale and regenerate LocaleKeys
Bm Scan
Build or refresh the basemind index by running basemind scan via the CLI — works without the MCP server (use i
Related Agents
Codemap Writer
Generate or refresh docs/CODEMAPS/ for the current repo. Use when the user runs /update-codemaps, when context
Status Update
Writes a dated Current Status entry on your team's ongoing Azure DevOps user stories. Use when asked to update
Semantic Architect
Generates semantic documentation (Layer 3) from structural index and source code. Produces business index, tec