Skip to content

Latest commit

Β 

History

History
29 lines (20 loc) Β· 960 Bytes

File metadata and controls

29 lines (20 loc) Β· 960 Bytes

AGENTS.md

Non-discoverable rules for the Node.js codebase.

Landmines

  • make test-only must run from the working directory where local changes are applied, not a separate clone.
  • make lint is comprehensive: JS, C++, Markdown, YAML, doc, addon-doc, and shell scripts.
  • CI lint (lint-ci) adds Python linting, which requires make lint-py-build first.

Commands

  • make lint β€” full local lint check
  • make lint-js-fix β€” auto-fix JS lint errors
  • make test-only β€” run tests only (no rebuild)
  • make -j4 test β€” full check including documentation tests

Rules

  • PRs go to upstream main.
  • Commit messages use Node.js format: subsystem: description

Discoverable in code/config

  • BUILDING.md β€” prerequisites and build instructions
  • CONTRIBUTING.md β€” contribution workflow
  • doc/contributing/pull-requests.md β€” PR process
  • GOVERNANCE.md β€” project governance
  • Makefile β€” all build/test/lint targets