> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tembo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Rule Files

> Define project context and conventions for Tembo to follow.

Add a rule file to your repository root so Tembo understands your project's conventions, architecture, and coding standards. Tembo reads it before every session.

## Supported files

Tembo uses the first file it finds from this list:

* `tembo.md` (recommended)
* `AGENTS.md`
* `CLAUDE.md`
* `.cursorrules`
* `.windsurfrules`
* `.clinerules`
* `.rules`
* `AGENT.md`
* `.github/copilot-instructions.md`

## Example

```markdown theme={null}
# Project Context

React + TypeScript frontend with Node.js backend.

## Commands
- `npm install` - Install dependencies
- `npm run dev` - Start dev server
- `npm test` - Run tests

## Code Style
- TypeScript strict mode, explicit types
- Functional React components with hooks
- Conventional commits: `type(scope): message`

## Structure
- `/src/components` - UI components
- `/src/services` - API and business logic
- `/tests` - Test files
```

## What to include

* **Build/dev commands** - How to build, test, and run the project
* **Code style** - Naming conventions, formatting, standards
* **Testing** - Frameworks, expectations, coverage targets
* **Architecture** - Project structure, design patterns, where code belongs
* **Pitfalls** - Known issues or gotchas to avoid
