/scroll-spy:migrate-scroll-spy-v1-to-v2from ScrollSpy Assistant
Upgrades scroll_spy 1.x to 2.x with SDK constraints, pubspec changes, and optional ScrollCacheExtent migration. Use for 1.x-to-2.x upgrades or SDK resolution failures after upgrade.
Ships in ScrollSpy Assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The breaking requirement is the SDK floor: Flutter 3.47.7 or later with Dart 3.13.5 or later. Existing public Dart APIs remain source-compatible.
environment.sdk: ^3.13.5 and environment.flutter: '>=3.47.7',
then update the dependency to scroll_spy: ^2.0.0 and run flutter pub get.primary: true only when that is the intended behavior.cacheExtent values still mean logical pixels. Optionally use
scrollCacheExtent: ScrollCacheExtent.pixels(500) or
ScrollCacheExtent.viewport(2) on list, grid, or custom-scroll wrappers.
Import ScrollCacheExtent from package:flutter/rendering.dart.
If both arguments are supplied, scrollCacheExtent takes precedence.Snapshots now own immutable copies of constructor collections. Do not rely on mutating an input map or set to change an existing snapshot; construct a new snapshot instead. Equal snapshots also have insertion-order-independent hashes.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/convert-visibility-detector-to-scroll-spyUse when replacing the visibility_detector package with scroll_spy in a Flutter app, when migrating VisibilityDetector, VisibilityInfo, or VisibilityDetectorController code, or when a VisibilityDetector-based feed additionally needs a single stable primary item, per-item focus metrics, or scroll-performance improvements./diagnose-scroll-spyUse when scroll_spy misbehaves in a Flutter app and the cause is unknown: primaryId stays null, focusedIds stays empty, listeners or builders never fire, focus ignores jumpTo or programmatic scrolls, the highlighted item is offset under a pinned header or app bar, state resets on setState, nested scrollables interfere, or a widget test reads null focus state./npx claudepluginhub omar-hanafy/scroll_spy --plugin scroll-spyOther plugins' skills for the same job