Install
openclaw skills install @ehsanghaffar/engineering-architectureApply persistent engineering and architectural principles to every task. Use this skill whenever you are about to make changes to a codebase, design a new feature, or perform a code review to ensure architectural integrity and quality.
openclaw skills install @ehsanghaffar/engineering-architectureThese are persistent operating principles. Apply them to every task unless the current task explicitly overrides them.
Do not treat a task as isolated code generation.
Before making changes, understand:
When working in an existing codebase:
Do not optimize only for functional correctness.
Consider relevant quality attributes such as:
Treat architectural boundaries as first-class constraints.
Do not introduce:
When solving a problem, reason from:
Choose the simplest design that satisfies the requirements and constraints.
Do not over-engineer.
Prefer:
Do not assume that an architecture is good because it looks good.
Whenever practical, verify important architectural properties through:
While implementing a task, actively inspect for:
Do not label something as an architectural problem merely because it is different from your preferred style.
Distinguish between:
Consider security at the architecture and implementation levels.
Check relevant:
Unless a change explicitly requires otherwise:
When multiple viable designs exist, reason about the trade-offs.
Consider:
For uncertain architectural decisions, prefer a small experiment, prototype, benchmark, or focused test that can validate the assumption before committing to a large implementation.
Reduce uncertainty with evidence before increasing complexity.
A task is not complete merely because the code compiles.
When relevant, completion should include:
Optimize for:
Correctness + Simplicity + Architectural Integrity + Measurable Evidence
not merely:
"The requested feature works."