Product Context for AI Coding Agents: What to Share and How A developer outlined a three-layer approach for supplying product context to AI coding agents: a short repository instruction file such as AGENTS.md or CLAUDE.md, a per-task spec packet, and a live link to the team's product source of truth via MCP servers like Linear, Notion and Specky. The writeup argues agents can read code but not customer evidence or decision rationale, citing Stack Overflow's 2025 survey finding that 14.1% of developers use AI agents daily at work and 86.9% worry about the accuracy of agent-provided information. Coding agents can read your code but not your customers. Here is what product context they need, which tools deliver it, how much is too much, and a task packet you can copy. Product context for AI coding agents is the small, current set of facts an agent needs that the code cannot show: who has the problem, the evidence, the current decision and its owner, the constraints, and how a person will check the result. The best setup has three layers: a short repository instruction file, a task packet per change, and a live link to your product source of truth. Key takeaways A coding agent can read your repository, run your tests and search your files. It cannot read the customer call that started the request, the trade-off the team agreed in Tuesday's meeting, or the reason a feature is deliberately out of scope. That is product context: the "who" and "why" behind the code change. | Code context the agent can find it | Product context someone has to supply it | |---|---| | Frameworks, file layout, existing patterns | Who has the problem and how often | | Test, build and lint commands | Evidence: interviews, tickets, analytics | | Function signatures and types | The current decision, its owner and its date | | Past commits and code comments | What is deliberately out of scope | | Error messages and logs | Constraints from customers, contracts or policy | | CI results | What a reviewer will check before accepting | Agents are now common enough that the gap matters. In Stack Overflow's 2025 survey, 14.1% of developers used AI agents at work daily, and 86.9% were concerned about the accuracy of the information agents provide Stack Overflow, 2025 https://survey.stackoverflow.co/2025/ai . Some of that inaccuracy is the model. Some of it is a request that left the important product facts out. No single tool covers it. Each way of delivering context is good at one layer and weak at the others, so the useful question is which combination fits where your team keeps its decisions. | Approach | Examples | Good for | Weak at | |---|---|---|---| | Repository instruction files | CLAUDE.md , AGENTS.md , .cursor/rules , .github/copilot-instructions.md | Durable engineering rules, commands, conventions | Changing decisions and customer evidence; loads on every task | | A spec or PRD file per task | docs/specs/