17.05.2025 10:02
10

Vibe-coding a Series of Articles in BoltCMS

Let's take Cursor, Sonnet 3.7 Thinking, and ask it to do what we need:

I need to somehow make it possible to create post series, so that at the beginning of a post, if it belongs to a series, a list of articles in the series is shown

So, my requirements are clear: I have a series of posts called "Project Caretaker" to which I wanted to add cross-linking between parts within the articles. I could have made a separate category, or created a separate 'taxonomies' (tags) type and hacked the templates, but let's see which path the AI chose:

001-changelist

As we can see, it decided to do it properly — created separate entities in the database, wrote a separate menu item for the admin panel, all the accompanying controllers, templates, and all that. Let's take a look at the admin panel.

002-series-menu

Next, there was a series of errors due to migrations / missing templates, which I fed to Cursor as well, but in the end, everything was fixed within an hour. The final result is as follows:

003-series-admin-list

004-create-series

004-edit-series-1

004-edit-series-2

The total number of added lines is 1863 (mostly copied from the core admin templates for customization).

006-changelist

And in the article, it looks like this:

005-article

Tags: AI Cursor Bolt
More exclusive content and real-time updates in my Telegram channel

No comments yet

Latest articles