Add configuration management, admin interfaces, code quality tools, and documentation to Drupal custom modules. Use when moving from prototype to production-ready module.
This skill helps you add production-ready features to Drupal custom modules, following established patterns from the wallet_auth module integration phase.
Use this skill when you need to:
Trigger phrases:
File: config/schema/MODULE_NAME.schema.yml
MODULE_NAME.settings:
type: config_object
label: 'Module Name Settings'
mapping:
# String setting
network:
type: string
label: 'Blockchain network'
nullable: true
# Boolean setting
enable_auto_connect:
type: boolean
label: 'Enable auto-connect'
# Integer setting
nonce_lifetime:
type: integer
label: 'Nonce lifetime (seconds)'
# Mapping/nested setting
api_credentials:
type: mapping
label: 'API Credentials'
mapping:
endpoint:
type: uri
label: 'API Endpoint'
key:
type: string
label: 'API Key'
File: config/install/MODULE_NAME.settings.yml
# Default configuration values