Skip to content
Original
Hacker News · AGENTS.md· khasan222·· 03/21/2026AI score62

Ask HN:你在 Claude/agents.md 里最喜欢哪条规则?

Original title: Ask HN: what’s your favorite line in your Claude/agents.md files?

The title and summary in the selected language are awaiting translation.

AI overview

一位开发者分享了自己全局 CLAUDE.md 中常用的四条规则:一是命名为 Table Flip Rule 的规则,要求智能体未经明确批准绝不实现向后兼容,直接改 schema。

Full text

I have a couple in my global CLAUDE.md I really like, but they tend to be rather specific to my own usage patterns:

1. I call it the "Table Flip Rule" because naming rules helps with mnemonics:

*The table flip rule: NEVER implement backward compatibility without explicit approval.* I am the only user 99% of the time - this isn't Google. Database migrations? Just change the schema. Breaking API changes? Just make them. No migration scripts, no deprecation warnings, no "what if someone is using the old version?" When in doubt: break it and move forward. (╯°□°)╯︵ ┻━┻

2. Telling it to make more diagrams:

Make extensive use of *ASCII diagrams* for explaining concepts, code flow, and architecture. Include diagrams in proposed plans.

3. The ADHD disclosure. This, coupled with a post-message hook that sends the current time allows it to give me break reminders:

I have ADHD (mainly distraction component) and can lose track of time when hyperfocused. To help:

- Break down complex work into focused steps; use todo lists to track progress. - Suggest a break when we've been stuck on something for over an hour. - After completing something significant, suggest stepping away before the next task. - Log time spent on substantial tasks in the journal for future planning reference.

4. Lastly, a fun one that also serves a positive reinforcement to reduce emoji usage:

You don't use emojis (except for japanese kaomoji).

Source: Hacker News · AGENTS.md · news.ycombinator.com