Add agent skill and drush generator for Automator Type plugins
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3582572. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !1424 >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Short Description: </strong>Add agent skill and drush generator for Automator Type plugins<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Automator Type plugins are the most commonly extended plugin type in the AI Automators submodule, with over 50 existing implementations covering different field types. Creating a new automator type requires understanding the <code>AiAutomatorTypeInterface</code>, the base class hierarchy (e.g. <code>RuleBase</code>), structured output schemas, value verification, and how the automator integrates with the field widget system.</p> <p>An agent skill and Drush generator would significantly lower the barrier for developers creating automator types for custom field types.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ul> <li>Create <code>.agent/skills/create-automator-type/SKILL.md</code> describing how to create an Automator Type plugin, including the <code>@AiAutomatorType</code> attribute, the base class to extend, schema generation, value verification, and form configuration.</li> <li>Include a complete working example of a simple automator type in the skill file.</li> <li>Add a Drush generate command (<code>drush generate ai-automator-type</code>) that scaffolds the plugin class with the correct attribute, namespace, and stub methods.</li> <li>Reference the existing automator type documentation and examples under <code>docs/modules/ai_automators/</code>.</li> </ul> <h3 id="summary-ai-usage">AI usage (if applicable)</h3> <p>[x] AI Assisted Issue<br> This issue was generated with AI assistance, but was reviewed and refined by the creator.</p> <p>[ ] AI Assisted Code<br> [ ] AI Generated Code<br> [ ] Vibe Coded</p> <p>- <strong>This issue was created with the help of AI</strong></p>
issue