Show HN: Readfirst – a repo map your coding agents read before they edit a file A developer released readfirst, an MIT-licensed tool that stores team knowledge about a codebase in a single `.readfirst/map.json` file and serves it file by file to coding agents such as Claude Code, Cursor, Codex and Gemini before they edit code. The tool requires Node 20+, runs with no server, account or model calls, and ships with `init`, `read` and `verify` commands plus a GitHub Action. Building maps for open source projects surfaced real bugs already fixed or filed with maintainers, including a saleor option that recalculated every discounted price instead of only changed ones (saleor/saleor#19984), a wagtail moderation email sent to the submitting superuser (wagtail/wagtail#14790), a Tandoor `?category=` API filter that never applied (TandoorRecipes/recipes#4917), and a mealie household safety filter that never applied (mealie-recipes/mealie#8964). What to read and check before you — or your AI agent — change a file. Coding agents can follow imports. What they don't know is what your team knows: "amounts here are in cents", "this table is read by the mobile app, keep old columns", "run the payment e2e after touching this". readfirst keeps that knowledge in one file next to the code and hands it out, file by file, at the moment someone is about to change something. No server, no account, no model calls. MIT. It reads your git checkout and .readfirst/map.json . Making maps for open source projects, a check for lines whose result is thrown away found real bugs. The ones already with their maintainers: - saleor : an "only recalculate what changed" option recalculated every discounted price saleor/saleor 19984 https://github.com/saleor/saleor/pull/19984 . - wagtail : a superuser who submits a page for moderation got the moderation email about their own submission wagtail/wagtail 14790 https://github.com/wagtail/wagtail/pull/14790 . - Tandoor : a ?category= filter on an API endpoint never applied TandoorRecipes/recipes 4917 https://github.com/TandoorRecipes/recipes/pull/4917 . - mealie : a safety filter on households never applied; the maintainers fixed it mealie-recipes/mealie 8964 https://github.com/mealie-recipes/mealie/issues/8964 . Any language; needs Node 20+. npx readfirst init --agent --ci a first map, your agents wired to it Claude Code, Cursor, Codex, Gemini, ... , the PR Action npx readfirst read