rea-analysis-optimization
MOmorluto/rea486k8,943 new stars in the last 7 days
Standardized compiler diagnostics, static analysis lints, and automated IDE quick-fixes.
This skill covers working with static code analysis, custom compiler warning diagnostics, and automated quick-fixes in the signals.dart ecosystem.
Ensure the plugin is active in your project to enable real-time IDE diagnostics and fixes:
# pubspec.yaml
dev_dependencies:
custom_lint: ^0.8.1
signals_lint: ^7.0.0
# analysis_options.yaml
analyzer:
plugins:
- custom_lint
signals_avoid_create_in_build_methodFlags instances where a signal or computed variable is created inside a Flutter build method.
signals_avoid_deprecated_watch_extensionFlags uses of deprecated BuildContext.watch() and BuildContext.unwatch() extensions.
SignalBuilder or inherit from SignalWidget/SignalStatefulWidget.signals_avoid_deprecated_signals_mixinFlags usage of deprecated with SignalsMixin mixins on StatefulWidget states.
SignalStatefulWidget instead.signals_prefer_named_builderEnforces named builder: callbacks in SignalBuilder and Watch elements instead of positional arguments.
signals_prefer_unified_optionsFlags direct creator configuration arguments (e.g. autoDispose: true).
options: SignalOptions(autoDispose: true)).Place your cursor on the relevant class name or widget instantiation inside your IDE to reveal these automatic assists via the quick-fix menu (Cmd+. or Alt+Enter):
WrapWithSignalBuilder: Wraps any widget expression inside SignalBuilder(builder: (context) => ...).ConvertStatelessToSignalWidget: Refactors a standard StatelessWidget into a SignalWidget instantly.ConvertStatefulToSignalStatefulWidget: Refactors a standard StatefulWidget to a SignalStatefulWidget.MigrateSignalsMixinToSignalStatefulWidget: Strips the legacy SignalsMixin and converts the class structure to SignalStatefulWidget.MigrateWatchToSignalBuilder: Converts legacy Watch(...) instances into clean SignalBuilder widgets.MOmorluto/rea486k8,943 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days