dart-flutter-equatable-engineering

dart-flutter-equatable-engineering is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 116 tokens per session (3,928 once invoked), scanned A, original, MIT.

A guide for handling value equality in Dart and Flutter code, especially with Equatable and immutable Bloc or Cubit states. It helps decide which fields make two objects logically the same.

In plain words
What is it for?
It supports designing, reviewing, debugging, testing, migrating, and optimizing equality code in Dart and Flutter projects.
Why use it?
Incorrect equality can stop state updates, cause missing UI rebuilds, break cache or collection lookups, and make tests misleading. It also checks package and SDK versions before changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It supports designing, reviewing, debugging, testing, migrating, and optimizing equality code in Dart and Flutter projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ariaramin/flutter-skills --skill dart-flutter-equatable-engineering
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dart-flutter-equatable-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering)
Your own site
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dart-flutter-equatable-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-flutter-equatable-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,928 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.03928
Opus 5.5 $0.00046 $0.01571
Sonnet 5.5 $0.00023 $0.00786
Haiku 4.5 $0.00012 $0.00393

Measured 5d ago against content hash 724d9450477a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dart-flutter-equatable-engineering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dart-flutter-equatable-engineering/SKILL.md · 400 lines

How it starts

The opening of the file, as written. The whole thing — 400 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dart & Flutter Equatable Engineering

Goal

Treat Equatable as an implementation mechanism for an already-defined equality model.

Do not begin with extends Equatable. First determine:

  1. what the type represents;
  2. whether separately constructed instances should be interchangeable;
  3. which fields define that logical value;
  4. whether equality must remain stable for the object's lifetime;
  5. whether Bloc, selectors, caches, sets, maps, or tests rely on that equality;
  6. which single equality mechanism best represents the semantics. Optimize for correctness first. Equality mistakes can silently alter state emission, rebuild behavior, cache keys, map/set lookup, deduplication, and tests.

Research baseline and freshness guard

The bundled source is based on Equatable 2.1.0 behavior, Dart equality documentation, and current Bloc/flutter_bloc behavior from that research baseline.

Before changing repository code:

  • inspect pubspec.yaml and pubspec.lock;
  • identify the Equatable version;
  • identify Dart/Flutter constraints;
  • identify Bloc/flutter_bloc versions when state equality is involved;
  • verify version-sensitive APIs before migrating legacy code. Important baseline facts from the supplied research:
  • Equatable 2.1.0 requires Dart >=3.0.0 <4.0.0;
  • Equatable is an abstract mixin class in that version;
  • legacy EquatableMixin is deprecated in favor of with Equatable;
  • Equatable equality includes runtimeType and props;
  • current Equatable structurally compares supported lists/iterables, sets, maps, and nested values;
  • current Bloc/Cubit suppresses later emissions when the next state equals the current state, with the documented first-emission exception. Do not silently project these details onto a repository using materially different versions.

Reference routing

Load only the reference relevant to the task.

Task Read
Choosing equality semantics; Equatable API; props; nested objects; collections; inheritance; entities; records; generators; manual equality references/01-equality-modeling.md
Bloc/Cubit states/events; copyWith; selectors; hash collections; stringify; sensitive output references/02-bloc-state-and-stringify.md
Equality performance; large collections; profiling; tests; debugging wrong equality references/03-performance-testing-debugging.md
Anti-pattern review; new-model workflow; existing-code review; migrations; production checklists references/04-antipatterns-workflows-checklists.md
Read the full relevant reference before making a high-risk semantic change.

Read the full file on GitHub · 400 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 400 lines · 116 tokens per session scan A 724d9450477a

Subscribe to this mod's changes

dart-flutter-equatable-engineering is a skill published in the GitHub repository ariaramin/flutter-skills (6 stars, last pushed 5d ago), licensed MIT. It adds 116 tokens to every session and 3,928 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-11.

Related

Other skills, from other repositories

fix-bug

Diagnoses and fixes bugs using a test-first workflow (reproduce, diagnose, fix). Use this skill whenever the user reports a bug, describes unexpected behavior, or asks to investigate or fix a defect. Even if the user says "something's broken", "this isn't working", "fix this bug", or "why does X happen", load this…

nowsprinting/unity-coding-skills · 86 tokens

investigate

A structured root-cause investigation method for software bugs. It moves from history and reproduction through tested hypotheses, a focused fix, verification, and a report.

AbyssCN/oh-my-dag · 77 tokens

test-fix

Automatically invoke when any test run produces failures. Triggers on: test output showing FAIL, test errors, or assertion failures in unit or E2E suites. Applies a strict 3-attempt limit per failure to avoid debugging spirals — stops and escalates if not resolved. Do NOT wait for user to ask; invoke immediately when…

jerseycheese/agent-skills · 91 tokens

fix-bug

Investigates and fixes a reported bug. Reads relevant code, identifies the root cause, proposes a fix, and adds or updates tests to prevent regression. Invoked when the user describes unexpected behavior, an error, a crash, or a failing test.

soulcodex/agentic · 54 tokens

build-test

Run the project's build / typecheck / lint / test commands and emit the build.passing + tests.passing signals devloop convergence reads.

wolfenazz/YzPzCode · 31 tokens

test-master

Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation…

eric861129/SKILLS_All-in-one · 104 tokens