Skip to content
Kitbay
Skill

bootstrap-v5-v6-migration

MITUpdated on Nov 11, 2026175,039GitHub stars

A skill kept in Bootstrap's own repository that walks an agent through upgrading a Bootstrap 5 site to the Bootstrap 6 alpha in six ordered steps, searching for leftover version 5 patterns after each one.

What the skill teaches

A skill kept in Bootstrap's own repository that walks an agent through upgrading a Bootstrap 5 site to the Bootstrap 6 alpha in six ordered steps, searching for leftover version 5 patterns after each one. It covers dependency and build changes such as Floating UI replacing Popper and Sass moving from @import to @use, renamed classes including the new prefix syntax for responsive classes, Modal, Offcanvas and Dropdown becoming Dialog, Drawer and Menu, new HTML structures built on native dialog and details elements, ES module JavaScript without jQuery, and renamed Sass files and variables. Bootstrap 4 projects are sent to a separate skill.

Capabilities

  • Upgrade dependencies and switch Sass to @use
  • Rename changed classes and components
  • Rewrite markup for native dialog and details elements
  • Move JavaScript to ES module imports