A small collection of ready-to-use AI contribution policies for open source projects. Pick the one that matches how you want AI tooling used in your project, drop it into your repository, and point contributors at it.
The full list lives at ai-policy.dev, where each
policy can be compared side by side, copied, or downloaded. The source markdown
lives in policies/.
Maintainers can use the policy finder to see which policy best matches their answers about AI use in contributions.
- Copy
policies/_template.mdtopolicies/<name>.md. - Fill in the frontmatter: the
nameshown on the site, theversion(start at1.0.0), a one-sentencetagline, thecreateddate, and therulesthe policypermits,requires, andforbids. Rule IDs come fromsite/app/utils/policy.ts. - Write the policy body under the
AI Contribution Policyheading, followed by a shortSummarylist. The website adds an attribution line with the version's permalink when the policy is copied or downloaded. - Copy the finished file to
policies/versions/<name>/1.0.0.md. - Run
npm run lintand, if you want to see it rendered,npm run dev.
Each policy has its own semantic version in its
frontmatter. When you change a policy, bump its version and set its updated
date:
- Major: a substantial change to obligations, rights, scope, or enforcement.
- Minor: clarifications, new examples, or added sections that don't change what anyone is committing to.
- Patch: typos, formatting, and similar fixes.
Every version is kept in policies/versions/<name>/<version>.md and is
permanently available at https://ai-policy.dev/policies/<name>/<version>.
After changing a policy, copy it to a new file there, named after its new
version. Once a version is on main, its file never changes, so any further
change to the policy, even a typo fix, needs a new version.