Signals Hooks logo

Signals Hooks

Community
rodydavis
signals_hooks

Comprehensive hook utility functions integrating reactive signals seamlessly with flutter_hooks.

Overview

Publisherrodydavis
Repositorysignals.dart
Skill namesignals_hooks
Stars
820
Forks
86
Bundled files
20
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 20 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by rodydavis on GitHub. Read the source before you install it.

Installation

Install the Signals Hooks AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/signals_hooks
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rodydavis/signals.dart.git /tmp/signals.dart
mkdir -p .claude/skills
cp -r /tmp/signals.dart/.agents/skills/signals_hooks .claude/skills/signals_hooks
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Signals Hooks in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Signals Hooks on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Signals Hooks is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Signals Hooks Skill

This skill provides comprehensive instructions and reference guidelines for utilizing signals_hooks package in Flutter applications. It integrates signals_flutter reactivity with the dynamic widget-state lifecycles of flutter_hooks.

Modern Positional Options API

In signals.dart v7, all hooks have been migrated to use a clean positional Options pattern instead of verbose named parameters. The positional parameters are structured as [keys, options]. To supply options (like name, autoDispose, or equality inside classes like SignalOptions, AsyncSignalOptions, or ListSignalOptions), they must be passed as the second positional optional argument, with the keys dependency list passed as the first positional optional argument (e.g., useSignal(value, const [], SignalOptions(name: 'counter'))).

Hook Reference Summary Table

Hook NameOptions TypeDescription
useSignalSignalOptionsWraps a standard mutable Signal bound to the hook state lifecycle.
useComputedComputedOptionsCreates a read-only Computed signal that caches computed values and tracks changes.
useSignalEffect-Registers a side-effect callback that automatically disposes when the hook unmounts.
useExistingSignal-Safely binds an existing, external signal to automatically rebuild the widget on change.
useSignalValue-Directly extracts and watches the value of a signal, returning the unwrapped T value.
useFutureSignalAsyncSignalOptionsTriggers an asynchronous callback and returns its result wrapped in a FutureSignal.
useStreamSignalAsyncSignalOptionsSubscribes to a Stream and exposes its events via a StreamSignal.
useAsyncSignalAsyncSignalOptionsWraps an asynchronous task state inside a manageable AsyncSignal.
useAsyncComputedAsyncSignalOptionsCreates a reactive computed signal driven by an asynchronous callback.
useValueNotifierToSignalSignalOptionsBridges a standard Flutter ValueNotifier to a mutable reactive Signal.
useValueListenableToSignalSignalOptionsBridges a standard Flutter ValueListenable to a read-only ReadonlySignal.
useListSignalListSignalOptionsCreates a reactive ListSignal for list collections.
useSetSignalSetSignalOptionsCreates a reactive SetSignal for set collections.
useIterableSignalIterableSignalOptionsCreates a reactive IterableSignal for iterable collections.
useMapSignalMapSignalOptionsCreates a reactive MapSignal for key-value collections.
useTrackedSignalTrackedSignalOptionsCreates a TrackedSignal that remembers its previous values.
useQueueSignalQueueSignalOptionsCreates a reactive QueueSignal for queue collections.
useChangeStackSignalChangeStackSignalOptionsCreates a ChangeStackSignal that manages undo/redo history.
useLinkedSignalLinkedSignalOptionsCreates a writable computed LinkedSignal bridging two signals.
useLazySignalSignalOptionsCreates a LazySignal initialized lazily on first access.

Best Practices

  1. Avoid Named Parameters: Do NOT pass named configuration parameters (like name or autoDispose) directly to hooks. Always wrap them in the positional Options parameter.
  2. Positional Parameter Order: The first positional optional parameter is keys (list of dependencies), and the second positional optional parameter is options (the options configuration object).
  3. Memory Safety: signals_hooks automatically disposes all created signals and effects when the widget is unmounted, preventing memory leaks.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Signals Hooks AI skill do?

Comprehensive hook utility functions integrating reactive signals seamlessly with flutter_hooks.

Why use Signals Hooks on TypingMind?

Because you install it once and use it with any model. Signals Hooks is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Signals Hooks in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/signals_hooks. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Signals Hooks?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Signals Hooks?

As many as you like. As long as a model supports skills, you can use Signals Hooks with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Signals Hooks AI skill free?

Yes. It is published on GitHub by rodydavis under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇