
AI policy files are becoming a thing - here's a generator
The problem AI coding agents are everywhere. Copilot, Cursor, Claude Code, Codex -- they're writing code in repos with no AI policy. Most repos have a LICENSE file. Many have CONTRIBUTING.md. Almost none have an AI policy. Can a contributor submit AI-generated code? Does it need review? Can agents modify CI pipelines? Should the project opt out of training data collection? What projects are doing about it A few projects already check these files into their repos: AI_POLICY.md declares how AI tools interact with the codebase -- what's permitted, how AI-generated code is handled, training data preferences. AGENTS.md gives AI coding agents their operating instructions -- code style, testing requirements, restricted paths, commit conventions. The AGENTS.md spec is already supported by Codex, Copilot, and Cursor. CLAUDE.md configures Claude Code specifically, referencing the AGENTS.md rules. Projects like CloudNativePG , Kyverno , and Kubewarden already ship these files. aipolicy: a generat
Continue reading on Dev.to
Opens in a new tab




