base
Installation
SKILL.md
Base Skill - Universal Patterns
Core Principle
Complexity is the enemy. Every line of code is a liability. The goal is software simple enough that any engineer (or AI) can understand the entire system in one session.
Simplicity Rules
These limits apply to every file created or modified.
Function Level
- Maximum 20 lines per function - if longer, decompose IMMEDIATELY
- Maximum 3 parameters per function - if more, use an options object or decompose
- Maximum 2 levels of nesting - flatten with early returns or extract functions
- Single responsibility - each function does exactly one thing
- Descriptive names over comments - if you need a comment to explain what, rename it
Related skills
More from alinaqi/claude-bootstrap
android-kotlin
Android Kotlin development with Coroutines, Jetpack Compose, Hilt, and MockK testing
2.0Kpwa-development
Progressive Web Apps - service workers, caching strategies, offline, Workbox
1.4Kplaywright-testing
E2E testing with Playwright - Page Objects, cross-browser, CI/CD
1.2Kui-mobile
Mobile UI patterns - React Native, iOS/Android, touch targets
689posthog-analytics
PostHog analytics, event tracking, feature flags, dashboards
538flutter
Flutter development with Riverpod state management, Freezed, go_router, and mocktail testing
496