From the course: Structured Vibe Coding with AI Coding Agents

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Project context: Understanding rules files

Project context: Understanding rules files

From the course: Structured Vibe Coding with AI Coding Agents

Project context: Understanding rules files

- [Instructor] Now, we've set up Claude Code with VS Code, selected the model, and look at the tools that's available. Let's talk about rule files, this is what is also known as context engineering. Every large language model operate within a context window. This is a limited amount of information it can pay attention to at once. It is similar to a human's attention span. By default, there are some overhead with coding agent harnesses or system prompt that is used to orchestrate the coding agents. Then to help the model understand what it's working on, we provide contextual information in a special file called a rules file. This file includes relevant background information, preloaded code snippets, or sometimes code structures, and architectures. This is basically the documentation we can provide to the coding agent, the equivalent of README.md for coding agents. In Claude Code, this file is typically named claude.md. And for other coding agents, it could be named many different…

Contents