agents/rules/README.md
This directory contains modular, machine-readable engineering rules derived from Cal.com's Engineering Standards for 2026 and Beyond.
Rules are organized by section prefix, as defined in _sections.md:
| Prefix | Section | Impact |
|---|---|---|
architecture- | Architecture | CRITICAL |
quality- | Code Quality | CRITICAL |
data- | Data Layer | HIGH |
api- | API Design | HIGH |
performance- | Performance | HIGH |
testing- | Testing | MEDIUM-HIGH |
patterns- | Design Patterns | MEDIUM |
culture- | Team Culture | MEDIUM |
_sections.md - Defines all sections, their ordering, and impact levels_template.md - Template for creating new rules{section}-{rule-name}.md - Individual rule filesEach rule file follows a consistent format with YAML frontmatter:
---
title: Rule Title Here
impact: CRITICAL | HIGH | MEDIUM | LOW
impactDescription: Optional description (e.g., "20-50% improvement")
tags: tag1, tag2, tag3
---
## Rule Title Here
**Impact: LEVEL (optional description)**
Brief explanation of the rule and why it matters.
**Incorrect (description):**
\`\`\`typescript
// Bad code example
\`\`\`
**Correct (description):**
\`\`\`typescript
// Good code example
\`\`\`
Reference: [Link](url)
_template.md to a new file with the appropriate section prefixThese rules are designed to be:
From the blog post, our engineering philosophy is:
We are building infrastructure that must almost never fail. To achieve this, we move fast while shipping amazing quality software with no shortcuts or compromises.
The rules in this directory encode the specific practices that enable this philosophy.