logoalt Hacker News

defactortoday at 2:05 PM6 repliesview on HN

I have to tell claude specifically to use plain html css js, else it goes on building react


Replies

billyp-rvatoday at 2:13 PM

There was a time around 2016 where you weren't allowed to write a React application without also writing a "Getting Started with React" blog post. Having trained on all of that, the AI probably thinks React is web development.

show 1 reply
paxystoday at 2:13 PM

Tell claude to build a functional website using plain html and css and no frameworks and it'll do it in a second. Now try that with a junior dev.

show 1 reply
rsolvatoday at 6:04 PM

Just write up your requirements in and AGENT.md, to avoid repeating yourself. It has worked really well for me on a PHP+Apache project.

alainrktoday at 2:10 PM

Indeed, this has been one of the first things I've noticed

quaintdevtoday at 2:18 PM

Few months ago I did exactly this. But over time I threw away all the generated js,css and html. It was unmaintenable mess. I finally chose Svelte and stuck with it. Now I have a codebase which makes sense to me.

I did asked AI to generate landing page. This gave me the initial headers, footers and styles that I used for my webapp but I threw away everything else.