frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do people use coding agents?

2•0-bad-sectors•1h ago
I feel like I am doing something wrong with all the success stories I am reading. I followed the different workflows I have seen here like creating a detailed plans and writing extensive prompts and guardrails. Tried using instructions and skills yet I never get a satisfactory results at least in existing code bases.

The other day I needed to implement a feature that already had very detailed instructions and planning yet the agent gave me very low quality code riddled with naive mistakes. As I knew what should be done I discarded all the changes proposed by the agent and wrote the entire thing with the help of autocomplete in VSCode which was incredible as long as write a meaningful function names and comments it and managed to finish the entire feature in one day thanks to that and I believe that was much cheaper than all my failed attempts at agentic coding.

How do you guys yield good results from Claude Code and the likes of it?

Comments

saltyoldman•1h ago
It is really good at refactors. Saying things like "deprecate the following configuration keys" and replace them with the concept of ... Even in a codebase with over 1000 files, it just works.
phoughton•1h ago
I find describing the problem often works well, as opposed specifying a solution / change. And if it has a means to validate it's results then its significantly better as well.

So maybe describe the problem and work first on a means to detect errors, second - then let it rip.

vibe42•53m ago
This. And when possible, first asking the AI to add more granular logging around the code where the problem is - then re-run the code and feed the new log in a new context.

I've used this to debug some moderately complex bugs in golang and godot code and it works really well - the combo of having a new context with the (sometimes overly) granular debug logging and only the required, specific source code.

vibe42•56m ago
Keep it simple and run a fresh, new context for each prompt.

I use the pi-mono coding agent with several different new open models running locally.

The simpler and more precise the prompt the better it works. Some examples:

"Review all golang code files in this folder. Look for refactor opportunities that make the code simpler, shorter, easier to understand and easier to maintain, while not changing the logic, correctness or functionality of the code. Do not modify any code; only describe potential refactor changes."

After it lists a bunch of potential changes, it's then enough to write "Implement finding 4. XYZ" and sometimes add "Do not make any other changes" to keep the resulting agent actions focused.

jomon003•37m ago
I let it make a detailed to do list of issues it has or questions it has and discuss it one by one. And fix and push to git. Works very reliably.

Olive CSS: Lisp powered vanilla CSS utility-Class A la Tailwind

https://codeberg.org/jjba23/olive-css
1•jjba23•31s ago•0 comments

Sacrifice your job for the glorious AI future

https://disconnect.blog/sacrifice-your-job-for-the-glorious-ai-future/
1•cdrnsf•35s ago•0 comments

Creativity Harness: Adobe will be fine

https://avkcode.github.io/blog/creative-widgets-should-produce-files.html
1•KyleVlaros•5m ago•0 comments

Microplastics in testicles may play a role in male infertility, study suggests

https://weillcornell.org/news/microplastics-in-testicles-may-play-a-role-in-male-infertility-stud...
1•vinni2•5m ago•0 comments

Show HN: OpenDeck – DIY MIDI Platform Based on Zephyr RTOS

https://github.com/shanteacontrols/OpenDeck
2•somemisopaste•6m ago•0 comments

Intel Ends Open Ecosystem Community/Evangelism

https://www.phoronix.com/news/Intel-Ends-OSS-Evangelism-Repos
1•doener•6m ago•0 comments

Insights into firewood use by early Middle Pleistocene hominins

https://www.sciencedirect.com/science/article/pii/S0277379126001824
1•wslh•8m ago•0 comments

Show HN: FourthSpace – Bridging Social Media with Your Social Life

https://www.fourthspace.vip
1•adra_1010•10m ago•0 comments

Tesla earnings updates: The stock is up after revenue and EPS beat Wall Street's

https://www.businessinsider.com/tesla-q1-earnings-updates-tsla-stock-robotaxis-elon-musk-2026-4
1•paulpauper•11m ago•0 comments

US saw record high of 5,668 books banned in libraries in 2025, says agency

https://www.theguardian.com/us-news/2026/apr/22/us-libraries-banned-books
5•vinni2•13m ago•0 comments

Bad habits are destroying your charging cables

https://www.bbc.com/future/article/20260421-your-bad-habits-are-destroying-your-charging-cables
3•devonnull•14m ago•0 comments

OpenDHT – Distributed Hash Table Implementation

https://github.com/savoirfairelinux/opendht
1•smartmic•14m ago•0 comments

Elon Musk backs 'universal high income' to combat AI job losses

https://www.foxbusiness.com/fox-news-tech/elon-musk-backs-universal-high-income-combat-ai-job-losses
5•paulpauper•16m ago•1 comments

Progress Conference 2026

https://newsletter.rootsofprogress.org/p/announcing-progress-conference-2026
1•paulpauper•16m ago•0 comments

How I Use Unspent Tokens

https://artisincode.com/essays/how-i-use-unspent-tokens/
1•parentheses•16m ago•1 comments

Vercel breach maps almost to the framework I published in February

https://papers.ssrn.com/abstract=6055034
1•Tejas_dmg•16m ago•0 comments

Show HN: Cosmo – Desktop agent with generated UI

https://www.buildcosmo.com
1•row0•17m ago•0 comments

Show HN: I built a map of the GeminiNet

https://rbtms.github.io/gemini_map/
2•rbtms•19m ago•0 comments

Symbiont – Typestate-enforced policy gates for AI agents (Rust)

https://github.com/thirdkeyai/symbiont
1•smugglereal•20m ago•0 comments

Apple fixes bug that cops used to extract deleted chat messages from iPhones

https://techcrunch.com/2026/04/22/apple-fixes-bug-that-cops-used-to-extract-deleted-chat-messages...
5•cdrnsf•23m ago•0 comments

OpenAI now lets teams make custom bots that can do work on their own

https://www.theverge.com/ai-artificial-intelligence/917065/openai-chatgpt-workspace-agents-custom...
3•omer_k•23m ago•0 comments

Public sector Matrix deployments in Europe

https://element.io/matrix-in-europe
2•Arathorn•25m ago•0 comments

The Story of Mel

http://www.catb.org/jargon/html/story-of-mel.html
3•softwaredoug•25m ago•0 comments

Show HN: Contral AI IDE Vibe-Learn to Code

https://contral.ai
2•vednig•26m ago•0 comments

Show HN: FoodPips – I reverse-engineered a weight loss system and made it free

https://foodpips.com
3•sjdegraeve•26m ago•1 comments

The Illuminated Man: an unconventional portrait of JG Ballard

https://www.theguardian.com/books/2026/apr/20/the-illuminated-man-by-christopher-priest-and-nina-...
7•agronaut•26m ago•0 comments

When Your Trace Is Lying to You: A Performance Case Study

https://muness.com/posts/when-your-trace-is-lying-to-you/
4•speckx•28m ago•0 comments

Choreodle on iOS

https://testflight.apple.com/join/gD2y2uzz
2•mohanjith•29m ago•0 comments

We mapped unauthenticated Vector DBs exposing corporate AI data

2•echelongraph•29m ago•2 comments

From Fear Factor to Federal Policy: How Psychedelics Are the Future?

https://yakreignited.substack.com/p/from-fear-factor-to-federal-policy
2•__yak•31m ago•0 comments