Search by

sulu / sulu-mate-extension

wachterjohannes

Sulu Mate extension for the Sulu CMS

Package info

github.com/sulu/sulu-mate-extension

Type:symfony-ai-mate

pkg:composer/sulu/sulu-mate-extension

Statistics

Installs: 639

Dependents: 0

Suggesters: 1

Stars: 7

Open Issues: 13

0.4.0 2026-11-24 15:28 UTC

README

Official Sulu Bundle Badge

GitHub license GitHub tag (latest SemVer) Test workflow status


The Sulu Mate Extension is a Symfony Mate extension for the Sulu content management system. It gives coding agents Sulu-aware tools that read the real installation: Sulu versions, webspaces and templates. Agents call them through the Mate CLI. No MCP server is needed.

It is a development tool. Install it as a require-dev dependency.

Have a look at the require section in the composer.json to find an up-to-date list of the requirements of the extension. It needs Symfony Mate 0.13 or newer.

🚀  Installation and Documentation

Execute the following composer command to add the extension to the dependencies of your project:

composer require --dev sulu/sulu-mate-extension

Afterwards, initialize Mate and discover the extension:

vendor/bin/mate init
vendor/bin/mate discover

Extension discovery is handled automatically after Composer install and update. Run vendor/bin/mate discover when you want to refresh discovery state and regenerate agent instruction artifacts manually.

🔧  Available Tools

  • sulu-info: installed sulu/* package versions
  • sulu-webspaces: webspaces with localizations, default templates and portals
  • sulu-templates: page and article templates with properties and block types

Agents call a tool with vendor/bin/mate tools:call <tool>. See INSTRUCTIONS.md for when to call which tool.

🧠  Agent Skills

The extension ships Agent Skills in skills. mate discover installs them into .agents/skills/ and .claude/skills/ of your project:

  • sulu-dev: entry point for Sulu work. Tells the agent to call sulu-info, sulu-webspaces and sulu-templates before it generates code.
  • authoring-sulu-templates: workflow to create or change a page or article template: look up, mirror, verify.

Run vendor/bin/mate skills:list to see their state.

💡  Key Concepts

Mate Extension

The extension plugs into Symfony Mate. Mate finds the tools and skills of installed extensions and writes them into the agent instructions of your project. Coding agents then run the tools through the Mate CLI (vendor/bin/mate tools:call) and get Sulu-specific facts instead of guessing them.

Development

composer install
composer test
composer lint
composer fix

Useful Mate commands while developing:

vendor/bin/mate debug:capabilities
vendor/bin/mate debug:extensions
vendor/bin/mate tools:list
vendor/bin/mate tools:call sulu-info

❤️  Support and Contributions

The Sulu content management system is a community-driven open source project backed by various partner companies. We are committed to a fully transparent development process and highly appreciate any contributions.

In case you have questions, we are happy to welcome you in our official Slack channel. If you found a bug or miss a specific feature, feel free to file a new issue with a respective title and description on the sulu/sulu-mate-extension repository.

📘  License

The Sulu content management system is released under the terms of the MIT License.