HUMANS.md
At work I’m struggling to come up with sane rules for making use of AI. As such, I’ve added the following rules to our repository, meant for people, not AI, maybe you can use it for inspiration as well.
NOTE: I am not saying that these rules are the best. Obviously, they are optimized for our team and project. And we’re just getting it started, so it’s a work-in-progress.
Keywords like “MUST”, “MUST NOT”, “SHOULD”, “SHOULD NOT” have to be interpreted as described in RFC 2119.
Working with AI #
We follow the No AI Slop manifesto.
- Outcomes over output;
- Understanding over speed;
- Our own thinking over a model’s first draft;
- Better work over easier work;
- Improving the system over patching the output.
To which we add for clarrification:
- You MUST own your contributions; we can never blame AI.
- You MUST respect your colleagues; we must respect their time and their focus, and thus we MUST NOT drown them in slop.
Hard rules #
1. You MUST write all text meant for humans, not the AI #
Reasons for this rule:
- AI prose is most often gibberish;
- It’s disrespectful of your colleagues, as you couldn’t be bothered to write a couple of words using your own voice, but you’re expecting your colleagues to make an effort in reading that gibberish;
- If you can’t explain something in your own words, you don’t understand it and thus can’t own your work.
Examples of documentation meant for humans:
- PR descriptions and comments;
- Code comments;
- Documentation submitted to
./docs/source; - This file.
Examples of documentation meant for AI, and that does not necessarily fall under this rule (although you may want manual editing for clarity):
./AGENTS.md./CONTEXT.md./CODING_STANDARDS.md./docs/adr/*./.agents/**
1.1. You MUST write the PR descriptions and comments #
As long as we have a human-driven PR review process, PR communication is meant for humans and thus MUST BE written by humans. If you can’t describe what your PR is doing in your own words, you don’t understand your own PR.
1.2. Your code SHOULD have comments, but they MUST NOT be written by AI #
AGENTS.md already bans AI-driven comments or documentation.
Reasons:
- Comments, when read by AI, become justification for bypassing guardrails and breaking invariants. So the AI can easily convince itself that it did the right thing and then will use that instance to proliferate the decision all over the place.
- If you can’t be bothered to add comments to the code you’re submitting, for APIs or for problematic pieces, it means you don’t understand your own code.
You have to review what your AI is doing anyway; you may as well add your own comments, using your own voice.
2. You MUST do an AI-driven review, locally #
AI is great at noticing specification-related bugs (e.g., ignored acceptance criteria), or clearly violated coding standards, so this is useful even for PRs that were not executed by AI.
Review MUST target these 2 axes:
- Specifications — access to specs is mandatory, including user stories and other relevant internal documentation;
- Coding standards (see
./CODING_STANDARDS.md).
All PRs MUST have this kind of code review to be merged. But note, don’t make your agent add crappy comments straight on the PR, as it would violate the above rule (PR comments are meant for humans and thus MUST be written by humans).
Use code-reviewing, the recommended skill, because it’s optimized for our needs.
If you have similar rules in your repo, I’d love to hear about it.