Moves the instructions to the root as AGENTS.md, per agents.md.
Two changes to the content itself:
The porting bullet pointed at `tests/engine/` and `tests/runtime/`, which
were renamed to `tests/js-native-api/` and `tests/node-api/` before the
first test landed. An agent following it today creates directories the
runner never looks in.
Adds a section with the build and test commands, since nothing in the
repository records that the addons need CMake and a C/C++ toolchain before
the suite can run.
Fixes: nodejs#13
Signed-off-by: hexbinoct <abubakarm@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Closes #13.
Moves .github/copilot-instructions.md to AGENTS.md at the root, per
https://agents.md. Git records it as a rename, so the sentence about
'use strict' that #64 added comes along with it. This is the follow-up
I offered there.
Two changes to the content itself.
The porting bullet points at tests/engine/ and tests/runtime/. Those
became tests/js-native-api/ and tests/node-api/ before the first test
landed, so an agent following the file today writes into directories the
runner never reads.
I also added a section with the build and test commands. Nothing in the
repository currently records that the addons need CMake and a C/C++
toolchain on the PATH before npm run node:test can do anything, which
is the first thing anyone new to the repo, human or otherwise, runs into.
The five commands in that block are the ones I ran verbatim, in that
order, on a clean checkout in a Debian container, so the section is
tested rather than recalled. Happy to drop it if you would rather keep
the file to principles only.
Claude Opus 5 drafted this; I reviewed it.