Clean Code¶
Workflow¶
- Use concrete names and cohesive functions. Make data flow and side effects visible.
- Remove unnecessary branches and duplication only when the shared behavior is actually stable.
- Avoid style-only churn outside the change. Comments should explain constraints or intent, not restate syntax.
- Verify behavior and show how the change reduces an actual maintenance cost.
Completion¶
Return the concrete result, verification evidence and any material unresolved limitation. Keep documentation proportional to the change and preserve human feedback.
Focused references¶
- Detailed examples: load only the section relevant to the task.
Canonical source: skills/software-engineering/clean-code.md.