frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Why is my Claude experience so bad? What am I doing wrong?

31•moomoo11•2d ago
I stopped my CC Max plan a few months ago, but I'm trying it again for fun after seeing their $30 billion series G or whatever.

It just doesn't work. I'm trying to build a simple tool that will let me visualize grid layouts.

It needs to toggle between landscape/portrait, and implement some design strategies so I can see different visualizations of the grid. I asked it to give me a slider to simulate the number of grids.

1st pass, it made something, but it was squished. And toggling between landscape and portrait made it so it squished itself the other way so I couldn't even see anything.

2nd pass, syntax error.

3rd try I ask it to redo everything from scratch. It now has a working slider, but the landscape/portrait is still broken.

4th try, it manages to fix the landscape/portrait issue, but now the issue is that the controls are behind the display so I have to reload the page.

5th try, it manages to fix this issue, but now it is squished again.

6th try, I ask it to try again from scratch. This time it gives me a syntax error.

This is so frustrating.

Comments

verdverm•2d ago
It takes many months to figure this out, much longer than learning a new programming language.

Read through anthropics knowledge share, check out their system prompts extracted on github, write more words in AGENTS/CLAUDE.md, you need to give them some warmup to do better at tasks.

What model are you using? Size matters and Gemini is far better at UI design work. At the same time, pairing gemini-3-flash with claude-code derived prompts makes it nearly as good as Pro

Words matter, the way you phrase something can have disproportionate effect. They are fragile at times, yet surprisingly resilient at others. They will deeply frustrate you and amaze you on a daily basis. The key is to get better at recognizing this earlier and adjusting

You can find many more anecdotes and recommendations by looking through HN stories and social media (Bluesky has a growing Ai crowd, coming over from X, good community bump recently, there are an anti-ai labelers/block lists to keep the flak down)

delaminator•2d ago
You aren't telling us anything about how you're using it. So how can we tell you what you're doing wrong? You're just reporting what happened.

You haven't even said what programming language you're trying to use, or even what platform.

It sounds to me like you didn't do much planning, you just gave it a prompt to build away.

My preferred method of building things, and I've built a lot of things using Claude, is to have a discussion with it in the chatbot. The back and forth of exploring the idea gives you a more solid idea of what you're looking for. Once we've established the idea I get it to write a spec and a plan.

I have this as an instruction in my profile.

> When we're discussing a coding project, don't produce code unless asked to. We discuss projects here, Claude Code does the actual coding. When we're ready, put all the documents in a zip file for easy transfer (downloading files one at a time and uploading them is not fun on a phone). Include a CONTENTS.md describing the contents and where to start.

So I'll give you this one as an example. It's a Qwen driven System monitor.

https://github.com/lawless-m/Marvinous

here are the documents generated in chat before trying to build anything

https://github.com/lawless-m/Marvinous/tree/master/ai-monito...

At this point I can usually say "The instructions are in the zip, read the contents and make a start." and the first pass mostly works.

Leftium•2d ago
It seems to me you expect Claude to be able to one-shot your tool based on a single prompt. Potentially "vibe-coding" as in the sense: you don't know how to develop this yourself (perhaps you are not a software developer?)

While this may be possible, it likely requires a very detailed prompt and/or spec document.

---

Here is an example of something I successfully built with Claude: https://rift-transcription.vercel.app

Apparently I have had over 150 chat sessions related to the research and development of this tool.

- First, we wrote a spec together: https://github.com/Leftium/rift-transcription/blob/main/spec...

- The spec broke down development into major phases. I reviewed detailed plans for each phase before Claude started. I often asked Claude to update these detailed plans before starting. And after implementation, I often had to have Claude fix bugs in the implementation.

- I tried to share the chat session where Claude got the first functional MVP working: https://opncd.ai/share/fXsPn1t1 (unfortunately the shared session is truncated)

---

"AI mistakes you're probably making": https://youtu.be/Jcuig8vhmx4

I think the most relevant point is: AI is best for accelerating development tasks you could do on your own; not new tasks you don't know how to do.

---

Finally: Cloudlflare builds OAuth with Claude and publishes all the prompts: https://hw.leftium.com/#/item/44159166

delaminator•2d ago
I got Claude to make a tool to record all of the prompts in and all of the responses out. but not the actual file changes.

https://github.com/lawless-m/Devolver

it uses hooks to export the session

https://github.com/lawless-m/Devolver/blob/master/HOOKS.md

and then parses the session logs and dumps them out

https://github.com/lawless-m/Devolver/blob/master/JSONL_FORM...

I then have it go to a central location because I use multiple machines and it creates a website so I can see what I've been working on.

    Project | Prompts | Tools | Files | Words In | Words Out | Tokens In | Tokens Out | Cache R/W | Last Activity
    Nawin | 10688 | 74568 | 7724 | 1201.3k | 1379.5k | 592.0k | 83.3k | 3221.4M/199.5M | 2026-01-30 20:31
    Crabbit | 3232 | 14252 | 1348 | 310.4k | 259.1k | 82.7k | 17.6k | 755.0M/51.2M | 2026-01-30 08:22

Reading these figures now, I think it counts its own prompts, you know it talks to itself. There's no way I've typed ten thousand prompts on that project
trcf23•1h ago
Wow thanks for sharing! Could you explain how you made the specs? Did you already know pretty much everything you wanted to cover before hand? Was one CC session enough to go through it?

In my experience, trying to make a plan/specs that really match what I want often ends in a struggle with Claude trying to regress to the mean.

Also it’s so easy to write code that I always have tons of ideas I end up implementing that diverge from the original plan…

aristofun•2d ago
If you expect it to _do_ things for you - you're setting yourself up for failure.

If you treat it as an astonishingly sophisticated and extremely powerful autocomplete (which it is) - you have plenty of opportunities to make your life better.

phtrivier•1h ago
To be fair with OP, the hype about what the tool is "supposed" to be doing ("your accountants will rebuild the ERP over the week end, you don't need programmers, etc...") is setting a dev up for frustration.

Personnaly, I'm trying to learn the "make it write the plan, fix the plan, break it down even more, etc..." loops that are necessary; but I haven't had a use case (yet?) where the total time spent developing the thing was radically shorter.

LLMs make wonders on bootstrapping a greenfield project. Unfortunately, you tend to only do this only once ;)

mrgoldenbrown•1h ago
In other words, if we believe what the CEOs of the AI companies claim, we are setting ourselves up for disappointment.
ecesena•1d ago
Try a prompt that helps claude iterate until it can verify the result.

For example, if you tell it to compile and run tests, you should never be in a situation with syntax errors.

But if you don’t give a prompt that allows to validate the result, then it’s going to get you whatever.

ford•1h ago
I've found it really valuable to pair with people, sit at a computer together while they're driving and using AI. It's really interesting to see how other people prompt & use AI to explore the problem.
wewewedxfgdf•1h ago
Claude is a programming assistant not a programmer.

You still need knowledge of what you are building so you can drive it, guide it, fix things.

This is the core of the question about LLM assisted programming - what happens when non programmers use it?

baq•1h ago
it's a tool, not an oracle. you build with it, you aren't its customer, you're its wielder.

for now, anyway.

exe34•1h ago
could you share an md of your prompts? I find with those tools I still have to break the problem down into verifiable pieces, and only move on to the next step once the previous steps are as expected.

syntax error is nothing, I just paste the error into the tui and it fixes it usually.

esaym•1h ago
Add https://github.com/obra/superpowers

and then try again.

zmj•1h ago
Try this:

* have Claude produce wireframes of the screens you want. Iterate on those and save them as images.

* then develop. Make sure Claude has the ability to run the app, interact with controls, and take screenshots.

* loop autonomously until the app looks like the wireframes.

Feedback loops are required. Only very simple problems get one-shot.

sysguest•1h ago
hmm but wouldn't that rapidly spend my tokens?
d4mi3n•1h ago
Effective use of LLMs in this way is not cheap.
dwaltrip•1h ago
What tools do you use for wireframes / how are you generating them?
kissgyorgy•1h ago
You need to be very specific about what to build and how to build it, what tools to use, what architecture it should do, what libraries, frameworks it should include. You need to be a programmer to be able to do this properly and it still takes a lot of practice to get it right.
semiinfinitely•1h ago
skill issue
Smaug123•1h ago
Can you give some history of what you did? We can't answer "what am I doing wrong?" if you don't tell us… what you did.
ltbarcly3•1h ago
I think at the current state of the art, LLM tools can help you build things very quickly, but they can't help you build something you yourself are incapable of building, at least not in a sustained way. They need hand holding and correction constantly.
locallost•1h ago
I don't think that's true, I've seen examples to the contrary. Here for example a recent article [1] from a non programmer building a tool. The article is long so I pasted the relevant part below. My thoughts go more in the direction, the article author built something that is complicated for non technical people, but in essence simple -- he says it so himself "copy paste". What if what the OP here is building is something novel and Claude doesn't know how to build it?

Relevant excerpt:

I spent a bit of time last month building a site to solve a problem I’ve always found super-annoying about the legislative process. It’s hard to read Federal bills because they don’t map to the underlying code. Anyone who has worked in Congress knows what I mean, you get a bill that says “change this word from ‘may’ to ‘shall’ in section XYZ of Federal law.” To understand what it does, and find possible loopholes they are trying to sneak in, you have to go to that underlying Federal law and look at where it says “may” and then put “shall” in there and read it. It’s basically like a manual version of copy and pasting, except much more complicated and with lawyers trying to trick you.

So I wrote an app that lets you upload legislation, and it automatically shows you how it changes Federal law. There are commercial versions of this software, and some states do it for their proposed legislation. But I haven’t seen anything on the Federal level that is free, so I built it. (The code is here.) It’s not very good. It’ll probably break a lot. There’s no “throat to choke” if you use it and it’s wrong. And my guess is that Anthropic or Gemini ultimately will be able to do this function itself eventually. But the point is that if I can build something like this in my spare time and deploy it without any training at all, then it’s just not that hard for an organization with some capital to get rid of some of its business software tools.

[1] https://www.thebignewsletter.com/p/monopoly-round-up-the-2-t...

simonw•1h ago
Show us your prompts.

Two questions:

1. How are you using Claude? Are you using https://claude.ai and copying and pasting things back and forth, or are you running one of the variants of Claude Code? If so, which one?

2. If you're running Claude Code have you put anything in place to ensure it can test the code it's writing, including accessing screenshots of what's going on?

rwaksmunski•1h ago
AI seems to work a lot better once you acquire some AI equity, you go from not working at all to AI writing all the code. /s
heyts•1h ago
I’m probably going to be downvoted for this but this thread doesn’t really reflect well on the promises of Generative AI and particularly the constantly reiterated assurance that we’re on the verge of a new industrial Revolution.
rybosworld•1h ago
I don't think the OP gave enough information for us to really have any honest conversation about this one way or the other.

That said: I suspect that OP is providing low-detail prompts.

These tools cannot read your mind. If you provide an under-specified prompt, they will fill in all the details for things that are necessary to complete the task, but that you didn't provide. This is how you end up with slop.

somewhereoutth•53m ago
Agreed. Many of the suggestions are pretty much code it yourself, but without actually tapping the individual keys.

Furthermore, and more generally, one of the great things about (traditional) coding is that it allows 'thinking through making' - by building something you learn more about the problem and thus how best to solve it. Code generation just leaves you with reviewing, which is less powerful in this way I believe. See also 'thinking through writing [prose]'.

8note•1h ago
claude-code added the /insights command which might tell you what you are doing wrong, using your history.

from the basics, did you actually tell it that you want those things? its not a mind reader. did you use plan mode? did you ask it to describe what its going to make?

tombot•1h ago
Have you read the best practices? https://code.claude.com/docs/en/best-practices Are you using plan mode?
mh-•27m ago
The whole thing is worth reading, multiple times over, if you want to find success in using the tool. But I'll call attention to this passage especially:

> Include tests, screenshots, or expected outputs so Claude can check itself. This is the single highest-leverage thing you can do.

LeoPanthera•1h ago
Are you using plan mode?
cladopa•1h ago
What you are trying to do is quite easy to do with Claude. I have done way more complex things than that in hours. But having programming, managing(with humans) and engineering experience is extremely useful.

It seems you try to tell the tool to do everything in one shot. That is a very wrong approach, not just with Claude but with everything(you ask a woman for a date and if you do not get laid in five minutes you failed?). When I program something manually and compiles, I expect it to be wrong. You have to iron it and debug it.

Instead of that:

1.Divide the work in independent units. I call this "steps"

2.Subdivide steps into "subsets" You work in an isolated manner on those subsets.

3.Use an inmediate gui interface like dear imgui to prototype your tool. Translating then into using something else once it works is quite easy of LLMs.

4.Visualize everything. You do not need to see the code but you need to visualise every single thing you ask it to do.

5.Tell Claude what you want and why you want it and update the documentation constantly.

6. Use git in order to make rock solid steps that Claude will not touch when it works and you can revert changes or ask the ia to explore a branch, explaining how you did something and want something similar.

7. Do not modify code that already works rock solid. Copy it into another step leaving the step as reference and modify it there.

5.Use logs. Lots of logs. For every step you create text logs and you debug the problems giving Claude the logs to read them.

6.Use screenshots. Claude can read screenshots. If you visualise everything, clause can see the errors too.

7.Use asserts, lots of asserts, just like with manual programming.

It is not that different from managing a real team of people...

amelius•1h ago
But that is ... a lot of work.
kuschku•11m ago
That's significantly more work (and effort) than just doing it yourself, though? Even for larger, complicated projects.
kpil•1h ago
The truth is that there is a lot of hype.

You need to be reasonably experienced and guide it.

First, you need to know that Claude will create nonsensical code. On a macro level it's not exactly smart it just has a lot of contextual static knowledge.

Debugging is not it's strongest skill. Most models don't do good at all. Opus is able to one-shot "troubleshooting" prompts occasionally, but it's a high probability that it veer of on a tangent if you just tell it to "fix things" based on errors or descriptions. You need to have an idea what you want fixed.

Another problem is that it can create very convincing looking - but stupid - code. If you can't guide it, that's almost guaranteed. It can create code that's totally backwards and overly complicated.

If it IS going on a wrong tangent, it's often hopeless to get it back on track. The conversation and context might be polluted. Restart and reframe the prompt and the problems at hand and try again.

I'm not totally sure about the language you are using, but syntax errors typically happens if it "forgets" to update some of the code, and very seldom just in a single file or edit.

I like to create a design.md and think a bit on my own, or maybe prompt to create it with a high level problem to get going, and make sure it's in the context (and mentioned in the prompts)

jgilias•1h ago
What you’re doing is the so called “slot machine AI”, where you put some tokens in, pray, and hope to get what you want out. It doesn’t work that way (not well, at least)

The LLM under the hood is essentially a very fancy autocomplete. This always needs to be kept in mind when working with these tools. So you have to focus a lot on what the source text is that’s going to be used to produce the completion. The better the source text, the better the completion. In other words, you need to make sure you progressively fill the context window with stuff that matters for the task that you’re doing.

In particular, first explore the problem space with the tool (iterate), then use the exploration results to plan what needs doing (iterate), when the plan looks good and makes sense, only then you ask to actually implement.

Claude’s built in planning mode kind of does this, but in my opinion it sucks. It doesn’t make iterating on the exploration and the plan easy or natural. So I suggest just setting up some custom prompts (skills) for this with instructions that make sense for the particular domain/use case, and use those in the normal mode.

amelius•1h ago
With this kind of workflow you run out of tokens quickly, in my experience.
jgilias•1h ago
I mainly use it in a work context where it’s not my money I burn. I do have a private subscription that I’m going to use for a project. Do you have any tips how to try and do kind of what I describe, but in a more cost sensitive way?
52-6F-62•1h ago
Ah.

There used to be more or less one answer to the question of "how do I implement this UI feature in this language"

Now there are countless. Welcome to the brave new world of non-deterministic programming where the inputs can produce anything and nothing is for certain.

Everyone promises it can do something different if you "just use it this way".

13415•1h ago
That matches my Claude experience.
ckdot•1h ago
1. Make sure you are using Opus model. Type /model and make sure Opus is selected. While many say sonnet is good, too, I’m not too convinced. Opus is the first model that actually convinced me to use AI as my daily driver - and I’m a developer for about 20 years. 2. Make the tasks as small and specific as possible. Don’t prompt „create a todo app with user login“ but „create a vue app where users can register, don’t do more than that“, then „build a user login“ then, „create a page to create todo items“, then „create a page to list todo items“, then „on list page, add delete functionality“ - and so on, you get the idea. 3. beware the context size. Claude code will warn you if you exceed it, but even before: the higher the context window, the higher AI will miss things. If you start a new prompt that doesn’t require the whole context of the previous one, type /clear. 4. build an agents.md or Claude.md. /init will do that for you, but it will just create a Claude.md with information that it might think are important - but easily miss things. You know best. It often also includes file and directory structure, while it could easily find out again (tree command) without that info in agents/claude file. Still I recommend: let Claude create that file, then adjust it to your needs. Only add important stuff here. The more you add, the more you spam the context. Again, try to keep context small. 5. if Claude needs a long time for finishing a task or did it wrong at first attempt, tell it to update the Claude.md with information to not do the same mistakes the next time again. 6. make sure you understand the code it created. Add conventions to agents.md that will make the code more readable (use early returns, don‘t exceed nesting level of 3, create new methods with meaningful names instead of inline comments etc.)

Good luck!

kingkawn•1h ago
I’ve found a problem with LLMs in general is that it is trying to mirror the user. If the user is a world class software dev you will get some good stuff out of it. If the user is not experienced at programming you will get something that resembles that out of it.
oatmealsnap•1h ago
There are skills available that might help you out. The “superpowers” set from Anthropic is really impressive.

The idea is, you want to build up the right context before starting development. I will either describe exactly what I want to build, or I ask the agent for guidance on different approaches. Sometimes I’ll even do this in a separate Claude (not Claude Code) conversation, which I feel works a bit faster. Once we have an approach, I will ask it to create an implementation plan in a markdown file, I clear context and then tell it to implement the plan.

Check out the “brainstorming” skill and the “git worktrees” skill. They will usually trigger the planning -> implementation workflow when the work is complex enough.

Multiplayer•56m ago
Superpowers is from Obra (Jesse Vincent), quintessential hacker and was a leader in the Perl community back in the day (still?).

https://github.com/obra/superpowers

tsss•54m ago
The fact that you got a syntax error at all is pretty telling. Are you not using agent mode? Or maybe that's just the experience with inferior non-statically typed languages where such errors only appear when the application is run. In any case, the key is to have a feedback mechanism. Claude should read the syntax errors, adjust and iterate until the error is fixed. Similarly, you should ask Claude to write a test for your landscape/portrait mode bug and have it make changes until the test passes.
chasd00•52m ago
Get the superpowers plugin and then ask Claude to design and document the system. It will go into brainstorming mode and ask you a lot of questions. The end result will be a markdown file. Then get another agent (maybe ChatGPT) to critique and improve the design (upload the markdown file in the web version). Then give it back to Claude and have it critique and improve. Last step, make Claude analyze the design and then document a step by step implementation guide. After that turn Claude code loose on implementation. Those techniques have been working for me when doing a project from scratch.
tennisflyi•47m ago
Sounds right. Any one shot anything is cap
tecoholic•15m ago
Typical flow for a greenfield project for me is:

First prompt, ask it to come with a plan, break it down to steps and save it to a file.

Edit file as needed.

Launch CC again, use the plan file to implement stage by stage, verify and correct. No technical debugging needed. Just saying X is supposed to be like this, but it’s actually like that goes a long way.

Magnus Carlsen Wins the Freestyle (Chess960) World Championship

https://www.fide.com/magnus-carlsen-wins-2026-fide-freestyle-world-championship/
37•prophylaxis•1h ago•6 comments

LT6502: A 6502-based homebrew laptop

https://github.com/TechPaula/LT6502
274•classichasclass•6h ago•103 comments

I’m joining OpenAI

https://steipete.me/posts/2026/openclaw
280•mfiguiere•1h ago•196 comments

GNU Pies – Program Invocation and Execution Supervisor

https://www.gnu.org.ua/software/pies/
42•smartmic•2h ago•33 comments

Audio is the one area small labs are winning

https://www.amplifypartners.com/blog-posts/arming-the-rebels-with-gpus-gradium-kyutai-and-audio-ai
49•rocauc•2d ago•6 comments

Radio host David Greene says Google's NotebookLM tool stole his voice

https://www.washingtonpost.com/technology/2026/02/15/david-greene-google-ai-podcast/
50•mikhael•5h ago•38 comments

Modern CSS Code Snippets: Stop writing CSS like it's 2015

https://modern-css.com
149•eustoria•5h ago•52 comments

I fixed Windows native development

https://marler8997.github.io/blog/fixed-windows/
624•deevus•12h ago•304 comments

EU bans the destruction of unsold apparel, clothing, accessories and footwear

https://environment.ec.europa.eu/news/new-eu-rules-stop-destruction-unsold-clothes-and-shoes-2026...
699•giuliomagnifico•6h ago•461 comments

Pocketblue – Fedora Atomic for mobile devices

https://github.com/pocketblue/pocketblue
32•nikodunk•6h ago•4 comments

I Gave Claude Access to My Pen Plotter

https://harmonique.one/posts/i-gave-claude-access-to-my-pen-plotter
36•futurecat•2d ago•13 comments

Show HN: VOOG – Moog-style polyphonic synthesizer in Python with tkinter GUI

https://github.com/gpasquero/voog
51•gpasquero•3h ago•4 comments

Show HN: Microgpt is a GPT you can visualize in the browser

https://microgpt.boratto.ca
70•b44•4h ago•5 comments

Towards Autonomous Mathematics Research

https://arxiv.org/abs/2602.10177
70•gmays•4h ago•32 comments

Error payloads in Zig

https://srcreigh.ca/posts/error-payloads-in-zig/
3•srcreigh•21m ago•0 comments

Real-time PathTracing with global illumination in WebGL

https://erichlof.github.io/THREE.js-PathTracing-Renderer/
107•tobr•3d ago•10 comments

Gwtar: A static efficient single-file HTML format

https://gwern.net/gwtar
157•theblazehen•7h ago•58 comments

Show HN: Klaw.sh – Kubernetes for AI agents

https://github.com/klawsh/klaw.sh
9•eftalyurtseven•6h ago•0 comments

Continuous batching from first principles (2025)

https://huggingface.co/blog/continuous_batching
7•jxmorris12•42m ago•1 comments

Show HN: Pangolin: Open-source identity-based VPN (Twingate/Zscaler alternative)

https://github.com/fosrl/pangolin
16•miloschwartz•12h ago•6 comments

Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door

https://knock-knock.net
76•djkurlander•6h ago•25 comments

Two different tricks for fast LLM inference

https://www.seangoedecke.com/fast-llm-inference/
154•swah•14h ago•63 comments

Show HN: Deadlog – almost drop-in mutex for debugging Go deadlocks

https://github.com/stevenctl/deadlog
22•dirteater_•5d ago•1 comments

Show HN: DSCI – Dead Simple CI

https://github.com/melezhik/DSCI
13•melezhik•6h ago•4 comments

Hideki Sato, designer of all Sega's consoles, has died

https://www.videogameschronicle.com/news/hideki-sato-designer-of-segas-consoles-dies-age-75/
298•magoghm•7h ago•30 comments

Oat – Ultra-lightweight, zero dependency, semantic HTML, CSS, JS UI library

https://oat.ink/
439•twapi•15h ago•118 comments

Editor's Note: Retraction of article containing fabricated quotations

https://arstechnica.com/staff/2026/02/editors-note-retraction-of-article-containing-fabricated-qu...
109•bikenaga•5h ago•90 comments

Amazon's Ring and Google's Nest reveal the severity of U.S. surveillance state

https://greenwald.substack.com/p/amazons-ring-and-googles-nest-unwittingly
639•mikece•10h ago•456 comments

Sony Jumbotron Image Control System (1998) [pdf]

https://pro.sony/s3/cms-static-content/operation-manual/3864848111.pdf
24•xattt•3d ago•11 comments

How Is Data Stored?

https://www.makingsoftware.com/chapters/how-is-data-stored
143•tzury•5d ago•14 comments