Token导航 LogoToken导航

Agent Skill · 研究检索

mui-to-bui-migration(穆伊到布伊的迁移)

mui-to-bui-migration 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

mui-to-bui-migration 是研究检索类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为权限未标注;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 36,976。

总安装 1,829周安装 74下载 574核验 2026-05-01
研究检索权限未标注unknown未标认证来源可访问许可证需确认审计未展示Local Agent

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mui-to-bui-migration(穆伊到布伊的迁移)
来源仓库:https://backstage.io
仓库路径:mui-to-bui-migration
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

mui-to-bui-migration 用于查找、检索和筛选相关信息,适合快速定位候选结果。适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索任务。适用于 Local Agent 环境中的信息查询需求。安装方式未知,建议核实来源站点和维护状态后再使用。

适用宿主包括 Local Agent,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:mui-to-bui-migration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 mui-to-bui-migration。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

mui-to-bui-migration 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 mui-to-bui-migration。

mui-to-bui-migration 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

mui-to-bui-migration 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

mui-to-bui-migration 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

mui-to-bui-migration 用的人多吗?

公开数据是累计安装 1,829 次,近一周安装 74 次,下载 574 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

mui-to-bui-migration 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
mui-to-bui-migration

穆伊到布伊的迁移 · 本页

1,829—权限未标注未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

MUI to BUI Migration Skill

This skill helps migrate Backstage plugins from Material-UI (@material-ui/core, @material-ui/icons) to Backstage UI (@backstage/ui).

Prerequisites

Before starting migration:

  1. Install the BUI package: yarn add @backstage/ui
  2. Add the CSS import to your root file (typically src/index.ts or app entry point): import '@backstage/ui/css/styles.css';

Available BUI Components

Layout Components

  • Box - Basic layout container with CSS properties
  • Container - Centered content container with max-width
  • Flex - Flex layout component
  • FullPage - Full-page layout wrapper
  • Grid - CSS Grid-based layout (Grid.Root, Grid.Item)

UI Components

  • Accordion - Collapsible content panels (Accordion, AccordionTrigger, AccordionPanel, AccordionGroup)
  • Alert - Alert/notification banners (status, title, description)
  • Avatar - User/entity avatars
  • Button - Action buttons (variant="primary", variant="secondary", variant="tertiary", isDisabled, destructive, loading)
  • ButtonIcon - Icon-only buttons (icon, onPress, variant)
  • ButtonLink - Link styled as button
  • Card - Content cards (Card, CardHeader, CardBody, CardFooter)
  • Checkbox - Checkbox input
  • Dialog - Modal dialogs (DialogTrigger, Dialog, DialogHeader, DialogBody, DialogFooter)
  • FieldLabel - Form field label with description and secondary label
  • Header - Page headers with breadcrumbs and tabs
  • Link - Navigation links
  • List - List component (List, ListRow)
  • Menu - Dropdown menus (MenuTrigger, Menu, MenuItem, MenuSection, MenuSeparator, SubmenuTrigger)
  • PasswordField - Password input field
  • PluginHeader - Plugin-level header with icon, title, tabs, and actions
  • Popover - Popover overlays
  • RadioGroup - Radio button groups (RadioGroup, Radio)
  • SearchAutocomplete - Search input with autocomplete popover (SearchAutocomplete, SearchAutocompleteItem)
  • SearchField - Search input
  • Select - Dropdown select (single and multiple selection modes)
  • Skeleton - Loading skeleton
  • Switch - Toggle switch
  • Table - Data tables (with useTable hook for data management)
  • TablePagination - Standalone pagination component
  • Tabs - Tab navigation (Tabs, TabList, Tab, TabPanel)
  • Tag - Tag/chip component (replaces MUI Chip)
  • TagGroup - Tag/chip groups
  • Text - Typography component (variant, color, weight, truncate)
  • TextField - Text input (isRequired, onChange receives string directly)
  • ToggleButton - Toggle buttons
  • ToggleButtonGroup - Grouped toggle buttons
  • Tooltip - Tooltip overlays (TooltipTrigger, Tooltip — both from @backstage/ui)
  • VisuallyHidden - Accessibility helper

Hooks

  • useBreakpoint - Responsive breakpoint hook
  • useTable - Table data management hook (supports complete, offset, and cursor pagination modes)

Migration Patterns

1. Import Changes

Remove MUI imports:

// REMOVE these imports
import { Box, Typography, Tooltip, Paper } from '@material-ui/core';
import { makeStyles, Theme } from '@material-ui/core/styles';
import SomeIcon from '@material-ui/icons/SomeIcon';

Add BUI imports:

// ADD these imports
import { Box, Flex, Text, Tooltip, Card } from '@backstage/ui';
import { RiSomeIcon } from '@remixicon/react';
import styles from './MyComponent.module.css';

2. Styling: makeStyles to CSS Modules

Create a .module.css file alongside your component using BUI CSS variables.

Before (MUI makeStyles):

// MyComponent.tsx
import {makeStyles, Theme} from '@material-ui/core/styles';

const useStyles = makeStyles((theme: Theme) => ({
  container: {
    padding: theme.spacing(2),
    backgroundColor: theme.palette.background.paper,
    borderRadius: theme.shape.borderRadius,
  },
  title: {
    marginBottom: theme.spacing(1),
    color: theme.palette.text.primary,
  },
  listItem: {
    display: 'flex',
    alignItems: 'center',
  },
  icon: {
    minWidth: 56,
    color: theme.palette.text.secondary,
  },
}));

function MyComponent() {
  const classes = useStyles();
  return (
    <div className = {classes.container} >
    <Typography className = {classes.title} > Title < /Typography>
      < div
  className = {classes.listItem} >
  <div className = {classes.icon} >
    <SomeIcon / >
    </div>
    < span > Content < /span>
    < /div>
    < /div>
)
  ;
}

After (CSS Modules with BUI variables):

/* MyComponent.module.css */
@layer components {
  .container {
    padding: var(--bui-space-4);
    background-color: var(--bui-bg-neutral-1);
    border-radius: var(--bui-radius-2);
  }

  .title {
    margin-bottom: var(--bui-space-2);
    color: var(--bui-fg-primary);
  }

  .listItem {
    display: flex;
    align-items: center;
    padding: var(--bui-space-2) 0;
  }

  .icon {
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bui-fg-secondary);
  }
}
// MyComponent.tsx
import {Box, Text} from '@backstage/ui';
import {RiSomeIcon} from '@remixicon/react';
import styles from './MyComponent.module.css';

function MyComponent() {
  return (
    <Box className = {styles.container} >
    <Text className = {styles.title} > Title < /Text>
      < div
  className = {styles.listItem} >
  <div className = {styles.icon} >
  <RiSomeIcon size = {24}
  />
  < /div>
  < span > Content < /span>
  < /div>
  < /Box>
)
  ;
}

3. Layout: Box with display to Flex

Before (MUI Box with display prop):

<Box
  display = "flex"
flexDirection = "column"
alignItems = "center"
justifyContent = "space-between"
>
<Box display = "flex"
flexDirection = "row"
gap = {2} >
  {children}
  < /Box>
  < /Box>

After (BUI Flex component):

<Flex direction = "column"
align = "center"
justify = "between" >
<Flex direction = "row"
style = {
{
  gap: 'var(--bui-space-4)'
}
}>
{
  children
}
</Flex>
< /Flex>

Note: BUI Flex uses justify="between" not justify="space-between".

4. Grid Layout

Before (MUI Grid):

<Grid container
spacing = {3} >
  <Grid item
xs = {12}
md = {6} >
  {content}
  < /Grid>
  < /Grid>

After (BUI Grid):

<Grid.Root columns = {
{
  sm: '12'
}
}
gap = "6" >
<Grid.Item colSpan = {
{
  sm: '12', md
:
  '6'
}
}>
{
  content
}
</Grid.Item>
< /Grid.Root>

5. Typography to Text

Before (MUI Typography):

<Typography variant = "h1" > Heading < /Typography>
  < Typography
variant = "h6" > Subheading < /Typography>
  < Typography
variant = "body1" > Body
text < /Typography>
< Typography
variant = "body2"
color = "textSecondary" > Secondary
text < /Typography>

After (BUI Text):

<Text variant = "title-large" > Heading < /Text>
  < Text
variant = "title-small" > Subheading < /Text>
  < Text
variant = "body-medium" > Body
text < /Text>
< Text
variant = "body-small"
color = "secondary" > Secondary
text < /Text>

Valid Text variants: title-large, title-medium, title-small, title-x-small, body-large, body-medium, body-small, body-x-small

6. Tooltip Pattern

Before (MUI Tooltip):

import {Tooltip, Typography} from '@material-ui/core';

<Tooltip title = { < Typography > Tooltip
content < /Typography>}>
< span > Hover
me < /span>
< /Tooltip>;

After (BUI TooltipTrigger pattern):

import { Tooltip, TooltipTrigger, Text } from '@backstage/ui';

<TooltipTrigger>
  <Text>Hover me</Text>
  <Tooltip>Tooltip content</Tooltip>
</TooltipTrigger>;

7. Dialog Pattern

Before (MUI Dialog):

import {Dialog, DialogTitle, DialogActions, Button} from '@material-ui/core';

<Dialog open = {isOpen}
onClose = {onClose} >
<DialogTitle>Title < /DialogTitle>
< DialogActions >
<Button onClick = {onClose} > Cancel < /Button>
  < Button
onClick = {onConfirm}
color = "primary" >
  Confirm
  < /Button>
  < /DialogActions>
  < /Dialog>;

After (BUI Dialog):

import {
  Dialog,
  DialogTrigger,
  DialogHeader,
  DialogFooter,
  Button,
} from '@backstage/ui';

<DialogTrigger>
  <Dialog
    isOpen = {isOpen}
isDismissable
onOpenChange = {open
=>
{
  if (!open) onClose();
}
}
>
<DialogHeader>Title < /DialogHeader>
< DialogFooter >
<Button onClick = {onConfirm}
variant = "primary" >
  Confirm
  < /Button>
  < Button
onClick = {onClose}
variant = "secondary"
slot = "close" >
  Cancel
  < /Button>
  < /DialogFooter>
  < /Dialog>
  < /DialogTrigger>;

8. Button Changes

Before (MUI Button):

<Button variant = "contained"
color = "primary"
disabled = {loading}
onClick = {handleClick} >
  Submit
  < /Button>
  < IconButton
onClick = {handleDelete}
disabled = {!
canDelete
}>
<DeleteIcon / >
</IconButton>

After (BUI Button):

<Button variant = "primary"
isDisabled = {loading}
onClick = {handleClick} >
  Submit
  < /Button>
  < ButtonIcon
aria - label = "delete"
isDisabled = {!
canDelete
}
onPress = {handleDelete}
icon = { < RiDeleteBinLine
size = {16}
/>}
variant = "secondary"
  / >

9. TextField Changes

Before (MUI TextField):

<TextField
  required
  name="title"
  label="Title"
  value={value}
  onChange={e => setValue(e.target.value)}
  fullWidth
/>

After (BUI TextField):

<TextField
  isRequired
  id="title"
  label="Title"
  value={value}
  onChange={newValue => setValue(newValue)} // receives string directly!
/>

Note: BUI TextField onChange receives the string value directly, not an event object.

10. Tabs Pattern

Before (MUI Tabs):

import {Tab} from '@material-ui/core';
import {TabContext, TabList, TabPanel} from '@material-ui/lab';

<TabContext value = {tab} >
<TabList onChange = {handleChange} >
<Tab label = "Tab 1"
value = "tab1" / >
<Tab label = "Tab 2"
value = "tab2" / >
  </TabList>
  < TabPanel
value = "tab1" > Content
1 < /TabPanel>
< TabPanel
value = "tab2" > Content
2 < /TabPanel>
< /TabContext>;

After (BUI Tabs):

import {Tabs, TabList, Tab, TabPanel} from '@backstage/ui';

<Tabs defaultSelectedKey = "tab1" >
<TabList>
  <Tab id = "tab1" > Tab
1 < /Tab>
< Tab
id = "tab2" > Tab
2 < /Tab>
< /TabList>
< TabPanel
id = "tab1" > Content
1 < /TabPanel>
< TabPanel
id = "tab2" > Content
2 < /TabPanel>
< /Tabs>;

11. Menu Pattern

Before (MUI Menu):

import {IconButton, Popover, MenuList, MenuItem} from '@material-ui/core';
import MoreVertIcon from '@material-ui/icons/MoreVert';

<IconButton onClick = {handleOpen} > <MoreVertIcon / > </IconButton>
  < Popover
open = {open}
anchorEl = {anchorEl}
onClose = {handleClose} >
<MenuList>
  <MenuItem onClick = {handleAction} > Action < /MenuItem>
  < /MenuList>
  < /Popover>

After (BUI Menu):

import {ButtonIcon, Menu, MenuItem, MenuTrigger} from '@backstage/ui';
import {RiMore2Line} from '@remixicon/react';

<MenuTrigger>
  <ButtonIcon aria - label = "more"
icon = { < RiMore2Line / >
}
variant = "secondary" / >
<Menu>
  <MenuItem onAction = {handleAction} > Action < /MenuItem>
  < /Menu>
  < /MenuTrigger>;

12. List to BUI List

Before (MUI List):

import { List, ListItem, ListItemIcon, ListItemText } from '@material-ui/core';

<List>
  <ListItem>
    <ListItemIcon>
      <SomeIcon />
    </ListItemIcon>
    <ListItemText primary="Title" secondary="Description" />
  </ListItem>
</List>;

After (BUI List):

import { List, ListRow } from '@backstage/ui';
import { RiSomeIcon } from '@remixicon/react';

<List>
  <ListRow icon={<RiSomeIcon size={20} />} description="Description">
    Title
  </ListRow>
</List>;

Note: ListRow supports icon, description, menuItems, and customActions props.

13. Chip to Tag

Before (MUI Chip):

import { Chip } from '@material-ui/core';

<Chip label="Category" size="small" />;

After (BUI Tag):

import {Tag} from '@backstage/ui';

<Tag size = "small" > Category < /Tag>;

14. Alert Pattern

Before (MUI Alert):

import { Alert, AlertTitle } from '@material-ui/lab';

<Alert severity="error">
  <AlertTitle>Error</AlertTitle>
  Something went wrong.
</Alert>;

After (BUI Alert):

import { Alert } from '@backstage/ui';

<Alert
  status="danger"
  icon
  title="Error"
  description="Something went wrong."
/>;

Status mapping: severity="error" → status="danger", severity="warning" → status="warning", severity="info" → status="info", severity="success" → status="success".

Set icon to true for automatic status icons, or pass a custom ReactElement. Use loading for a loading spinner, and customActions for action buttons.

15. Icons: MUI Icons to Remix Icons

Before (MUI Icons):

import CloseIcon from '@material-ui/icons/Close';
import SearchIcon from '@material-ui/icons/Search';

<CloseIcon / >
<SearchIcon fontSize = "small" / >

After (Remix Icons):

import {RiCloseLine, RiSearchLine} from '@remixicon/react';

<RiCloseLine / >
<RiSearchLine size = {16}
/>

Common icon mappings:

MUI IconRemix Icon
CloseRiCloseLine
SearchRiSearchLine
SettingsRiSettingsLine
AddRiAddLine
DeleteRiDeleteBinLine
EditRiEditLine
CheckRiCheckLine
ErrorRiErrorWarningLine
WarningRiAlertLine
InfoRiInformationLine
ExpandMoreRiArrowDownSLine
ExpandLessRiArrowUpSLine
ChevronRightRiArrowRightSLine
ChevronLeftRiArrowLeftSLine
MenuRiMenuLine
MoreVertRiMore2Line
VisibilityRiEyeLine
VisibilityOffRiEyeOffLine
NewReleasesRiMegaphoneLine
RecordVoiceOverRiMegaphoneLine
DescriptionRiFileTextLine

Find more icons at: https://remixicon.com/

CSS Variable Reference

Spacing

MUI theme.spacing()BUI CSS Variable
theme.spacing(0.5)var(--bui-space-1)
theme.spacing(1)var(--bui-space-2)
theme.spacing(1.5)var(--bui-space-3)
theme.spacing(2)var(--bui-space-4)
theme.spacing(3)var(--bui-space-6)
theme.spacing(4)var(--bui-space-8)

Colors

MUI theme.paletteBUI CSS Variable
text.primaryvar(--bui-fg-primary)
text.secondaryvar(--bui-fg-secondary)
background.papervar(--bui-bg-neutral-1)
background.defaultvar(--bui-bg-app)
primary.mainvar(--bui-bg-solid) or var(--bui-ring)
error.mainvar(--bui-fg-danger)
action.hovervar(--bui-bg-neutral-1-hover)
dividervar(--bui-border-1)

Typography

PropertyBUI CSS Variable
Font familyvar(--bui-font-regular)
Font size smallvar(--bui-font-size-1)
Font size mediumvar(--bui-font-size-2)
Font size largevar(--bui-font-size-3)
Font weight regularvar(--bui-font-weight-regular)
Font weight boldvar(--bui-font-weight-bold)

Other

PropertyBUI CSS Variable
Border radius smallvar(--bui-radius-2)
Border radius mediumvar(--bui-radius-3)
Border radius fullvar(--bui-radius-full)
Link colorvar(--bui-fg-info)

Known Limitations

Some Backstage APIs still require MUI-compatible icon types:

  • NavItemBlueprint (@backstage/frontend-plugin-api): The icon prop expects MUI IconComponent type. Remix icons are not type-compatible.
  • Timeline (@material-ui/lab): No BUI equivalent exists.

For these cases, keep using MUI components.

Migration Checklist

When migrating a plugin:

  1. Add @backstage/ui dependency
  2. Add @remixicon/react dependency (if using icons)
  3. Add CSS import to root file
  4. Remove @material-ui/core imports (except components with no BUI equivalent)
  5. Remove @material-ui/icons imports
  6. Remove @material-ui/lab imports (Alert, Pagination now in BUI)
  7. Remove makeStyles and related imports
  8. Create .module.css files for component styles
  9. Replace Typography with Text
  10. Replace Box display="flex" with Flex
  11. Replace Grid container/item with Grid.Root/Grid.Item
  12. Replace Paper with Card
  13. Replace MUI Dialog with BUI DialogTrigger pattern
  14. Replace MUI Tooltip with BUI TooltipTrigger pattern (both from @backstage/ui)
  15. Replace MUI Tabs with BUI Tabs
  16. Replace MUI Menu with BUI MenuTrigger pattern
  17. Replace Chip with Tag
  18. Replace IconButton with ButtonIcon
  19. Replace MUI Alert with BUI Alert
  20. Replace MUI List with BUI List and ListRow
  21. Update Button props (disabled → isDisabled, variant="contained" → variant="primary")
  22. Update TextField props (required → isRequired, onChange signature)
  23. Replace MUI icons with Remix icons
  24. Run yarn tsc to check for type errors
  25. Run yarn build to verify build
  26. Run yarn lint to check for missing dependencies
  27. Test component rendering and functionality

Reference

平台分布

Local Agent

91.71%
按下载量换算526

安全审计

暂无安全审计结果可展示。

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills