drupal/claude_code

Quick bootstrap and best practice for Claude Code within a Drupal project.

1.0.x-dev 2025-03-31 11:47 UTC

This package is auto-updated.

Last update: 2025-03-31 15:07:39 UTC


README

A package for integrating Claude Code AI assistant with Drupal projects. This package provides guidance and best practices for using Claude Code in Drupal development.

Overview

Claude Code is Anthropic's AI assistant that helps with software engineering tasks. This package enables seamless integration with Drupal by providing:

  1. Drupal-specific guidance in CLAUDE.md.
  2. Coming soon Slash Commands to package bigger chunks of common functionality.

Installation

Requirements

  • Drupal 10+
  • Drupal Scaffold (included in drupal/recommend-project and drupal/cms)
  • Composer

Installation

composer config extra.drupal-scaffold.allowed-packages --json --merge '["drupal/claude_code"]'
composer require --dev drupal/claude_code

Customization

You can customize the CLAUDE.md file for your specific project needs. To override the default file:

  1. Create a CLAUDE.local.md file in your project root
  2. Add project-specific information and guidance