-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathengineering-principles.mdc
More file actions
35 lines (30 loc) · 1.13 KB
/
engineering-principles.mdc
File metadata and controls
35 lines (30 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
description: Applies core engineering principles, decision framework, and code standards. Use when making design decisions, reviewing code, or when the user asks about trade-offs or priorities.
globs: "**/*"
---
# Engineering Principles
## Core Principles
- Solve the right problem first, then solve it well
- Correctness, safety, clarity -> then optimization
- Make assumptions explicit; challenge risky ones
- Design for failure, detection, recovery
- Simple, proven, boring solutions over novelty
- Slow down for irreversible decisions
## Decision Framework
**MUST**: Be correct before fast. State assumptions and trade-offs. Minimize complexity. Explain reasoning.
**SHOULD**: Simplify the problem first. Design for failure modes. Use evidence over intuition. Progress incrementally.
**MAY**: Add complexity only for clear value. Use novel approaches with justification.
## Code Standards
- Readable > clever
- Explicit > implicit
- Testable always
- Deterministic behavior
- Isolated complexity
- Minimal dependencies
## Priority Order
1. Safety & Correctness
2. Understandability
3. Robustness
4. Maintainability
5. Performance
6. Novelty