AGENTS.md · react-grid-layout/react-grid-layout
AGENTS.md from react-grid-layout/react-grid-layout: 47 lines covering Architecture maps — read these first, Knowledge graph — for structural/impact queries…
Template by react-grid-layout
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/master/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 47 lines
- File
AGENTS.md
Sections
- Architecture maps — read these first
- Knowledge graph — for structural/impact queries
- Key invariants
- Development commands
First lines (shown under the repo's MIT license)
# AGENTS.md — for AI coding agents ## Architecture maps — read these first The module structure, public API surface, data models, and recent behavioral changes are documented in the generated maps in `codemaps/`. Load them before making edits: - `codemaps/architecture.md` — module boundaries, package exports, dependency flow, recent changes - `codemaps/frontend.md` — React components + hooks, key behavior - `codemaps/backend.md` — core algorithms, config defaults, position strategies - `codemaps/data.md` — types, config interfaces, strategy contracts Regenerate with `/update-codemaps` after substantial changes. These are generated derivatives — edit the source, not the maps. ## Knowledge graph — for structural/impact queries `graphify-out/` holds an AST knowledge graph of the codebase (nodes = symbols, edges tagged EXTRACTED/INFERRED). Useful when codemaps can't answer a structural question: `graphify explain "Symbol"`, `graphify affected "Symbol"`, `graphify path "A" "B"`, `graphify query "how does X work"`. Rebuild with `/graphify` or `graphify update .`. Note: `graphify-out/` is gitignored. ## Key invariants - **Always use `yarn`** (Yarn 4 through Corepack). Run `corepack enable` once; the version is pinned in `package.json`. Yarn 4 holds back versions published in the last 7 days, so a fresh bump can fail to resolve until it ages (see `npmPreapprovedPackages` in `.yarnrc.yml`). - `src/core/` is pure TypeScript, no React dependencies. - `src/legacy/` is the v1 API compatibility layer wrapping v2 components. - All grid items need a unique `key` matching `i` in layout. - Run `yarn fmt` (prettier) before committing — CI fails otherwise. ## Development commands ```bash make test # full Jest suite make build # ESM + CJS + DTS via tsup make dev # dev server on :4002 make e2e-build && yarn playwright test # Playwright e2e ``` Full project guidance, testing conventions, and custom skills live in [`CLAUDE.md`](CLAUDE.md).
Signals
- Stars
- 22,471
- Forks
- 2,700
- Open issues
- 22
- Last commit (this folder)
- Oct 5, 2026 (23 days ago)
- Last release
- Oct 5, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from react-grid-layout
Cite this page
AGENTS.md · react-grid-layout/react-grid-layout. Agent Mart. https://agentmart.dev/templates/react-grid-layout-react-grid-layout-agents-md (last updated 2026-10-24)