Back to Cal

Sections

agents/rules/_sections.md

6.2.01.7 KB
Original Source

Sections

This file defines all sections, their ordering, impact levels, and descriptions. The section ID (in parentheses) is the filename prefix used to group rules.


1. Architecture (architecture)

Impact: CRITICAL Description: Vertical Slice Architecture and Domain-Driven Design patterns that form the foundation of our codebase organization.

2. Code Quality (quality)

Impact: CRITICAL Description: Standards for maintaining high-quality, maintainable code including PR reviews, testing, and accountability.

3. Data Layer (data)

Impact: HIGH Description: Repository patterns, DTOs, and technology isolation to prevent coupling and enable maintainability.

4. API Design (api)

Impact: HIGH Description: Controller patterns, API stability, and proper separation of HTTP concerns from business logic.

5. Performance (performance)

Impact: HIGH Description: Algorithm complexity, data structure choices, and performance patterns for enterprise scale.

6. Testing (testing)

Impact: MEDIUM-HIGH Description: Test coverage requirements and testing strategies for maintaining code quality.

7. Design Patterns (patterns)

Impact: MEDIUM Description: Factory patterns, dependency injection, and other design patterns for clean, maintainable code.

8. Team Culture (culture)

Impact: MEDIUM Description: Engineering culture, accountability, and collaboration standards.

9. CI/CD (ci)

Impact: HIGH Description: Continuous integration practices, type checking priorities, and git workflow standards.

10. Reference (reference)

Impact: LOW Description: Informational lookups, file locations, and local development setup guides.