Index of every page on this site: llms.txt
All skills
allxsmith avatar

/bestax-migrate

@9cf369a
by Alex Smithallxsmith/bestax15 stars
2
Run it yourself

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 in static HTML pages and templates styled with Bulma, 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 static HTML pages or templates styled with Bulma should become React components, 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.

Use this Skill: https://skilld.dev/gh/allxsmith/bestax/bestax-migrate

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesrbxcomponent-map.md

≈3.7k tokens on demand. Your agent reads this file only when SKILL.md points to it.

rbx → bestax-bulma component map

Every rbx v2 export and its dot-notation compounds. structural means the codemod rewrites the element's shape rather than renaming it (see unmappables.md for what each one produces). A todo row has no bestax counterpart — the codemod keeps the rbx import, annotated, so the app still runs while you convert it.

This table mirrors MAPPING in bestax-migrate/src/sources/rbx/mapping.ts, which a coverage test holds to rbx's own export surface in both directions.

rbx bestax-bulma status
Block Block mapped
Box Box mapped
Breadcrumb Breadcrumb mapped
Breadcrumb.Item structural mapped
Button Button mapped
Button.Group Buttons mapped
Card Card mapped
Card.Content Card.Content mapped
Card.Image Card.Image mapped
Card.Header Card.Header mapped
Card.Header.Title Card.Header.Title mapped
Card.Header.Icon Card.Header.Icon mapped
Card.Footer Card.Footer mapped
Card.Footer.Item Card.FooterItem mapped
Checkbox Checkbox mapped
Column Column mapped
Column.Group Columns mapped
Container Container mapped
Content Content mapped
Content.OrderedList OrderedList mapped
Content.OrderedList.Item OrderedList.Item mapped
Control Control mapped
Delete Delete mapped
Divider Divider partial
Dropdown Dropdown partial
Dropdown.Container structural mapped
Dropdown.Content structural mapped
Dropdown.Menu structural mapped
Dropdown.Trigger structural mapped
Dropdown.Item Dropdown.Item mapped
Dropdown.Divider Dropdown.Divider mapped
Dropdown.Context — (see unmappables) todo
Field Field mapped
Field.Label Field.Label mapped
Field.Body Field.Body mapped
Fieldset Fieldset mapped
File File mapped
File.CTA — (see unmappables) todo
File.Icon — (see unmappables) todo
File.Input — (see unmappables) todo
File.Label — (see unmappables) todo
File.Name — (see unmappables) todo
Footer Footer mapped
Generic — (see unmappables) todo
Heading structural partial
Help structural mapped
Hero Hero mapped
Hero.Body Hero.Body mapped
Hero.Foot Hero.Foot mapped
Hero.Head Hero.Head mapped
Highlight — (see unmappables) todo
Icon Icon partial
Image Image mapped
Image.Container structural mapped
Input Input mapped
Label structural mapped
Level Level mapped
Level.Item structural mapped
List — (see unmappables) todo
List.Item — (see unmappables) todo
Loader structural mapped
Media Media mapped
Media.Item structural mapped
Menu Menu mapped
Menu.Label Menu.Label mapped
Menu.List Menu.List mapped
Menu.List.Item Menu.Item mapped
Message Message mapped
Message.Body Message.Body mapped
Message.Header Message.Header mapped
Modal Modal partial
Modal.Background Modal.Background mapped
Modal.Close Modal.Close mapped
Modal.Content Modal.Content mapped
Modal.Container structural mapped
Modal.Card Modal.Card mapped
Modal.Card.Body Modal.Card.Body mapped
Modal.Card.Foot Modal.Card.Foot mapped
Modal.Card.Head Modal.Card.Head mapped
Modal.Card.Title Modal.Card.Title mapped
Modal.Context — (see unmappables) todo
Modal.Portal — (see unmappables) todo
Navbar Navbar mapped
Navbar.Brand Navbar.Brand mapped
Navbar.Burger Navbar.Burger mapped
Navbar.Divider Navbar.Divider mapped
Navbar.Menu Navbar.Menu mapped
Navbar.Link Navbar.Link mapped
Navbar.Item Navbar.Item mapped
Navbar.Item.Container structural mapped
Navbar.Dropdown structural mapped
Navbar.Segment structural mapped
Navbar.Container structural mapped
Navbar.Context — (see unmappables) todo
Notification Notification mapped
Numeric — (see unmappables) todo
PageLoader Loading mapped
Pagination Pagination mapped
Pagination.Link Pagination.Link mapped
Pagination.List Pagination.List mapped
Pagination.Ellipsis Pagination.Ellipsis mapped
Pagination.Step structural mapped
Panel Panel mapped
Panel.Heading Panel.Heading mapped
Panel.Block Panel.Block mapped
Panel.Icon Panel.Icon partial
Panel.Tab structural mapped
Panel.Tab.Group Panel.Tabs mapped
Progress Progress mapped
Radio Radio mapped
Section Section mapped
Select Select mapped
Select.Container structural mapped
Select.Option structural mapped
Tab Tabs.Item mapped
Tab.Group Tabs mapped
Table Table mapped
Table.Body Table.Tbody mapped
Table.Cell Table.Td mapped
Table.Foot Table.Tfoot mapped
Table.Head Table.Thead mapped
Table.Heading Table.Th mapped
Table.Row Table.Tr mapped
Tag Tag mapped
Tag.Group Tags mapped
Textarea TextArea mapped
Tile — (see unmappables) todo
Title structural mapped
forwardRefAs — (see unmappables) todo

The renames worth memorising

rbx bestax-bulma
Tag.Group Tags
Button.Group Buttons
Column.Group Columns
Card.Footer.Item Card.FooterItem
Table.Head / .Body / .Foot Table.Thead / .Tbody / .Tfoot
Table.Row / .Cell / .Heading Table.Tr / .Td / .Th
Textarea TextArea
Fieldset Fieldset with variant="unstyled", the bestax look that draws no box, as rbx's bare <fieldset> drew none. Like any bestax Fieldset it keeps a block's spacing under it unless it's the last child, which mb="0" takes away
PageLoader Loading with isFullPage
Loader a plain <div className="loader"> — bestax's Loading is an overlay that renders nothing unless active; bestax's Loader renders the same ring as a named progressbar, so swap it in by hand
Menu.List.Item Menu.Item
Tab / Tab.Group Tabs.Item / Tabs, the items in a plain <ul>
Panel.Tab.Group Panel.Tabs
Title subtitle SubTitle

Inside a Field or a Control in the same component, Fieldset stays the plain <fieldset> rbx rendered instead. bestax's Fieldset starts a Field scope of its own, so an input placed straight in it there would render its own .field and .control. A Field in another component that renders this one is out of the codemod's sight, so where an input sits straight in a Fieldset it converts, it leaves a component:Fieldset TODO (see unmappables.md).

Value-chosen targets

These pick a bestax component from a literal prop value; a dynamic value gets a TODO instead.

rbx value bestax-bulma
Level.Item align="left" / "right" Level.Left / Level.Right
Media.Item align="left" / "content" / "right" Media.Left / Media.Content / Media.Right
Navbar.Segment align="start" / "end" Navbar.Start / Navbar.End
Pagination.Step align="previous" / "next" Pagination.Previous / Pagination.Next
Navbar.Item dropdown Navbar.Dropdown

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    The skill provides comprehensive instructions and reference material for migrating React applications or static HTML pages to the @allxsmith/bestax-bulma library using the bestax-migrate codemod. No malicious patterns or security risks were identified.

  • Socket18d

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 9cf369a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 days ago

README badge

README badge for allxsmith/bestax/bestax-migrate