signals-lint
Skill by rodydavis
Adds signals.dart lint rules and IDE quick-fixes that flag misuse of signals in Flutter code and help migrate older widgets to SignalWidget forms. Built for Dart and Flutter developers using signals.dart.
Install signals-lint
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rodydavis/signals.dart /tmp/signals.dart && mkdir -p ~/.claude/skills && cp -r /tmp/signals.dart/skills/signals-lint ~/.claude/skills/signals-lintRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rodydavis/signals.dart /tmp/signals.dart && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/signals.dart/skills/signals-lint ~/.gemini/antigravity-cli/skills/signals-lintAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
signals_lint is an agent skill that covers static code analysis, custom compiler warning diagnostics, and automated quick-fixes in the signals.dart ecosystem. It is set up through a pubspec.yaml dev dependency on signals_lint and custom_lint, plus a custom_lint entry under analyzer plugins in analysis_options.yaml. Once active, it provides real-time IDE diagnostics.
The skill documents five lint rules. They flag signal creation inside a Flutter build method, deprecated BuildContext watch extensions, deprecated SignalsMixin usage, positional builder arguments, and direct creator configuration arguments. It also lists five IDE quick-fixes, such as wrapping a widget in SignalBuilder and converting StatelessWidget or StatefulWidget classes to their signal-based equivalents. It is aimed at Flutter developers who use signals.dart.
Written from the project's SKILL.md and checked against it.
What it can do
- signals_avoid_create_in_build_methodFlags signals or computed values created inside a Flutter build method.
- signals_avoid_deprecated_watch_extensionFlags deprecated BuildContext.watch() and BuildContext.unwatch() calls.
- signals_avoid_deprecated_signals_mixinFlags deprecated SignalsMixin usage on StatefulWidget states.
- signals_prefer_named_builderEnforces named builder: callbacks in SignalBuilder and Watch elements.
- signals_prefer_unified_optionsFlags direct creator arguments and suggests bundling them in SignalOptions.
- WrapWithSignalBuilderQuick-fix that wraps a widget expression in SignalBuilder(builder: ...).
- ConvertStatelessToSignalWidgetQuick-fix that refactors a StatelessWidget into a SignalWidget.
- ConvertStatefulToSignalStatefulWidgetQuick-fix that refactors a StatefulWidget into a SignalStatefulWidget.
- MigrateSignalsMixinToSignalStatefulWidgetQuick-fix that removes SignalsMixin and converts the class to SignalStatefulWidget.
- MigrateWatchToSignalBuilderQuick-fix that converts Watch(...) instances into SignalBuilder widgets.
What you need
- A Dart project with a pubspec.yaml file
- custom_lint ^0.8.1 as a dev dependency
- signals_lint ^7.0.0 as a dev dependency
- An IDE with a quick-fix menu (Cmd+. or Alt+Enter)
Try asking
- Check my Flutter widget for signals created inside build and suggest a fix.
- Wrap this widget expression in a SignalBuilder for me.
- Convert this StatefulWidget to a SignalStatefulWidget.
Good to know
- The rules target the signals.dart ecosystem and do not apply to other state libraries.
- Several rules flag deprecated APIs, so older code will show warnings until migrated.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/signals-lint/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
CONTEXT.md346 B -
SKILL.md3 KB
Alternatives to signals-lint
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
signals-lint: common questions
What does signals_lint check in Flutter code?
It flags signals created inside build methods, deprecated watch and SignalsMixin usage, positional builder arguments, and direct creator configuration arguments. Each rule has a stated problem and suggested solution in the source.
Which IDE quick-fixes does signals_lint provide?
It provides five quick-fixes: WrapWithSignalBuilder, ConvertStatelessToSignalWidget, ConvertStatefulToSignalStatefulWidget, MigrateSignalsMixinToSignalStatefulWidget, and MigrateWatchToSignalBuilder. They appear in the quick-fix menu when the cursor is on the relevant class or widget.
Why should signals not be created inside a build method?
The source says creating state during build causes it to reset on every rebuild. It recommends moving creation to class fields or initializing it inside a state lifecycle hook.
How do I install signals-lint?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is signals-lint free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is signals-lint safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to signals-lint?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
