Problem/Motivation

While AI-assisted coding is becoming increasingly common, the Drupal developer experience in this area is still fragmented. Other frameworks, like Laravel, are already offering structured, version-specific AI starter kits (e.g. Laravel Boost) that help developers integrate AI into their workflows effectively.

In Drupal, there are some existing efforts such as:

These solutions are often custom, tool-specific, lack centralized guidance, and don’t easily connect AI tools to “living” Drupal coding standards, API documentation, and version-specific best practices. This makes it harder for developers to ensure that AI-generated code is high quality, adheres to current standards, and is compatible with the targeted Drupal version.

Proposed resolution

Create a tool-agnostic AI developer starter kit for Drupal, inspired by Laravel Boost, that provides a central integration point for AI coding assistants and is easy to setup.

1. Use Symfony Console (which is installed with Drupal already)
2. Make sure it can install for Claude, Cursor and Junie (we can add others later)
3. Base it on a single file, which should make it easier to maintain in the future, even if Cursor (and others) allow for multiple files.
4. Make sure it writes the file, but users can always change it to their needs, keeping the human in the loop

Comments

ronaldtebrake created an issue. See original summary.

ronaldtebrake’s picture

Issue summary: View changes
ronaldtebrake’s picture

Version: » 1.0.x-dev
Status: Active » Fixed

It's done.

composer surge-standards should give you an interactive way of writing the standards to the right place. Currently we support Junie, Cursor and Claude.

We will have to determine what standards we want to release with here: #3544037: Create default Drupal coding standards and guidelines

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.