Vibe coding a Constellation DX Component

HelloWorldReduced

Inspired by a @RichardMarsot LinkedIn post, I asked Gemini to make a Constellation DX Component that played Conway’s game of life.

I intentionally took a very simplistic approach: no Copilot in VSCode, Claude Code, OpenCode, etc. I wanted to see just how much a frontier LLM could accomplish without a sophisticated harness. What you see in the video above is the answer: it only took about half an hour of human effort to put this together.

I published the code and a writeup to GitHub, you can get the full story there.

Note that this is by no means a complete component! I look at it as an experiment: “can such a simplistic approach yield something useful?” The answer is a resounding “yes,” which raises my baseline confidence in the viability of vibe-coded components.

Nevertheless, I strongly encourage studying Richard’s post if you want to produce a more complete component.

4 Likes

Thanks for sharing. This confirms my recent experimentations with LLMs building DX Components. They are doing great, especially if you give them context of DX API, Constellation JS and DX Component builder.

This is very different to what I experienced only half year ago where I was not so successful with building DX Components with LLMs. Rapid progress.

2 Likes

This is great! I see a lot of people experimenting with this, for those that have experience to share please knowledge-share your experiences :slight_smile:

@Kamil_Janeczek , @Sreedhar_Ganduri and @barnp have been discussing the best way to host an AI and UX Expert Circle joint topic on this!

1 Like

Moved it to the Knowledge Share subcategory @MarcCheong, thanks for the tip. As for hosting a joint topic, it seems like categories are the preferred mechanism in Discourse.

@Kamil_Janeczek that’s been my experience as well. In particular, the recent-ish expansion of context windows appears to have introduced a step-change improvement in the LLM’s ability to consume complex reference material. The last time I looked into this was about a year ago, and it required much more hand holding: I could not even very approximately “one shot” it and I found myself going down the path of first “vibing” a generic React Component with the intention of having an LLM translate it into a Constellation DX Component… but it was requiring entirely too much effort and I was clearly in “this would be faster to write by hand” territory. The improvement since then is meaningful.

2 Likes

This video is not playing. I tried it in multiple browsers.

1 Like

The video is not playing

1 Like

Unsure why the video isn’t playing (I can not fix) but you can see it in the underlying post: GitHub - BessmanPega/gameoflife: A vibe-coded Constellation DX Component that plays Conway's game of life. · GitHub

Image below is not a video

lots of discussion on this topic.

Readers might be interested in https://forums.pega.com/t/vibe-coding-a-constellation-dx-component/11349/7

I’m not sure why the embedded video stopped working (it played correctly upon publication), but I switched it over to an animated GIF and that seems to resolve the matter.