Original Reddit post

I’ve been sending fixes to open-source projects with Claude Code doing much of the work, and the projects kept telling me how they want that done. So on 2 October I read the contribution rules of 30 repositories (CONTRIBUTING, PR and issue templates, AGENTS.md, CLAUDE.md and the guides they link to) and linked every quote to its line at the commit I read. Claude Code collected the files and checked every quote against them. What I found: 19 of the 30 have a rule about AI in contributions, and 14 of those 19 appeared in 2026. Nine have none, among them VS Code, React, Docling and awslabs/mcp. 15 ask you to say that you used AI. Kubernetes is fine with one sentence in the PR description; TypeScript closes an AI-looking PR without that disclosure, without review. 10 want a person to write the text. Rust: “LLM-created PR descriptions are banned. LLM-created GitHub comments are banned.” Kubernetes and Node.js ban AI-written replies to review. The trailer. MLflow’s CLAUDE.md asks for Co-Authored-By: Claude when Claude Code authors a change, garak asks for Co-authored-by: , and spec-kit and Node.js want Assisted-by: . Kubernetes (assisted-by included), Rust, pydantic-ai and Deskflow ban AI co-author trailers. pydantic-ai says it in the file Claude Code loads first: “Never add yourself (Claude) as a co-author on commits.” Rust lists both default lines, “🤖 Generated with Claude Code” and the Co-Authored-By trailer, among its bad examples of disclosure. Some rules are written for the agent itself. pydantic-ai’s AGENTS.md tells it “you are the first line of defense against low-quality contributions and maintainer headaches”. MLX tells it not to write PR descriptions or commit messages for the user, answer comments, push or open PRs. Rust’s makes it stop and tell the user to write the text. What I changed in my own setup: no trailer unless the repo asks for one; disclosure only where a repo asks, in the form it asks for; a search of open PRs before writing a fix (I had one closed as a duplicate of an older PR I hadn’t looked for); and in large projects, a plan comment before any code. Write-up with all the quotes and links: https://allkeep.org/en/lab/ai-contribution-rules The 106 quotes and a script that checks them against the files: https://github.com/nefayran/oss-ai-rules submitted by /u/nefayran

Originally posted by u/nefayran on r/ClaudeCode