{"id":50573496,"url":"https://github.com/abderrahimghazali/drupal-boost","last_synced_at":"2026-06-04T20:30:30.155Z","repository":{"id":347664390,"uuid":"1188943792","full_name":"abderrahimghazali/drupal-boost","owner":"abderrahimghazali","description":"The most comprehensive Drupal 11 development toolkit for Claude Code. Module scaffolding, theme development, configuration management, migration, security auditing, testing, deployment, and more.","archived":false,"fork":false,"pushed_at":"2026-03-28T21:51:25.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T00:51:11.393Z","etag":null,"topics":["claude-code","claude-code-plugin","ddev","drupal","drupal-development","drupal-module","drupal-theme","drupal11","lando","php"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abderrahimghazali.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-22T19:41:51.000Z","updated_at":"2026-03-28T22:07:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/abderrahimghazali/drupal-boost","commit_stats":null,"previous_names":["abderrahimghazali/drupal-boost"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abderrahimghazali/drupal-boost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abderrahimghazali%2Fdrupal-boost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abderrahimghazali%2Fdrupal-boost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abderrahimghazali%2Fdrupal-boost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abderrahimghazali%2Fdrupal-boost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abderrahimghazali","download_url":"https://codeload.github.com/abderrahimghazali/drupal-boost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abderrahimghazali%2Fdrupal-boost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33917202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","claude-code-plugin","ddev","drupal","drupal-development","drupal-module","drupal-theme","drupal11","lando","php"],"created_at":"2026-06-04T20:30:28.710Z","updated_at":"2026-06-04T20:30:30.137Z","avatar_url":"https://github.com/abderrahimghazali.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drupal-boost\n\nThe most comprehensive Drupal 11 development toolkit for Claude Code. Module scaffolding, theme development, configuration management, migration, security auditing, testing, deployment, and more.\n\n## Table of Contents\n\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [How It Works](#how-it-works)\n- [Commands](#commands)\n- [Agents](#agents)\n- [Skills](#skills)\n- [Hooks](#hooks)\n- [Environment Support](#environment-support)\n- [Drupal Compatibility](#drupal-compatibility)\n- [Troubleshooting](#troubleshooting)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Requirements\n\n- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI v1.0+\n- `jq` installed (used by hook scripts for JSON processing)\n- For full functionality within a Drupal project:\n  - PHP 8.2+ (Drupal 11 requirement)\n  - Composer\n  - A Drupal 10.3+ or 11.x project\n  - Optionally: [DDEV](https://ddev.readthedocs.io/) or [Lando](https://lando.dev/) for local development\n\n## Installation\n\n```bash\nclaude plugin install drupal-boost\n```\n\nOr load directly:\n\n```bash\nclaude --plugin-dir ./drupal-boost\n```\n\n## Quick Start\n\n```\n/drupal-boost:boost-module my_module \"Custom content management module\"\n/drupal-boost:security-audit\n/drupal-boost:quality-check\n```\n\n## How It Works\n\ndrupal-boost operates on a 3-tier architecture that combines automatic detection, contextual skills, and user-invoked workflows:\n\n```\n┌─────────────────────────────────────────────────────────┐\n│  Tier 1: AUTOMATIC                                      │\n│  SessionStart hook detects Drupal version, DDEV/Lando,  │\n│  PHP version, Composer, and Drush availability.         │\n├─────────────────────────────────────────────────────────┤\n│  Tier 2: SKILLS (Auto-Triggered)                        │\n│  13 skills activate based on conversation context.      │\n│  Ask about migrations → migrate-api skill loads.        │\n│  Ask about caching → caching-strategy skill loads.      │\n├─────────────────────────────────────────────────────────┤\n│  Tier 3: COMMANDS (User-Invoked)                        │\n│  8 slash commands for multi-phase workflows.            │\n│  /boost-feature runs a full 7-phase dev cycle.          │\n├─────────────────────────────────────────────────────────┤\n│  Cross-cutting: HOOKS                                   │\n│  Every Write/Edit is validated for PSR-4 namespaces,    │\n│  .info.yml structure, and Drupal coding standards.      │\n│  Bash commands are adapted for DDEV/Lando.              │\n└─────────────────────────────────────────────────────────┘\n```\n\nThe flagship `/drupal-boost:boost-feature` command orchestrates a 7-phase workflow:\n\n1. **Discovery** — gather requirements from the user\n2. **Exploration** — parallel `drupal-explorer` agents analyze the codebase\n3. **Clarifying Questions** — fill knowledge gaps\n4. **Architecture** — parallel `drupal-architect` agents propose multiple approaches\n5. **Implementation** — build the chosen approach\n6. **Quality Review** — parallel `drupal-reviewer` + `drupal-security-auditor` agents\n7. **Summary** — files created, next steps, manual testing guidance\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/drupal-boost:boost-feature` | Full 7-phase feature development workflow with parallel agents |\n| `/drupal-boost:boost-module` | Guided multi-phase module scaffolding |\n| `/drupal-boost:boost-theme` | Theme creation with Single Directory Component scaffolding |\n| `/drupal-boost:boost-migration` | Guided migration builder with source analysis |\n| `/drupal-boost:boost-recipe` | Scaffold a Drupal Recipe |\n| `/drupal-boost:security-audit` | Comprehensive security audit with confidence scoring |\n| `/drupal-boost:deploy-check` | Pre-deployment readiness check |\n| `/drupal-boost:quality-check` | Run PHPCS + PHPStan + Drupal Check |\n\n## Agents\n\n| Agent | Color | Model | Purpose |\n|-------|-------|-------|---------|\n| `drupal-explorer` | Blue | Haiku | Fast codebase analysis, traces services, hooks, routing, entities |\n| `drupal-architect` | Green | Sonnet | Designs module/feature architectures with implementation blueprints |\n| `drupal-reviewer` | Yellow | Sonnet | Code review for Drupal standards, DI patterns, deprecated APIs |\n| `drupal-security-auditor` | Red | Sonnet | Deep security audit: XSS, SQL injection, access bypass, CSRF |\n| `drupal-migration-analyst` | Magenta | Sonnet | Analyzes source data, maps to Drupal entities, generates migration YAML |\n| `drupal-test-runner` | Cyan | Sonnet | Runs tests, analyzes failures, suggests and applies fixes |\n\n## Skills (Auto-Triggered)\n\nSkills activate automatically when Claude detects relevant context:\n\n| Skill | Triggers On |\n|-------|-------------|\n| `module-scaffold` | Creating modules, services, plugins, controllers, forms, hooks, entities |\n| `theme-development` | Theme, SDC, Twig, Starterkit, component work |\n| `config-management` | Config export/import, Config Split, environment config |\n| `recipes-api` | Drupal Recipes, site templates, automated setup |\n| `rest-jsonapi` | REST, JSON:API, decoupled/headless architecture |\n| `ddev-workflow` | DDEV, Lando, local dev environment, Xdebug, Solr, Redis |\n| `quality-testing` | PHPUnit, PHPStan, PHPCS, Rector, Nightwatch |\n| `drupal-security` | Security review, XSS, SQL injection, permissions |\n| `deployment` | Deploy, CI/CD, GitHub Actions, GitLab CI |\n| `migrate-api` | Data migration, ETL, source/process/destination plugins |\n| `caching-strategy` | Cache tags, contexts, max-age, render caching, BigPipe |\n| `contrib-publishing` | Publishing modules to drupal.org |\n| `workspaces` | Content staging, editorial workflows |\n\n## Hooks\n\n| Event | Purpose |\n|-------|---------|\n| `SessionStart` | Detects Drupal version, DDEV/Lando environment |\n| `PreToolUse (Write/Edit)` | Validates PSR-4 namespaces, .info.yml structure |\n| `PreToolUse (Bash)` | Adapts commands for DDEV/Lando |\n| `PostToolUse (Write/Edit)` | Checks Drupal coding standards |\n\n## Environment Support\n\n| Environment | Status |\n|-------------|--------|\n| DDEV | Fully supported |\n| Lando | Fully supported |\n\n## Drupal Compatibility\n\n- Drupal 11 (primary target)\n- Drupal 10.3+ (most features)\n- OOP Hook attributes require Drupal 11.1+\n\n## Troubleshooting\n\n**Plugin not activating skills?**\nSkills are triggered by conversation context. Mention the topic explicitly (e.g., \"I need to set up a migration from Drupal 7\") to activate the relevant skill.\n\n**Hook scripts failing?**\nEnsure `jq` is installed (`brew install jq` on macOS, `apt install jq` on Ubuntu). Hook scripts require `jq` for JSON parsing.\n\n**DDEV/Lando not detected?**\nThe SessionStart hook looks for `.ddev/config.yaml` or `.lando.yml` in your working directory. Make sure you launch Claude Code from the project root.\n\n**Commands not found?**\nVerify the plugin is installed with `claude plugin list`. If loading directly, ensure the path points to the plugin root directory containing `.claude-plugin/plugin.json`.\n\n**Namespace validation blocking writes?**\nThe PreToolUse hook validates PSR-4 namespaces for files under `modules/*/src/`. If your project uses a non-standard module path, the validation will be skipped.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to contribute to this plugin.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabderrahimghazali%2Fdrupal-boost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabderrahimghazali%2Fdrupal-boost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabderrahimghazali%2Fdrupal-boost/lists"}