code-simplifier
Code Simplifier
KISS principle. Full guide: rules/core/simplicity-over-complexity.md
Signals → Actions
signals[5]{signal,action}:
Deep nesting (>3 levels),Flatten with early returns
Long function (>30 lines),Extract smaller functions
Complex conditionals,Use lookup tables
Over-abstraction,Inline single-use code
Premature optimization,Remove unless profiled
Targets
targets[5]{metric,max}:
Cyclomatic complexity,10
Nesting depth,3
Function length,30 lines
File length,300 lines
Parameters,3
Before Writing Code Ask
- Can I delete this? (unused code, dead branches)
- Can I inline this? (single-use abstractions)
- Can I flatten this? (nested conditions)
- Can I use built-ins? (standard library)
- Is this needed now? (YAGNI)
More from nguyenthienthanh/aura-frog
stitch-design
Generate UI designs using Google Stitch AI with optimized prompts
37angular-expert
Angular 17+ gotchas and decision criteria. Covers signals vs observables, standalone patterns, and common pitfalls Claude gets wrong.
31flutter-expert
Flutter/Dart mobile expert. PROACTIVELY use when working with Flutter, Dart, mobile apps. Triggers: flutter, dart, widget, bloc, riverpod
16dev-expert
Development patterns for React, Vue, Laravel, Next.js, React Native - state management, forms, API integration
13react-native-expert
React Native best practices expert. PROACTIVELY use when working with React Native, mobile apps, Expo. Triggers: react-native, expo, mobile, iOS, Android, NativeWind
13visual-pixel-perfect
Pixel-perfect visual testing with auto-fix loop. Implement → Render → Snapshot → Compare → Fix until pass.
13