Automate Kanopi's Drupal/Pantheon DevOps setup for a new project
From cms-cultivatornpx claudepluginhub kanopi/claude-toolbox --plugin cms-cultivator[git-url]Spawn the drupal-pantheon-devops-specialist agent to automate the complete Kanopi DevOps onboarding workflow:
Task(cms-cultivator:drupal-pantheon-devops-specialist:drupal-pantheon-devops-specialist,
prompt="Set up Kanopi DevOps for a Drupal/Pantheon project. Arguments: [use git URL if provided]. Follow the complete 5-phase workflow: (1) Clone repo and create new GitHub repo in kanopi org, (2) Configure GitHub settings (squash merge, branch protection, teams), (3) Configure Pantheon services via Terminus (Redis, New Relic), (4) Make all code changes on feature/kanopi-devops branch (DDEV, CircleCI, Cypress, code quality, quicksilver scripts, README, CLAUDE.md), (5) Push branch, create PR, and output verification checklist with manual follow-up tasks.")
kanopi/ orgpantheon (original) + origin (new kanopi repo)main branch and pushkanopicode.nvmrc, compiled assets)kanopi/drupal-starter at runtimefeature/kanopi-devops branchgh auth status)kanopi GitHub org and target Pantheon site# With a Pantheon SSH URL:
/devops-setup ssh://codeserver.dev.SITE-UUID@codeserver.dev.SITE-UUID.drush.in:2222/~/repository.git
# With a GitHub URL:
/devops-setup https://github.com/org/repo.git
# Without arguments (will prompt for inputs):
/devops-setup
kanopi/ org with squash merge policymain with required status checks| Step | What |
|---|---|
| DDEV config | .ddev/config.yaml matching PHP/DB versions |
| Composer deps | drupal/coder, phpstan-drupal, drupal-rector, twig-cs-fixer |
| Composer scripts | code-check, code-fix, phpstan, rector-check, code-sniff |
| Code quality | phpstan.neon, rector.php, .twig-cs-fixer.php |
| pantheon.yml | Quicksilver hooks, enforce HTTPS, protected paths |
| Vendor cleanup | Remove committed vendor/ if present |
| .gitignore | Merged from drupal-starter reference |
| .editorconfig | Drupal standard |
| Theme setup | .nvmrc, gitignored compiled assets |
| Cypress tests | tests/cypress/ from drupal-starter |
| CircleCI | .circleci/config.yml with project variables |
| CODEOWNERS | .github/CODEOWNERS |
| Quicksilver | web/private/scripts/ for deploy hooks |
| Drupal modules | drupal/redis, drupal/pantheon_advanced_page_cache |
| README | Project-specific with important links |
| CLAUDE.md | Dev commands, code quality, DDEV references |
After the automated setup completes, these tasks require manual action:
TERMINUS_TOKEN, GITHUB_TOKEN, etc.)/pr-create - Create pull requests for subsequent changes/quality-analyze - Analyze code quality after setup/audit-security - Run security audit on the project