Signals Migration 6 To 7 logo

Signals Migration 6 To 7

Community
rodydavis
signals-migration-6-to-7

Detailed guidelines, patterns, and rules for migrating codebases from signals.dart version 6.x to version 7.x.

Overview

Publisherrodydavis
Repositorysignals.dart
Skill namesignals-migration-6-to-7
Stars
820
Forks
86
Bundled files
8
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.

  • 8 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 Migration 6 To 7 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/skills/signals-migration-6-to-7
  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/skills/signals-migration-6-to-7 .claude/skills/signals-migration-6-to-7
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Signals Migration 6 To 7 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 Migration 6 To 7 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 Migration 6 To 7 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.

Migrating from signals.dart v6 to v7

This guide provides comprehensive instructions for migrating applications and packages using signals.dart from version 6.x to 7.0.0.

Related Documentation & Items

Related FileDescription
signal_options.mdGuide to migrating scattered parameters (e.g. autoDispose, debugLabel) of signal and computed creators to the new unified options classes.
async_options.mdGuidelines for migrating asynchronous signal creators (futureSignal, streamSignal) to use AsyncSignalOptions.
collection_options.mdInstructions on migrating collection-based signal creators to strongly typed collection options classes.
builder_migration.mdMigration path for SignalBuilder constructor to use the required named builder parameter.
mixin_migration.mdSafe refactoring guidelines for replacing the deprecated SignalsMixin with SignalWidget or localized builders.

1. Unified Options Classes (Named Parameter Pattern)

In v6, signals, computed, effects, and async signals accepted individual parameters like autoDispose, debugLabel, lazy, etc. In v7, all parameters have been unified under a single, cohesive options class parameter.

A. General Signals

  • Before (v6):
    dart
    final count = signal(0, autoDispose: true, debugLabel: 'counter');
  • After (v7):
    dart
    final count = signal(0, options: SignalOptions(autoDispose: true, name: 'counter'));

B. Computed Signals

  • Before (v6):
    dart
    final double = computed(() => count.value * 2, autoDispose: true, debugLabel: 'double');
  • After (v7):
    dart
    final double = computed(() => count.value * 2, options: ComputedOptions(autoDispose: true, name: 'double'));

C. Collections Signals (listSignal, setSignal, mapSignal, etc.)

All collections now accept unified options objects corresponding to their types (e.g. ListSignalOptions, SetSignalOptions, MapSignalOptions, IterableSignalOptions, QueueSignalOptions).

  • Before (v6):
    dart
    final list = listSignal([1, 2], autoDispose: true);
  • After (v7):
    dart
    final list = listSignal([1, 2], options: ListSignalOptions(autoDispose: true));

2. Async Signals Refactoring

All async creators (futureSignal, streamSignal, asyncSignal, computedFrom, computedAsync) now accept only the primary value/callback parameter followed by a named options parameter (AsyncSignalOptions). All other parameters have been marked @Deprecated.

  • Before (v6):
    dart
    final s = futureSignal(() => fetch(), lazy: false, initialValue: 0);
  • After (v7):
    dart
    final s = futureSignal(() => fetch(), options: AsyncSignalOptions(lazy: false, initialValue: 0));

3. Flutter Integration Upgrades

A. Deprecation of SignalsMixin

SignalsMixin is deprecated to prevent state overhead. Use localized widgets or builders instead.

  • Migration:
    • Replace State with SignalsMixin with a stateless SignalWidget or a stateful SignalStatefulWidget.
    • Alternatively, use localized SignalBuilder widgets to wrap only the widgets that depend on signal updates.

B. SignalBuilder Named builder Parameter

The SignalBuilder widget now uses a required named parameter builder instead of a positional argument.

  • Before (v6):
    dart
    SignalBuilder(
      (context, value) => Text('$value'),
    )
  • After (v7):
    dart
    SignalBuilder(
      builder: (context, value) => Text('$value'),
    )

C. Side Effects with SignalEffect / SignalListener

If you were executing side effects inside builds or mixins, migrate them to the localized SignalEffect (or alias SignalListener) widget which manages mounting, didUpdateWidget, and unmounting teardown lifecycle hooks safely.

dart
SignalEffect(
  callback: (context) {
    if (error.value != null) {
      ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text(error.value!)));
    }
  },
  child: MyWidget(),
)

4. Writable Computed Signals (linkedSignal)

If you had custom logic synchronizing external updates back to a computed signal, migrate them to the native linkedSignal or LinkedSignalOptions.

dart
final original = signal('Alice');
final display = linkedSignal(() => original.value);

print(display.value); // 'Alice'
display.value = 'Bob'; // Override manual write
original.value = 'Charlie'; // Source changes -> resets display to 'Charlie'

5. Automated Refactoring via signals_lint

To make migrating from v6 to v7 completely effortless, the signals_lint tool analyzes your code and surfaces instant, automated quick-fixes/assists under your IDE's action menu (Alt+Enter or Cmd+.):

  • Strips legacy with SignalsMixin and replaces the widget with a high-performance SignalStatefulWidget automatically.
  • Converts positional Watch and Watch.builder instances into unified SignalBuilder components.
  • Promotes standard StatelessWidget and StatefulWidget widgets to reactive SignalWidget and SignalStatefulWidget widgets on command.
  • Quickly wraps any widget expression in a surgically targeted SignalBuilder.

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 Migration 6 To 7 AI skill do?

Detailed guidelines, patterns, and rules for migrating codebases from signals.dart version 6.x to version 7.x.

Why use Signals Migration 6 To 7 on TypingMind?

Because you install it once and use it with any model. Signals Migration 6 To 7 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 Migration 6 To 7 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rodydavis/signals.dart/tree/main/skills/signals-migration-6-to-7. 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 Migration 6 To 7?

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 Migration 6 To 7?

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

Is the Signals Migration 6 To 7 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 👇