Get the latest tech news

Linux Kernel Proposal Documents Rules For Using AI Coding Assistants


Longtime Linux developer Sasha Levin of NVIDIA (and formerly of Google and Microsoft) as well as being the Linux LTS kernel co-maintainer today proposed a Linux kernel AI coding assistant configuration and documentation/rules for contributing to the Linux kernel with patches that are (co)authored by AI coding utilities.

The first patch adds unified configuration files for various AI coding assistants (Claude, GitHub Copilot, Cursor, Codeium, Continue, Windsurf, and Aider). The second patch adds the actual rules and documentation that guide AI assistants on Linux kernel development practices, including: - Following kernel coding standards - Respecting the development process - Properly attributing AI-generated contributions - Understanding licensing requirements The examples below demonstrate how these guidelines work in practice, showing proper AI attribution in commits and the assistant's understanding of kernel documentation requirements.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of linux kernel

linux kernel

Photo of AI Coding assistants

AI Coding assistants

Related news:

News photo

The Linux Kernel Seeing Rare Code Activity Around SPARC64

News photo

Linux Kernel Patches Speed-Up CRC32 Performance For CPUs With "Good" AVX-512

News photo

How to write Rust in the Linux kernel: part 3