Build a Directus extension with AI
Choose an extension type for a real editorial task. Scaffold it with the official tooling, connect it to a development instance and test the intended user role.
Build a Directus extension with AI when an editor needs more than a generic field. A small display that combines two product fields may belong entirely in the interface. A rule that must run when records change has a different job and belongs on the server.
The directus-extensions skill starts with the installed CMS version, the task and any existing extension bundle. It helps choose an extension type and the corresponding development workflow. The team can test one narrow improvement before deciding how it should be packaged.
What it does
- Match an editorial requirement to an extension type
- Check whether an existing bundle already covers part of the job
- Scaffold a new extension with the official tool
- Keep browser-visible configuration separate from server credentials
- Verify behaviour in a development instance using an appropriate role
Install and use
- Install the skill in a coding agent with Node, the official Directus extension tooling and authorised access to a development instance. Use the project's actual server version and deployment method.
- Ask, “Give product editors a preview made from two fields. Choose the simplest suitable extension type and show how to test it with an incomplete record.”
- Build and link the result in the development environment. Check permissions and the editor's workflow before preparing any wider distribution.
FAQ
Source
Made by Directus. Original skill: directus-extensions, published on GitHub under the MIT licence.
View on GitHub