codeitwisely/drupal-claude-kit
Minimal Claude Code setup for Drupal 10/11 projects — pre-commit hooks, guardrails, CLAUDE.md template
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
Copy this rig
# review before running: this installs third-party code
$ npx degit codeitwisely/drupal-claude-kit/.claude ./rig-drupal-claude-kit # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(git push origin dev)",
"Bash(git push origin main)",
"Bash(git push origin master)",
"Bash(git push --force*)",
"Bash(git reset --hard*)",
"Bash(git clean -f*)",
"Bash(ddev delete*)",
"Bash(composer require *)",
"Bash(ddev drush en *)",
"Bash(npm install *)",
"Bash(pip install *)",
"Bash(curl * | bash)",
"Bash(wget * | bash)",
"Bash(rm -rf *)",
"Read(~/.ssh/**)",
"Read(~/.aws/**)",
"Read(~/.gnupg/**)",
"Read(~/.config/gcloud/**)",
"Bash(cat ~/.ssh/*)",
"Bash(cat ~/.aws/*)",
"Bash(cat ~/.gnupg/*)",
"Bash(grep * ~/.ssh/*)",
"Bash(grep * ~/.aws/*)"
]
}
} Permissions
deny (23)
Bash(git push origin dev)
Bash(git push origin main)
Bash(git push origin master)
Bash(git push --force*)
Bash(git reset --hard*)
Bash(git clean -f*)
Bash(ddev delete*)
Bash(composer require *)
Bash(ddev drush en *)
Bash(npm install *)
Bash(pip install *)
Bash(curl * | bash)
Bash(wget * | bash)
Bash(rm -rf *)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(~/.gnupg/**)
Read(~/.config/gcloud/**)
Bash(cat ~/.ssh/*)
Bash(cat ~/.aws/*)
Bash(cat ~/.gnupg/*)
Bash(grep * ~/.ssh/*)
Bash(grep * ~/.aws/*)
ask (0)
—
allow (14)
Bash(ddev *)
Bash(git status)
Bash(git diff*)
Bash(git log*)
Bash(git checkout -b *)
Bash(git add *)
Bash(git commit*)
Bash(git fetch*)
Bash(git pull*)
Bash(git push origin feature/*)
Bash(git push origin fix/*)
Bash(ls *)
Bash(find *)
Bash(grep *)
Similar rigs
multica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Minimalist 723 tok ·
shareAI-lab/learn-claude-code
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
Minimalist 156 tok ·
tt-a1i/archify
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
Minimalist 484 tok ·
ayghri/i-have-adhd
A skill to stop your coding agent from burying the answer. ADHD-friendly output.
Minimalist 1.4k tok ·