Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
Claude's review
7/10 react-horizontal-scrolling-menu migration cheat sheet with era tells and rewrites, narrow to one library but precise
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Detect and upgrade pre-v8 react-horizontal-scrolling-menu patterns that agents trained on older data still generate: destructured visibleElements/isFirstItemVisible/isLastItemVisible/initComplete (removed v6), Separator items, separatorClassName and getPrevItem/getNextItem (removed v7), the Arrows prop (removed v3), missing dist/styles.css import (required since v4), CJS require of the ESM-only package (v5), transitionDuration/transitionBehavior silently ignored after the v8 noPolyfill flip, the misleading 8.1.0 changelog BREAKING block, and >=8.2.2 for TypeScript moduleResolution node16/bundler. Load when upgrading versions or whenever generated or reviewed code uses any of those removed APIs.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: 'menu-migration'
description: >
Detect and upgrade pre-v8 react-horizontal-scrolling-menu patterns that
agents trained on older data still generate: destructured
visibleElements/isFirstItemVisible/isLastItemVisible/initComplete (removed
v6), Separator items, separatorClassName and getPrevItem/getNextItem
(removed v7), the Arrows prop (removed v3), missing dist/styles.css import
(required since v4), CJS require of the ESM-only package (v5),
transitionDuration/transitionBehavior silently ignored after the v8
noPolyfill flip, the misleading 8.1.0 changelog BREAKING block, and
>=8.2.2 for TypeScript moduleResolution node16/bundler. Load when
upgrading versions or whenever generated or reviewed code uses any of
those removed APIs.
metadata:
type: lifecycle
library: 'react-horizontal-scrolling-menu'
library_version: '8.3.2'
sources:
- 'asmyshlyaev177/react-horizontal-scrolling-menu:CHANGELOG.md'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:README.md'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:src/index.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:src/createApi.ts'
---
# react-horizontal-scrolling-menu — Migration from older versions
Training data, tutorials and StackOverflow answers for this library are
dominated by v2–v5 APIs that no longer exist in v8. Every removal fails
silently or with an unhelpful runtime error — never a deprecation warning.
Identify which era a piece of code targets first, then apply the matching
rewrite. There are no codemods; each boundary is a small mechanical change.
## Setup
The migration target: canonical v8.2.3 usage that every old pattern below
converges on.
```bash
npm install react-horizontal-scrolling-menu@^8.2.3
...From asmyshlyaev177's repository, MIT licence.
Related skills
-
Checked
TinyBase app builder
Scaffolds and extends local first JavaScript apps with TinyBase, including schemas, persistence and sync.
7/101 credit -
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
8/101 credit -
Checked
Screenshot to React code
Rebuilds a screenshot or mockup as React, TypeScript and Tailwind code that closely matches the design.
7/101 credit -
Checked
Map location picker
Adds a map pin picker to a web form, so users can choose and submit one exact spot like a delivery address.
7/101 credit -
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
9/101 credit -
Checked
Ionic App Interface Builder
Builds and fixes Ionic screens, theming and dark mode, and guides your upgrade to Ionic 9 without surprises.
7/101 credit