Add Agents.md and skills to create plugin
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3575380. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !25 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>We need to make it easy for developers to create their own document loaders - I will use this as a guinea pig for this before we do the same in the AI module and AI Agents module :D </p> <p>The problem historically is that to create something like Google Docs to Text in Drupal, it would take ages and make for a complex to maintain module. If you have the right skills, it should be possible to setup without writing much code if an existing documented and maintained <a href="https://docs.cloud.google.com/php/docs">library</a>.</p> <p>What we need to be able to do this well is:<br> 1. Cli tools for verifying documents: <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/document_loader/-/work_items/3575375" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/document_loader/-/work_items/3575375</a></span><br> 2. Skills for writing Drupal unit and kernel tests first.<br> 3. Skills for writing the Document Loader plugin.<br> 4. Possibly a Drush command to create a new module using a boilerplate and skill copy creation.</p> <p>This means that as a developer you would:<br> 1. Run the drush command and specify the name of the module and the data name.<br> 2. Secondly if the AI module is installed specify the url of any api that should be used, so that an Agents.md can also be created.<br> 3. Start claude, antigravity or what you want inside the module directory.</p> <p>Assumptions:<br> You run ddev</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ol> <li>Load up Claude or OpenCode</li> <li>Have tools available to rapidly make document loader plugins</li> </ol> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <ol> <li>Open up Claude in the document_loader module root</li> <li>Write `/skills`</li> <li>Expect to see some document loader related skills appear</li> <li>Write in "Make me a new Document Loader plugin"</li> <li>Expect it to engage the skill to walk through the steps to make one</li> </ol>
issue