diff --git a/AGENTS.md b/AGENTS.md index 2c46a62d1b8..5f6226b06a7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,12 @@ This file provides detailed guidance for AI agents and automated tools working with the Lexical codebase. +## Documentation + +For specialized topics, see the [`docs/`](./docs/) directory: + +- **[GitHub Actions Security & Architecture](./docs/github-actions.md)** - Guidelines for CI/CD workflows, security practices, permissions, and secrets management + ## Build, Test, and Development Commands ### Building @@ -130,6 +136,23 @@ When adding/modifying APIs, types must be maintained for both systems. ## Important Development Notes +### Package Manager Usage + +This repository uses different package managers for different contexts: + +**Development and CI workflows** - Use `pnpm`: +- The monorepo is managed with pnpm workspaces +- All CI/CD workflows use pnpm +- Run `pnpm install` to install dependencies +- Run `pnpm run