서우 AgentOffice
← 라이브러리
development

Clean 코드

원문: clean-code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

무엇을 하나요

Clean Code Pragmatic AI Coding Standards CRITICAL SKILL Be concise, direct, and solution focused . Core Principles | Principle | Rule | | | | | SRP | Single Responsibility each function/class does ONE thing | | DRY | Don't Repeat Yourself extract duplicates, reuse | | KISS | Keep It Simple simplest solution that works | | YAGNI | You Aren't Gonna Need It don't build unused features | | Boy Scout | Leave code cleaner than you found it | Naming Rules | Element | Convention | | | | | Variables | Reveal intent: userCount not n | | Functions | Verb + noun: getUserById() not user() | | Booleans | Question form: isActive , hasPermission , canEdit | | Constants | SCREAMING SNAKE: MAX RETRY COUNT | R

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.