Bestax: Migrate
БесплатноБез исполняемых скриптовНе проверенMigrate an existing React app to @allxsmith/bestax-bulma on Bulma v1, from raw Bulma CSS classes on plain JSX (className="button is-primary") or from an…
от allxsmith362 установки в других каталогахОб этом скилле
Migrating to bestax-bulma
@allxsmith/bestax-bulma is an actively maintained React library for Bulma v1. The
bestax-migrate codemod automates most of the conversion from an unmaintained predecessor;
this skill drives the codemod and finishes what it flags.
Pick the source
The codemod's first argument names the library you are migrating from. Check the app's
package.json and imports:
| Source | Argument | References |
|---|---|---|
react-bulma-components v4 (unmaintained since 2022, Bulma 0.9.x) |
react-bulma-components |
references/react-bulma-components/ |
rbx v2 (abandoned 2019, pins Bulma 0.7.5 plus four extensions) |
rbx |
references/rbx/ |
bloomer 0.6 (archived 2018, Bulma 0.6 era, React 16 + create-react-class) |
bloomer |
references/bloomer/ |
Raw Bulma classes on plain JSX (<div className="box">), no React Bulma library |
bulma-classes |
references/bulma-classes/ |
Everything below is written as <source>; substitute the argument from that table. The
reference paths follow the same split — references/<source>/component-map.md,
prop-map.md, unmappables.md — while
references/css-migration.md is shared, because the stylesheet
work is about Bulma, not about which wrapper you came from.
Workflow
Run these steps in order. Don't hand-convert what the codemod converts automatically.
Dry-run the codemod on the source directory and review the report:
pnpm dlx bestax-migrate <source> src/ --dryApply it (same command without
--dry), then run the project's formatter — the codemod preserves surrounding formatting but doesn't prettify what it rewrites. Besides the components, it also migrates stylesheets (CSS imports →@allxsmith/bestax-bulma/bestax.css; SCSS@import 'bulma/bulma'+$varoverrides →@use 'bulma/sass' with (…)plus the bestax extras) and package.json. Flags:--css bulma|keepfor other stylesheet targets,--no-depsto leave package.json alone.bulma-classesis the exception: it defaults to--css keep, because the app's own Bulma already styles every class it converts, so its stylesheets and Bulma version stay unless you pass--css bestaxor--css bulma.Install — the codemod edits package.json but never runs a package manager. Resolve the retained imports first: a component with no bestax equivalent keeps a trimmed, TODO-annotated import of the source library, which the manifest step has just removed — so a clean install leaves those unresolvable. The report names them in a
depsentry.npm install # or pnpm/yarnThe report groups its entries by rule.
depscovers every package.json edit — what was removed, added, or left for you to decide;importscovers a source import the codemod could not rewrite and left in place;unsupported-filenames a file type it cannot parse (.vue,.astro) that still imports the source;value-referencemarks a component used as a value rather than as JSX. Rules namedcomponent:Xandprop:yare per-component and per-prop, and each is documented in the per-sourcereferences/pages.The report's
peer-depsentries predict install failures: bestax-bulma needs React 18/19 (react-bulma-components also ran on 17, while rbx and bloomer peer-depended on React 16 — upgrade react/react-dom first) and its optional Font Awesome peer wants FA ≥ 6.7 (an app pinned to FA 5 either upgrades or installs withnpm install --legacy-peer-deps).Resolve every TODO:
grep -rn "TODO(bestax-migrate)" src/. Each comment names the prop/component and a hint. Recipes for every recurring case are inreferences/<source>/unmappables.md. Before writing a component by hand, look it up inreferences/<source>/component-map.mdand its classes inreferences/<source>/prop-map.md: they name the component and the prop for each class, which the library's type declarations only tell you slowly. For form markup (.field,.control, inputs, selects), load thebestax-formskill too: it covers the label,idand help-text wiring. Delete each comment as you resolve it.*Finish the stylesheet layer
Установить Bestax: Migrate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Bestax: Migrate?
Migrate an existing React app to @allxsmith/bestax-bulma on Bulma v1, from raw Bulma CSS classes on plain JSX (className="button is-primary") or from an unmaintained React Bulma library (react-bulma-components v4, rbx v2, bloomer 0.6). Run the bestax-migrate codemod, then resolve every TODO(bestax-migrate) comment it leaves using the per-source mapping references. Use when a React app styles its markup with Bulma classes and wants bestax components instead, when a repo imports react-bulma-components, rbx or bloomer, when TODO(bestax-migrate) comments are present in a codebase, or when asked to convert Bulma classNames to bestax-bulma.
Как установить скилл Bestax: Migrate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Bestax: Migrate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic