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/
This commit is contained in:
Peter Dave Hello
2025-09-12 00:05:38 +08:00
committed by Jordan Harband
parent 4c3edc5e56
commit 4d98875a3a
2 changed files with 4 additions and 3 deletions

View File

@@ -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 ## Overview
@@ -424,4 +424,4 @@ nvm works on Windows via several compatibility layers:
2. Include bash, curl, git, tar, and wget packages during installation 2. Include bash, curl, git, tar, and wget packages during installation
3. Run nvm installation in Cygwin terminal 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.

1
CLAUDE.md Symbolic link
View File

@@ -0,0 +1 @@
AGENTS.md