Create a single source of truth for agent instructions in Documentation/AI/main.md with symlinks for all major coding agents: - CLAUDE.md (Claude Code) - .github/copilot-instructions.md (GitHub Copilot) - .cursorrules (Cursor) - .codeium/instructions.md (Codeium) - .continue/context.md (Continue) - .windsurfrules (Windsurf) - .aider.conf.yml (Aider)
Signed-off-by: Sasha Levin <sas...@kernel.org> --- .aider.conf.yml | 1 + .codeium/instructions.md | 1 + .continue/context.md | 1 + .cursorrules | 1 + .github/copilot-instructions.md | 1 + .windsurfrules | 1 + CLAUDE.md | 1 + Documentation/agents/index.rst | 10 ++++++++++ Documentation/agents/main.rst | 7 +++++++ 9 files changed, 24 insertions(+) create mode 120000 .aider.conf.yml create mode 120000 .codeium/instructions.md create mode 120000 .continue/context.md create mode 120000 .cursorrules create mode 120000 .github/copilot-instructions.md create mode 120000 .windsurfrules create mode 120000 CLAUDE.md create mode 100644 Documentation/agents/index.rst create mode 100644 Documentation/agents/main.rst diff --git a/.aider.conf.yml b/.aider.conf.yml new file mode 120000 index 000000000000..a5120c4e5d0a --- /dev/null +++ b/.aider.conf.yml @@ -0,0 +1 @@ +Documentation/agents/main.rst \ No newline at end of file diff --git a/.codeium/instructions.md b/.codeium/instructions.md new file mode 120000 index 000000000000..aa9a2063afbd --- /dev/null +++ b/.codeium/instructions.md @@ -0,0 +1 @@ +../Documentation/agents/main.rst \ No newline at end of file diff --git a/.continue/context.md b/.continue/context.md new file mode 120000 index 000000000000..aa9a2063afbd --- /dev/null +++ b/.continue/context.md @@ -0,0 +1 @@ +../Documentation/agents/main.rst \ No newline at end of file diff --git a/.cursorrules b/.cursorrules new file mode 120000 index 000000000000..a5120c4e5d0a --- /dev/null +++ b/.cursorrules @@ -0,0 +1 @@ +Documentation/agents/main.rst \ No newline at end of file diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 120000 index 000000000000..aa9a2063afbd --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1 @@ +../Documentation/agents/main.rst \ No newline at end of file diff --git a/.windsurfrules b/.windsurfrules new file mode 120000 index 000000000000..a5120c4e5d0a --- /dev/null +++ b/.windsurfrules @@ -0,0 +1 @@ +Documentation/agents/main.rst \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 000000000000..a5120c4e5d0a --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +Documentation/agents/main.rst \ No newline at end of file diff --git a/Documentation/agents/index.rst b/Documentation/agents/index.rst new file mode 100644 index 000000000000..109266ca91ec --- /dev/null +++ b/Documentation/agents/index.rst @@ -0,0 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0 + +====== +Agents +====== + +.. toctree:: + :maxdepth: 1 + + main \ No newline at end of file diff --git a/Documentation/agents/main.rst b/Documentation/agents/main.rst new file mode 100644 index 000000000000..98aa8250be9d --- /dev/null +++ b/Documentation/agents/main.rst @@ -0,0 +1,7 @@ +.. SPDX-License-Identifier: GPL-2.0 + +===================================== +Linux Kernel Development Agent Instructions +===================================== + +This is the Linux kernel repository. When working with this codebase, you must follow the Linux kernel development processes and coding standards. -- 2.39.5