{"generated_at":"2026-11-12T18:49:18.356Z","source":{"name":"Hacker News public API","url":"https://github.com/HackerNews/API","attribution":"Stories and comments are public Hacker News submissions by their respective authors. HackerHub is an independent reader, not affiliated with Y Combinator.","content_is_untrusted":true},"story_id":50444380,"hn_url":"https://news.ycombinator.com/item?id=50444380","total_comments":37,"returned":20,"scope":"Up to the requested number of top-level comments in Hacker News ranked order. Deleted comments are omitted. Nested replies are not fetched; this is not the complete thread.","comments":[{"id":50446495,"author":"sadilek","created_at":"2026-11-10T21:23:12.000Z","text":"I have not done a systematic ablation study, so not all things might be necessary, but anyway, here's what's working for me very well (in no particular order):\n0. Use Opus 5.5 on high.\n1. Have in your CLAUDE.md the rule that code changes go together with updates to the docs. For me, that's HTML files in docs/. (Could be .md as well, but for human consumption, HTML is nicer.)\n2. Have the rule that only that should go into the docs that an experienced engineer would need to rebuild the system from scratch, ignoring how it would look.\n3. Larger work gets a plan doc in docs/plan, i.e. multi-PR work. There is a template how plans look, and an important part of the template is that the last step of the plan is always to delete the plan and fold anything from it that makes sense as long-term documentation into the docs.\n4. Have a rule that before creating a PR, a sub agent needs to review the code, and have Codex Sol 6.1 high review it as well. Then let the main agent iterate on their findings until they are happy.\n5. Every now and then, ask for an audit of the code. I ask for DRY, YAGNI, and KISS. Let it produce a report. Then let it fix all findings. If a lot, use a plan.\n6. If you're adding something straight forward, just ask for it directly. If it's not, ask for a brief first. Review it. Then decide whether to implement in one go or through a plan.\n7. Get an ultra plan, so you (mostly) don't have to worry about token usage but can use agents to their full ability.\n8. Bonus and plug: Ask your agent to hand over with a demo video. It often finds and fixes issues while recording it, and you're not degraded to the agent's QA team, but it has to put in the work to convince you. I built a UI for directing agents as described: obeya.si. Free, open-source, local.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50446495"},{"id":50444981,"author":"smallerize","created_at":"2026-11-10T19:23:13.000Z","text":"One thing that's surprisingly powerful is to just say what you want in the prompt. One of my skill files now includes \"inspect existing code under [subdir] for implementation patterns.\" Depending how much code you have, that might take a lot of tokens. You could either list the patterns that you want or include a smaller code sample in the skill's references.\nA stronger version of this would be to make a separate gate. Fail the commit if the new code duplicates something already in a utility function, renames something that already had a name, uses for-loops instead of list comprehensions, whatever is bothering you.","parent_id":50444380,"replies_count":1,"hn_url":"https://news.ycombinator.com/item?id=50444981"},{"id":50444552,"author":"mpd","created_at":"2026-11-10T18:54:15.000Z","text":"I've always been a bottom-up programmer, so I tend to think more about discrete operations of software rather than the user-facing features (which IME will fall out naturally).\n1. Experiment and solidify architecture before adding features. I think this is the hardest step for top-down thinkers.\n2. Heavy testing and benchmarking. Prefer to TDD as much as possible. The actual lines for my agent-written codebases are generally ~70+% tests, benchmarks, and experiments.\n3. Full mutation test coverage after the code is written. Doing this as a human is miserable IMO, but robots make it reasonable. This step resolves SO MANY subtle bugs.\nAt that point my main role is ensuring alignment with the actual specs.","parent_id":50444380,"replies_count":1,"hn_url":"https://news.ycombinator.com/item?id=50444552"},{"id":50465494,"author":"rielabscom","created_at":"2026-11-12T10:53:56.000Z","text":"Perhaps a small swarm of 6 agents consisting of a researcher, a planner, a coder, a tester, and two Byzantine agents (A and B) configured with specific validation rules.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50465494"},{"id":50454179,"author":"NishanStepak","created_at":"2026-11-11T14:52:33.000Z","text":"You need to make sure you download your git history. You can analyze your git history with artificial intelligence to know where there were issues. There should be a complete record of every command you put into AI.\n1. You need to audit your work regularly. You can ask almost any AI to audit your work. There are several different audits you can do, security, marketing, performance, seo, bias etc. Use more than one ai for the performance audits. This should tell you where a lot of the performance issues are. There are also specialty audits you can get from specific services. I also have a weekly audit run for general issues. Cover all the bases.\n2. You have to watch the AI carefully to make sure it is not generating errors. I catch it looping quite often or making mistakes.\n3. Ask people to review your site. There are places where you can get human reviews. Do this regularly. AI is self referential and will make mistakes that no person will make.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50454179"},{"id":50457047,"author":"AlexITC","created_at":"2026-11-11T18:54:32.000Z","text":"When you vide-code you don't care about code quality, right?\nPersonally I review most of the code and I do understand the frustration. I'm leveraging https://orca.virtuslab.com to orchestrate an agent to do the development with a few others to review the code; besides this I also put extra reviewers that focus on specific details/patterns which get launched by Orca.\nWhile this isn't perfect, it is the best approach I have got so far.\nRecently I wrote a post about this approach: https://alexitc.com/blog/2026-11-02-trading-speed-for-correc...","parent_id":50444380,"replies_count":1,"hn_url":"https://news.ycombinator.com/item?id=50457047"},{"id":50452856,"author":"waximabbax","created_at":"2026-11-11T12:57:53.000Z","text":"I can tell you what helps me and maybe you can incorporate some of this in your own code as well.\n1- Ensure you have Changelogs.md, Agents.md properly written to your likings.\n2- Depending on what you are building there is always a way to add actual UI tests and takes screenshots of before and after. If its a related to web UI, you can use playwright and or similar but there is always an option to test UI. Worst case scnerio is when none of libs help you and in those cases, you can add automated tests for UI using computer control from agents and take screenshots.\n3- When reviewing PRs, always use a totally different agent. For example if you use claude code for creating PR, then perhaps ask Codex or Cursor to review the PR in depth.\n4- Prefer smaller multiple PRs over larger ones.\n5- Last resort: If you don't have to review and check PRs yourself, perhaps consider hiring a QA engineer if you can afford one.\nLast but not least, learn to freeze the scope and remember not all bugs and edge cases are worth covering.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50452856"},{"id":50446297,"author":"alexjplant","created_at":"2026-11-10T21:03:28.000Z","text":"OpenSpec solves this incidentally by dividing work into planning, implementation, and archiving phases. If you tell it what you're doing and the business reasons during planning (and bicker with it about technical implementation) then it goes off the rails much less when it actually does the work. You can also PR the spec to coworkers before implementation and run the implementation step in a new context to keep it more on track.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50446297"},{"id":50456865,"author":"caksoy","created_at":"2026-11-11T18:38:50.000Z","text":"I definitely don't touch any AI tools while I'm designing the high-level solution for the problem. If you ask it to propose a solution to you, you quickly go down the rabbit hole, which can sometimes lose you days. This is especially the case if your setting is not fully verifiable but you measure your success with a metric.\nOnce the design is complete, I think the rest is less important. At least that's how I feel.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50456865"},{"id":50456115,"author":"jesecamilo","created_at":"2026-11-11T17:39:04.000Z","text":"Ensure it's referencing well-regarded coding/ui/ux standards. If you're developing in C++, Google has great docs. If you're making an iOS app, Apple has great docs, of course. If you're making a user-facing web app, look up behavior-driven development (BDD) ... Etc, etc.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50456115"},{"id":50448910,"author":"rafabitt","created_at":"2026-11-11T01:54:44.000Z","text":"Coming from someone with a non technical background that has started building things post AI, I think what helps me the most is referencing other successful products and learning from their bad reviews/mistakes.\nNow to your question specifically, I believe it's not that hard to maintain quality when you're not obsessing over a million features, what I've seen people do is make their app or software do everything instead of focusing on a sum of functionalities that are actually worth keeping and will certainly impact the user experience.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50448910"},{"id":50446574,"author":"purple-leafy","created_at":"2026-11-10T21:30:18.000Z","text":"Have a vision, and know what to say no to [0]. Thats how I build all my own projects, most recent here for example\n[0] - https://github.com/con-dog/clingon","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50446574"},{"id":50452834,"author":"hhhkm","created_at":"2026-11-11T12:55:15.000Z","text":"I use Claude Design Artifacts a lot for new features I'm building. Its really helpful for nailing a flow and look. Besides that my apps usually have a component library built so it doesn't repeat code.\nOpus 5.5 has made it pretty effortless to get right the first time tbh. Usually it even lays things out better than I was thinking originally","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50452834"},{"id":50451603,"author":"corroclaro","created_at":"2026-11-11T10:04:52.000Z","text":"With great difficulty - it's very hard to keep LLMs from generating codebases that are hard to reason about for humans - the spaghetti intermingles with a ball of mud.\nSo far, my most successful ventures have been tiny CLIs that do something I have been itching to write that one day when I'd had some free time (that never materialized).","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50451603"},{"id":50449747,"author":"jvaqueiro","created_at":"2026-11-11T04:28:54.000Z","text":"I face similar problems on a daily basis. Mostly UI bugs, and copywriting.\nFixing these is exahusting. What I ended up doing was building a \"feedback\"[1] tool I can point to my agent.\nBasically, I collect bugs/improvements and then tell codex to fix them.\nBeing able to gather a bunch of bugs in a working session has been a boost in productivity.\n[1]. https://pecky.app","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50449747"},{"id":50447797,"author":"llbknapik","created_at":"2026-11-10T23:30:32.000Z","text":"I personally build rules using static analysis tools. All my guardrails hook into my .NET static analyzer pipeline. This makes the agent fail at build time then it goes and corrects itself.\nAdditionally, .NET added a bunch of formatting rules in its static analyzer for .NET 11 that give greater control on the styling of the code the agent generates. For example you can ban `=>` function syntax using editorconfig. The build will fail and the agent has to adjust.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50447797"},{"id":50444530,"author":"Marco012","created_at":"2026-11-10T18:52:27.000Z","text":"I'm not sure if there is any standard for this, I also tried to search about it in the past. But what I ended up doing that has been working well is to keep everything documented. Every task and decisions are documented on .md files, referencing related tasks and decisions. The project becomes bloated quickly, but Claude can easily locate and relate decisions from a long time ago. Some times I even ask to do do something and mid-way Claude realizes that it goes against a previous written decision.","parent_id":50444380,"replies_count":1,"hn_url":"https://news.ycombinator.com/item?id=50444530"},{"id":50449384,"author":"EduardoBautista","created_at":"2026-11-11T03:17:44.000Z","text":"I have Claude run the simplify and code-review skills as part of verification. Also every month or so I use the tech-debt skill on all my codebases and fix any issues. The more tech debt you have, the more the models start doing strange things.\nAnd the usual stuff any decent CI pipeline should have: tests, builds, linting, SQL breaking changes and potential heavy migration checks, etc.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50449384"},{"id":50444410,"author":"toufiqqureshi","created_at":"2026-11-10T18:43:55.000Z","text":"The same I was facing now I have built complete app but always worried about it is really protected and production ready I also facing this issue I don't know what to do","parent_id":50444380,"replies_count":2,"hn_url":"https://news.ycombinator.com/item?id=50444410"},{"id":50446414,"author":"bengold14","created_at":"2026-11-10T21:16:52.000Z","text":"My cofounder and I built https://www.archme.io for this.\nIt is an abstraction on top of code, turning your codebase into architecture diagrams and then keeping them up to date on each commit.\nAs a bonus you can do PR review and propose changes in it as well.","parent_id":50444380,"replies_count":0,"hn_url":"https://news.ycombinator.com/item?id=50446414"}]}