Skip to main content
Add a rule file to your repository root so Tembo understands your project’s conventions, architecture, and coding standards. Tembo reads it before every task.

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

# 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