- Add issues on Drupal.org for each project
- Create git branches for each issue
- Create a PR for each issue
- Use the contribution suggestions. See https://new.drupal.org/user/USER-ID/contribution-records
- Merge the PR (if tests pass)
- Close the issue
- https://github.com/ddev/ddev-drupal-contrib
- https://www.drupal.org/project/coder
- https://www.npmjs.com/package/eslint-plugin-drupal-contrib
- https://git.drupalcode.org/project/dtt
- https://drupal-mrn.dev (this is using the Drupal.org issues system only to log commits, contributors etc.)
- https://www.drupal.org/project/add
- Use agent skill:
drupal-contrib-validator-cskill
See also for patterns: https://www.conventionalcommits.org/en/v1.0.0/
./pre-commit-check.shThis project includes bash scripts for running PHP CodeSniffer (phpcs) and PHP CodeSniffer Beautifier (phpcbf) with Drupal coding standards.
run-phpcs.sh- Interactive menu for PHP CodeSniffer checksrun-phpcbf.sh- Interactive menu for PHP CodeSniffer auto-fixing
quick-phpcs.sh- Quick commands for PHP CodeSniffer checksquick-phpcbf.sh- Quick commands for PHP CodeSniffer auto-fixing
# Check coding standards for all custom modules
./quick-phpcs.sh all
# Fix coding standard issues for all custom modules
./quick-phpcbf.sh all
# Check or fix specific module (will prompt for module name)
./quick-phpcs.sh my_module
./quick-phpcbf.sh my_module
# Check with detailed output
./quick-phpcs.sh detailed
# Fix with verbose output
./quick-phpcbf.sh verbose
# List available coding standards
./quick-phpcs.sh standards
./quick-phpcbf.sh standards
# Show all available commands
./quick-phpcs.sh help
./quick-phpcbf.sh help# Interactive menu for code checking
./run-phpcs.sh
# Interactive menu for code fixing
./run-phpcbf.shddev phpstanddev phpunitnpm install cspell
npm run spellcheck web/modules/custom/