Skip to content

axelerant/drupal-sdlc-plugin

Repository files navigation

Axelerant Automated SDLC for Drupal

AI-native SDLC automation plugin for Claude Code. Spec-first, test-first Drupal development with Jira integration.

Quick Install

/plugin marketplace add axelerant/drupal-sdlc-plugin
/plugin install drupal-sdlc@axelerant/drupal-sdlc-plugin
/reload-plugins

Setup

  1. Check Node.js 18+, authenticate gh CLI, connect Atlassian MCP (one-time per machine)
  2. Run /init then run onboarding — auto-detects your project, creates .mcp.json, appends CLAUDE.md sections
  3. Commit .mcp.json and CLAUDE.md — team members run onboarding to complete their setup
  4. Copy CI templates to .github/workflows/, edit 2 values, add 3 GitHub secrets
  5. Start working: work on jira ticket TDP-XX

Full setup guide: Getting Started

Skills Included

Skill Description
/onboarding Post-install setup verification and auto-configuration
/work-on-jira-ticket Full SDLC automation: spec → build → test → PR → review
/spec-writer Generate structured specs with numbered ACs and test mapping
/config-builder Generate Drupal config YAML from plain English
/module-scaffolder Scaffold custom Drupal modules
/test-writer Generate Playwright and PHPUnit tests
/validate Run quality + config round-trip + test validation
/code-quality-fixer Fix linter violations (PHPStan, PHPCS, twigcs)
/pr-creator Create pull requests with full context
/pr-reviewer Review PRs with security checklist and AC coverage
/hotfix Urgent fix bypass workflow (skips spec for speed)

How It Works

Say work on jira ticket TDP-X and Claude runs the full loop:

  1. Reads the ticket from Jira
  2. Generates an implementation spec — you approve before anything is built
  3. Posts the approved spec to the Jira ticket
  4. Transitions ticket to In Progress, creates a feature branch
  5. Builds — config YAML, scaffolds modules, writes code
  6. Validates — PHP lint, GrumPHP, config round-trip, screenshots
  7. Generates and runs Playwright + PHPUnit tests
  8. Creates PR with full context, test results, risk level
  9. Reviews the PR — security checklist, AC coverage, posts on GitHub
  10. Posts PR link back to Jira ticket
  11. You merge → GitHub Action transitions Jira ticket to Done

Requirements

  • Claude Code CLI
  • DDEV (or compatible local development tool)
  • Drupal 10 or 11
  • GitHub repository
  • Node.js 18+ (for Playwright and MCP servers)
  • Jira project (optional but recommended)

Documentation

Full documentation: Drupal SDLC Plugin — Axelerant Handbook

License

MIT

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages