How To: Set Coding Best Practices
Learn how to use Warp’s Rules to enforce coding style, documentation quality, and consistency across projects.
Intro
This tutorial teaches you how to create coding Rules that make AI follow your team’s best practices automatically. By specifying formatting, style preferences, and documentation standards, Warp ensures consistent, high-quality code across your repositories.
1
2
The Rule Setup
Define Rules that enforce formatting, type preferences, and doc quality.
Example Rule
Rule: Code Authoring Standards
- Always format and check work before returning results.
- Prefer `types` over `interfaces` in TypeScript.
- Apply concise, human-readable JS Docs using the Hemingway test.
Last updated
Was this helpful?