Code Clarity

Write, review, and simplify Go, Swift, Objective-C, and TypeScript code so behavior has one owner, state is minimal and derivable, failures are grouped by real recovery behavior, APIs expose only necessary concepts, control flow stays flat, and tests protect observable outcomes without forcing production abstractions. Use when code grows through incremental feedback, a diff adds many states/errors/branches/types, naming or flow is hard to follow, calls, conditions, or declarations are mechanically wrapped to a column count, seams and mocks multiply, or a refactor should reduce concepts while preserving behavior and repository conventions.

lakr233 580f94d 3 files · 18.2 KB Updated

File contents

lakr233/code-clarity/tree/main/ commit 580f94d3a8

Frequently asked questions

npx skillmds@latest add lakr233/code-clarity