From 4d98875a3aa32821004d9e25cc6550b3a78c58a4 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Fri, 12 Sep 2025 00:05:38 +0800 Subject: [PATCH] Migrate GitHub Copilot instructions to AGENTS.md and CLAUDE.md Move .github/copilot-instructions.md to AGENTS.md, and generalize the wording, so it will apply to Codex CLI, Cursor, OpenCode, RooCode, and many other AI coding agents. Also add CLAUDE.md as a symlink to AGENTS.md so Claude Code reads the same guidance. Copilot coding agent now supports AGENTS.md custom instructions, as more coding agents support it. Migrating from GitHub Copilot's custom instructions file to AGENTS.md will help developers leverage more and different coding agents than just GitHub Copilot. Reference: - https://agents.md/ - https://github.blog/changelog/2025-08-28-copilot-coding-agent-now-supports-agents-md-custom-instructions/ --- .github/copilot-instructions.md => AGENTS.md | 6 +++--- CLAUDE.md | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) rename .github/copilot-instructions.md => AGENTS.md (98%) create mode 120000 CLAUDE.md diff --git a/.github/copilot-instructions.md b/AGENTS.md similarity index 98% rename from .github/copilot-instructions.md rename to AGENTS.md index 51e63de..7bda90e 100644 --- a/.github/copilot-instructions.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ -# nvm Copilot Instructions +# nvm Coding Agent Instructions -This document provides guidance for GitHub Copilot when working with the Node Version Manager (nvm) codebase. +This document provides guidance for AI coding agents when working with the Node Version Manager (nvm) codebase. ## Overview @@ -424,4 +424,4 @@ nvm works on Windows via several compatibility layers: 2. Include bash, curl, git, tar, and wget packages during installation 3. Run nvm installation in Cygwin terminal -This guide should help GitHub Copilot understand the nvm codebase structure, testing procedures, and development environment setup requirements. +This guide should help AI coding agents understand the nvm codebase structure, testing procedures, and development environment setup requirements. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 0000000..47dc3e3 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file