frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Do global AGENTS.md with coding principles make sense?

3•endorphine•3h ago
For example, greenfield advice like: "prefer clear over clever code. Strive for maintainable, simple and testable code etc".

Do these kind of vague advice make sense to have on an AGENTS.md file? And if so, any reason to not have it in the global one?

Comments

verdverm•2h ago
I put these in my system prompt, but I can do that directly in my custom setup. If your tooling does this with a global md, good enough I suppose

They are helpful. It's surprising to me that on one hand you can write a bunch and the agent will ignore it, while you can also drop a line like "talk to me like a peer who's helping work through the problem" can make a noticeable difference

dnw•1h ago
Honestly it is unclear to me still. Last month wrote a whole coding principles AGENTS/CLAUDE MD file but not clear if the produced code has changed _because of_ that or other reasons. Couple of things give me confidence that the models actually do read them and follow them.

1) I have a sentence that says: "I am your pairing buddy Bob. Occasionally address me by my name." And you will see them address you by the name, occasionally. 2) I do have per project "Project Tenets." Each tenets is a catchy couple of words, like Design for Agent First, Tolerant Interfaces over Robust Interfaces. If you notice the coding assistant referring to this you know they are aware, and they do sometimes refer to it. I also have a common list of principles but I think they are less useful because those are generic for software engineering. 3) Occasionally, I will do the following prompt: i) Who am I? ii) What is our design philosophy and tenets? iii) Go through the repo and ensure the architecture and codebase adheres to our design philosophy and tenets.

Kind of works.

Ask HN: Companies that advertise being a "best place to work", is it a red flag?

3•jrs235•1h ago•5 comments

Ask HN: Why is YouTube's recommendation system so bad?

4•mr-pink•1h ago•2 comments

Ask HN: What happens after the AI bubble bursts?

18•101008•8h ago•20 comments

Ask HN: Do global AGENTS.md with coding principles make sense?

3•endorphine•3h ago•2 comments

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

69•moomoo11•3d ago•108 comments

Top non-ad google result for "polymarket" in Australia is a crypto scam

14•rtrgrd•18h ago•2 comments

Tell HN: Microsoft Edge self-destroys updating it in Debian based distros

4•usr1106•8h ago•1 comments

Tadpole the Language for Scraping 0.2.0 – Complex Control Flow, Stealth and More

5•zachperkitny•3h ago•0 comments

Ask HN: Ranking sliders on a personal blog?

12•incognito124•1d ago•1 comments

Ask HN: Are there examples of 3D printing data onto physical surfaces?

16•catapart•3d ago•33 comments

Ask HN: Are you using an agent orchestrator to write code?

39•gusmally•4d ago•60 comments

What web businesses will continue to make money post AI?

15•surume•1d ago•27 comments

Ask HN: Share your vibe coded project

4•firefoxd•1d ago•7 comments

Ask HN: Info on the 1982 Apple 2 text game Abuse?

6•jmount•2d ago•2 comments

Ask HN: Did YouTube change how it handles uBlock?

21•tefloon69•4d ago•13 comments

Ask HN: LLMs helping you read papers and books

7•amelius•1d ago•2 comments

Twitter(X) Is Down

41•bakigul•8h ago•28 comments

Ask HN: How do you audit LLM code in programming languages you don't know?

13•syx•4d ago•13 comments

Ask HN: What's the best realtime, local, TTS solution? Live call interpretation

6•Wright007•1d ago•1 comments

Ask HN: Want to move to use a "dumb" phone. How to make the switch?

11•absoluteunit1•1d ago•12 comments

Ask HN: Stripe is asking for bank statements to check financial health

9•kinj28•2d ago•7 comments

Ask HN: What explains the recent surge in LLM coding capabilities?

12•orange_puff•1d ago•8 comments

Ask HN: Why are electronics still so unrecyclable?

74•alexandrehtrb•5d ago•139 comments

Ask HN: We're building a saving app for European savers and need GTM advice

6•AlePra00•4d ago•16 comments

Ask HN: Better hardware means OpenAI, Anthropic, etc. are doomed in the future?

5•kart23•3d ago•10 comments

Ask HN: Exceptionally well-written research papers in CS/ML/AI?

5•b3rkus•2d ago•1 comments

Ask HN: Do sociotechnical pressures select for beneficial or harmful AI systems?

6•jerlendds•4d ago•3 comments

Ask HN: Is OpenClaw a groundbreaking feat, a highly useful product or both?

3•chirau•22h ago•7 comments

ClawdReview – OpenReview for AI Agents

5•mingtianzhang•2d ago•0 comments

Ask HN: What happens when capability decouples from credentials?

11•falsework•3d ago•7 comments