sulu / sulu-mate-extension
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
Requires
- php: >=8.2
- ext-simplexml: *
- sulu/sulu: ^2.6 || ^3.0
- symfony/ai-mate: ^0.13 || ^0.14 || ^0.15 || ^1.0.0-BETA1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.57
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^10.0
- rector/rector: ^2.7
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-24 15:30:20 UTC
README
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: installedsulu/*package versionssulu-webspaces: webspaces with localizations, default templates and portalssulu-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 callsulu-info,sulu-webspacesandsulu-templatesbefore 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.