clean-code とは?
実用的なコーディング標準 - 簡潔、直接的、過剰なエンジニアリングや不要なコメントなし ソース: dokhacgiakhoa/antigravity-ide。
実用的なコーディング標準 - 簡潔、直接的、過剰なエンジニアリングや不要なコメントなし
コマンドラインで clean-code AI スキルを開発環境にすばやくインストール
ソース: dokhacgiakhoa/antigravity-ide。
| 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 |
| Variables | Reveal intent: userCount not n | | Functions | Verb + noun: getUserById() not user() | | Booleans | Question form: isActive, hasPermission, canEdit | | Constants | SCREAMINGSNAKE: MAXRETRYCOUNT |
Rule: If you need a comment to explain a name, rename it.
実用的なコーディング標準 - 簡潔、直接的、過剰なエンジニアリングや不要なコメントなし ソース: dokhacgiakhoa/antigravity-ide。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/dokhacgiakhoa/antigravity-ide --skill clean-code実用的なコーディング標準 - 簡潔、直接的、過剰なエンジニアリングや不要なコメントなし ソース: dokhacgiakhoa/antigravity-ide。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/dokhacgiakhoa/antigravity-ide --skill clean-code インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/dokhacgiakhoa/antigravity-ide