Build Storyblok components with AI
Build the frontend pieces that display your Storyblok blocks, register them with the project's framework and check them against real preview content.
To build Storyblok components with AI, start with a block that already has a job in the CMS. An events team might have fields for a date, a title and a booking link, while the corresponding frontend still shows an empty space. The agent needs the actual field names and a page where that block appears.
The storyblok-build-frontend skill inspects the project’s framework, SDK registration and styling conventions. It builds the components, connects nested blocks and checks a preview. A component that compiles but never appears on the chosen page still needs an explanation.
What it does
- Render a named content block with the actual text and image fields supplied by the CMS.
- Register child components so a list can render the cards inside it.
- Reuse the existing colour and spacing tokens when styling a new section.
- Check how the component appears with actual preview content at the requested size.
- Distinguish extending an integrated project from adding the SDK to one that lacks it.
Install and use
- Install the Storyblok skills, connect the authorised space and supply the frontend project. The visual check uses Playwright and a browser.
- Ask, “Render our event card on the schedule preview using the same styles as the existing cards.”
- Open the preview and compare the visible fields with the CMS record, including its nested content.
FAQ
Source
Made by Storyblok. Original skill: storyblok-build-frontend, published on GitHub under the MIT licence.
View on GitHub