oxygen-migrate
БесплатноБез исполняемых скриптовНе проверенMigrate existing MUI code to Oxygen UI patterns. Use when converting @mui/material imports, replacing MUI components, or updating to Oxygen UI conventions.
Об этом скилле
Migrate to Oxygen UI
Instructions
- Read
.claude/oxygen-ui/migration.mdfor full guide - Update imports from
@mui/*to@wso2/oxygen-ui - Replace
lucide-reacticons with@wso2/oxygen-ui-icons-react - Add
OxygenUIThemeProviderwrapper
Migration Checklist
- Replace
@mui/materialimports with@wso2/oxygen-ui - Replace
@mui/icons-materialorlucide-reactwith@wso2/oxygen-ui-icons-react - Update MUI X imports to use namespaced exports
- Wrap root with
OxygenUIThemeProvider - Replace
ThemeProviderwithOxygenUIThemeProvider - Update custom theme to use
OxygenThemeBase
Import Migration
MUI Components
Before:
import { Box, Stack, Button } from '@mui/material';
import Typography from '@mui/material/Typography';
import { styled } from '@mui/material/styles';
After:
import { Box, Stack, Button, Typography, styled } from '@wso2/oxygen-ui';
Icons
Before (MUI Icons):
import SettingsIcon from '@mui/icons-material/Settings';
import HomeIcon from '@mui/icons-material/Home';
import DeleteIcon from '@mui/icons-material/Delete';
Before (Lucide React):
import { Settings, Home, Trash2 } from 'lucide-react';
After:
import { SettingsIcon, HomeIcon, TrashIcon } from '@wso2/oxygen-ui-icons-react';
MUI X Components
Before:
import { DataGrid } from '@mui/x-data-grid';
import { DatePicker } from '@mui/x-date-pickers';
import { BarChart } from '@mui/x-charts';
import { SimpleTreeView } from '@mui/x-tree-view';
After:
import { DataGrid, DatePickers, TreeView } from '@wso2/oxygen-ui';
// Use as namespaces
<DataGrid.DataGrid rows={rows} columns={columns} />
<DatePickers.DatePicker value={date} onChange={setDate} />
<TreeView.SimpleTreeView items={items} />
// For Charts, use the separate package
import { BarChart } from '@wso2/oxygen-ui-charts-react';
<BarChart series={series} />
Theme Provider Migration
Before:
import { ThemeProvider, createTheme } from '@mui/material';
const theme = createTheme({
palette: {
primary: { main: '#1976d2' },
},
});
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
After:
import { OxygenUIThemeProvider, OxygenTheme } from '@wso2/oxygen-ui';
// Use default theme
<OxygenUIThemeProvider theme={OxygenTheme}>
<App />
</OxygenUIThemeProvider>
// Or with custom theme
import { extendTheme } from '@mui/material/styles';
import { OxygenThemeBase } from '@wso2/oxygen-ui';
const customTheme = extendTheme({
...OxygenThemeBase,
colorSchemes: {
light: {
palette: { primary: { main: '#1976d2' } },
},
},
});
<OxygenUIThemeProvider theme={customTheme}>
<App />
</OxygenUIThemeProvider>
Layout Migration
Before (Custom Layout):
import { AppBar, Toolbar, Drawer, Box } from '@mui/material';
<Box sx={{ display: 'flex' }}>
<AppBar position="fixed">
<Toolbar>
<Typography>My App</Typography>
</Toolbar>
</AppBar>
<Drawer variant="permanent">
{/* Menu items */}
</Drawer>
<Box component="main" sx={{ flexGrow: 1, p: 3 }}>
{/* Content */}
</Box>
</Box>
After (Oxygen AppShell):
import { AppShell, Header, Sidebar, Footer } from '@wso2/oxygen-ui';
<AppShell>
<AppShell.Navbar>
<Header>
<Header.Brand>
<Header.BrandTitle>My App</Header.BrandTitle>
</Header.Brand>
</Header>
</AppShell.Navbar>
<AppShell.Sidebar>
<Sidebar>
<Sidebar.Nav>
{/* Menu items */}
</Sidebar.Nav>
</Sidebar>
</AppShell.Sidebar>
<AppShell.Main>
{/* Content */}
</AppShell.Main>
<AppShell.Footer>
<Footer companyName="Choreo Labs" />
</AppShell.Footer>
</AppShell>
Table Migration
Before (MUI Table):
import {
Table,
TableHead,
TableBody,
TableRow,
TableCell,
Paper,
} from '@mui/material';
<Paper>
<Table>
<TableHead>
<TableRow>
<TableCell>Name</TableCell>
<TableCell>Status</TableCell>
</TableRow>
</TableHead>
<TableBody>
{data.map((row) => (
<TableRow key={row.id}>
<TableCell>{row.name}</TableCell>
<TableCell>{row.status}</TableCell>
</TableRow>
))}
</TableBody>
</Table>
</Paper>
After (Oxygen ListingTable):
import { ListingTable } from '@wso2/oxygen-ui';
<ListingTable.Container>
<ListingTable.Toolbar showSearch />
<ListingTable>
<ListingTable.Head>
<ListingTable.Row>
<ListingTable.Cell>Name</ListingTable.Cell>
<ListingTable.Cell>Status</ListingTable.Cell>
</ListingTable.Row>
</ListingTable.Head>
<ListingTable.Body>
{data.map((row) => (
<ListingTable.Row key={row.id}>
<ListingTable.Cell>{row.name}</ListingTable.Cell>
<ListingTable.Cell>{row.status}</ListingTable.Cell>
</ListingTable.Row>
))}
</ListingTable.Body>
<Lis
Установить oxygen-migrate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл oxygen-migrate?
Migrate existing MUI code to Oxygen UI patterns. Use when converting @mui/material imports, replacing MUI components, or updating to Oxygen UI conventions.
Как установить скилл oxygen-migrate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл oxygen-migrate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic