Supported Configuration Files
Tembo supports multiple file names for compatibility with other AI coding agents. Place one of these files in your repository root:tembo.md(recommended)AGENTS.mdCLAUDE.md.cursorrules.windsurfrules.clinerules.rulesAGENT.md.github/copilot-instructions.md
Tembo will use the first file it finds from this list, so you only need one configuration file per repository.
Creating Your First Rule File
Create a file namedtembo.md in your repository root and include relevant information about your project. Here’s a complete example to get you started:
What to Include
Essential Information
Include information that helps Tembo make better decisions: Build and Development Commands Document how to build, test, and run your project. Include any custom scripts or commands specific to your workflow. Code Style and Conventions Define your coding standards, naming conventions, and formatting rules. This ensures Tembo generates code that matches your project’s style. Testing Requirements Specify your testing expectations, frameworks, and coverage targets. Tembo will write tests that follow your conventions. Architecture Guidelines Explain your project’s structure, design patterns, and architectural decisions. This helps Tembo understand where code belongs.Optional But Helpful
Common Pitfalls Document known issues, gotchas, or common mistakes to avoid. This helps Tembo avoid problematic patterns. Performance Considerations Highlight performance-sensitive areas or optimization requirements specific to your application. Security Guidelines Specify security requirements, authentication patterns, or data handling rules. Integration Details Document how your codebase integrates with external services or APIs.Best Practices
Keep It Focused
Rule files become part of Tembo’s context, so keep them concise and relevant:- Focus on information that impacts code generation
- Remove outdated or obsolete information
- Use clear, direct language
- Organize with headings for easy scanning
Use Emphasis for Important Points
Highlight critical information that Tembo should always follow:Update Regularly
Keep your rule file current as your project evolves:- Update when conventions change
- Add new patterns as they emerge
- Remove deprecated guidelines
- Review quarterly to ensure accuracy
How Tembo Uses Rule Files
When Tembo receives an issue assignment:- Loads the rule file from your repository root
- Includes the content as part of its context
- Follows the guidelines when generating code
- Applies conventions throughout the solution
Next Steps
After configuring your repository:- Test it by assigning a small issue to Tembo
- Review the generated pull request for adherence to your guidelines
- Refine your rule file based on results
- Use the Feedback Loop to iterate on Tembo’s work