On pcom updates

dimapetrov·

I've had an incredible amount of fun with pcom this week. If you look at the commits, it's all Claude Code and, well, it really is. On the other hand, I was actively steering the technical direction. The codebase still reflects my thinking on the way a web app should be done in Go, and Claude was exceptionally good at following the guidelines. Besides the fixes, I've added the following:

  • Public website
  • About section on the blog page
  • Public feed on the index page for unauthenticated users
  • Full redesign
  • Comment editing
  • Feed pagination
  • Code-based signup and login

At the beginning, I thought about doing only refactoring, but after the initial modernization it became clear that I could try out new feature development too.

One observation is that modern models are so powerful now that they can deliver almost anything you wish, and the most complex part is wishing for the right thing.

As an example, I've defined a guideline that the website should always have an up-to-date description of all pcom features. Claude generated a pipeline that takes screenshots of all the pages based on the seeded data (which I requested in earlier changes), which resulted in a relatively good-looking website with all the info and screenshots. What's cool is that this simple rule now makes the agent finish any other session with a website update, without any nudging or complex system of hooks/pipelines.

Another conclusion: the agent will most probably generate some garbage in places where you're not paying attention.

For the redesign, I've set a requirement that the website should be as fast as or faster than before, which led to the removal of Bootstrap styling and icon fonts. It's quite remarkable that Claude was able to do all the style and template changes in one shot, and most of the steering was business-logic related.

On the other hand, I had to push for quite a lot of guardrails and policies to reduce the number of undesirable decisions, and that's probably the biggest difference between a purely vibe-coded app and something designed to last.

That made me think that the next web framework will most probably be a collection of Markdown files that would steer the agents in a certain way, as opposed to some big system.

The Tailwind story was quite loud some time ago, but in general, Bootstrap, Rails, Django or any other framework has lost most of its value by now. First, it's possible to generate something similar (not the same, but simpler and tailored to a specific use case). Second, the lock-in is gone too, since, given a good test suite, it's possible to swap the components in no time. Based on that, types matter even more, and all of that rhymes with the DHH talk as you can see.

I suppose it's also bad news for frameworks like Next.js, because it's now pretty doable to get a good stack in any other language if you know what you're doing. pcom feels and works fine, and does so without the complexity of an SSR pipeline and React complications.