readfirst
A tool that surfaces project rules and risks beside the code before a file is changed.
What does it do?
Teams can record known constraints and required tests in .readfirst/map.json beside the code. When a person or agent is about to change a file, the tool shows the relevant information. On its first run, it can read Git history without a separate map and point out locations where problems occurred before. The CLI, hooks, MCP server, and GitHub Action are free and are described as working without transmitting code. A separate GitHub App creates the first map once per account for free; Pro adds map updates after merges and pull request comments.
Key features
- Show file-specific rules, risks, and test information from .readfirst/map.json just before changes
- Read Git history on the first run to identify code locations with past errors
- Provide a free CLI, hooks, MCP server, and GitHub Action
- Use a local Git checkout without a server, account, or model calls
- Create the first map once per account for free with the GitHub App; Pro adds updates after merges and pull request comments