Example company rules
| Rule name | Rule |
|---|---|
| Variable preferences | Prefer creating new variables with descriptive names over mutating existing variables. |
| Use Typography | Use the shared Typography component instead of custom font size handling. |
| CompanyId casing | Use CompanyId consistently instead of CompanyID across services. |
Add rules in four ways
1. Add rules directly in a pull request
Use/propel add to knowledge base in a pull request comment:

2. Add rules in the knowledge base UI
Open the knowledge base page in the app and create or edit rules there:https://app.propelcode.ai/knowledge-base


3. Add rules in .propel/rules
Store repo-specific guidance in .propel/rules. Propel reads these files during review for that repository.

4. Add markdown files as rule sources
You can attach additional markdown files in the knowledge base UI to apply rules across multiple repositories.

Next steps
- Add one rule from a recent pull request.
- Re-run
/propel reviewon an active pull request. - Confirm the rule is applied in Propel comments.