- Home
- Skills
- APIs & Backend
- Drupal 11 for Claude Code (Stackproof lite)
Drupal 11 for Claude Code (Stackproof lite)
Free starter skills for Claude Code in Drupal 10.3+/11 projects: an init skill that writes a CLAUDE.md checked against your repository, and a module scaffold skill.
Free
Works with the AI Agents you already use
Drupal 11 for Claude Code (Stackproof lite)
Example session with this skill installed
Set this repo up for Claude Code: extend the CLAUDE.md so it tells an agent how to install, run, test one file and lint this project.
- Read your context and instructions
- Compiled the drupal 11
Excerpt of the CLAUDE.md section the init skill wrote when run on localgovdrupal/localgov_directories, a Drupal module repository (the existing lines of the file were kept):
Notes
KEEP-THIS-LINE: deploys go through the ops team.
Stackproof
Project facts
- Framework: Drupal core
^10.2 || ^11.0(source: composer.json); PHP version is not pinned in this repo. - Kind: module (
"type": "drupal-module",localgov_directories.info.yml); docroot: none (module repo). - Package manager: Composer. Runner: host (no
.ddev/here). - Custom code: the repo root (
src/,modules/,templates/,config/). - CI runs the module inside a full site at
web/modules/contrib/localgov_directories(source: .github/workflows/test.yml).
Commands
This repo has no web/core, vendor/ or Drush, so install, run, test and lint all happen in a full Drupal site that contains this module at web/modules/contrib/localgov_directories. Run the commands below from that site's root.
- Install dependencies (in the host site):
composer require localgovdrupal/localgov_directories(source: composer.json) - Rebuild caches:
vendor/bin/drush cache:rebuild(source: https://www.drush.org/13.x/commands/cache_rebuild/) - Database updates:
vendor/bin/drush updatedb(source: https://www.drush.org/13.x/commands/updatedb/) - Config import (show the diff first):
vendor/bin/drush config:import --diff(source: https://www.drush.org/13.x/commands/config_import/) - Run one test file:
vendor/bin/phpunit -c web/core web/modules/contrib/localgov_directories/tests/src/Kernel/SomeTest.php(source: https://www.drupal.org/docs/develop/automated-testing/phpunit-in-drupal/running-phpunit-tests) - Run all tests of the module:
vendor/bin/phpunit -c web/core web/modules/contrib/localgov_directories/tests(same source) - Lint:
vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,info,yml web/modules/contrib/localgov_directories(source: https://www.drupal.org/docs/develop/standards/coding-standards). This repo has nophpcs.xml, nophpstan.neonand no lint script in composer.json.
Conventions
- Coding standard: Drupal / DrupalPractice (no project phpcs config found).
- Config lives in
config/install,config/optional,config/conditionalandconfig/schema; no config split. - Tests live in
tests/src/{Unit,Kernel,Functional,FunctionalJavascript}. - Composer patches are declared under
extra.patchesin composer.json. - Deploys go through the ops team (see Notes above).
Never
- Never edit Drupal core,
vendor/, or contrib modules, themes and profiles: patch through Composer or write a custom module. - Never edit
settings.phpor uploaded files undersites/*/files. - Never wipe the site database, run
site:install, runconfig:import -ywithout showing the diff first, or run an unscopedcomposer update. - Never force push. Never commit secrets.
Stackproof
Written by the Stackproof Drupal 11 kit.
Connects securely to your tools. The creator never sees your data.
About this skill
Free starter skills for Claude Code in Drupal 11 projects: an init skill that writes a CLAUDE.md with commands checked against your repository, and a module-scaffold skill. Tested on localgov_directories (https://github.com/localgovdrupal/localgov_directories). Source: https://github.com/beingRealFrank/stackproof
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 2 days ago
- Free with an Agensi account