Was ist clean-code?
Pragmatische Codierungsstandards – prägnant, direkt, kein Over-Engineering, keine unnötigen Kommentare Quelle: dokhacgiakhoa/antigravity-ide.
Pragmatische Codierungsstandards – prägnant, direkt, kein Over-Engineering, keine unnötigen Kommentare
Installieren Sie den KI-Skill clean-code schnell in Ihrer Entwicklungsumgebung über die Kommandozeile
Quelle: 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.
Pragmatische Codierungsstandards – prägnant, direkt, kein Over-Engineering, keine unnötigen Kommentare Quelle: dokhacgiakhoa/antigravity-ide.
Stabile Felder und Befehle für KI/Such-Zitate.
npx skills add https://github.com/dokhacgiakhoa/antigravity-ide --skill clean-codePragmatische Codierungsstandards – prägnant, direkt, kein Over-Engineering, keine unnötigen Kommentare Quelle: dokhacgiakhoa/antigravity-ide.
Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/dokhacgiakhoa/antigravity-ide --skill clean-code Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw
https://github.com/dokhacgiakhoa/antigravity-ide