oxygen-component
БесплатноБез исполняемых скриптовНе проверенGenerate Oxygen UI React components following best practices. Use when creating new components, data tables, cards, or UI elements with the Oxygen UI library.
Об этом скилле
Generate Oxygen UI Component
Instructions
- Read
.claude/oxygen-ui/CLAUDE.mdfor critical rules - Read
.claude/oxygen-ui/components.mdfor API reference - Generate component using Oxygen UI patterns
Critical Rules
- Import ALL components from
@wso2/oxygen-ui(never from@mui/material) - Import icons from
@wso2/oxygen-ui-icons-react - Use theme tokens via
sxprop (e.g.,p: 2,bgcolor: 'background.paper') - Never hardcode colors or spacing values
- For data tables, prefer
ListingTableover MUI'sTable - For layouts, use
AppShell,Header,Sidebar - Write all UI text in sentence case (see below)
UI Text
Write all titles, action text, and content in sentence case. Capitalize only the first word, proper nouns, product names, and acronyms.
✓ Create project ✓ API keys ✓ Last modified
✗ Create Project ✗ API Keys ✗ LAST MODIFIED
- Applies to titles, headings, buttons, links, menu items, tabs, labels, placeholders, table columns, tooltips, and messages
- Write the text in sentence case in the source; never change case with
textTransform: 'uppercase'or'capitalize'
Choosing a Table
Pick the table type by what users do with the data:
| Type | Use when | Setup |
|---|---|---|
| Listing table (default) | Scanning and comparing records across columns; tables inside a page section, panel, or dialog | <ListingTable variant="table"> |
| Card table | Top level listing of entities users click to open (projects, components); rich rows with few columns | <ListingTable variant="card">, disablePaper on Container, variant="card" hover clickable on each Row |
| Data table | Large or server-paginated data; column filtering, resizing, hiding, reordering; bulk selection | <ListingTable.DataGrid> inside ListingTable.Provider (variant="data-grid-card" on the Provider only for entity listings) |
- Default to the listing table when unsure
- Do not nest a card table inside a card, dialog, or drawer
- Do not use
stripedorborderedwith the card variant - Use one table type for the same kind of data across the product
Table Toolbar
Every data table toolbar uses the same element order. Leave out elements a table doesn't need; never reorder the rest, except search and filters:
[Scope] [Search] [Filters] ······ [View toggles] [Utility icons] [Secondary]
[Applied filter chips] [Clear all]
Search and filters swap by page context. Put whichever users rely on more first, right after scope:
Search first when users look up a specific item by name (users, resources)
Filters first when users narrow by an attribute (logs by level, events by type)
Scope always stays first; use the same order for the same kind of page across the product
If the page's purpose doesn't make the choice clear, default to search first
Scope control (time range, workspace, region) comes first; its label shows the value (
Time: Last 24 hours); at most one per table; never shown as a chipSearch is always visible; placeholder names what is searched (
Search by name,Search events)Prefer column header filters; use toolbar filters only when no column matches; a filter lives in one place only; max 3 toolbar filters, the rest under
More filtersRight side order: view toggles (segmented control), utility icon buttons (export, column settings, refresh; refresh last), then secondary actions (outlined or text, more than 2 go to an overflow menu)
The primary action (
Add user) is not in the toolbar; put it inPageTitle.Actionsat the top right of the page header, vertically centered with the title block (header and subheader)Applied filters show as
Label: valuechips in a row below the toolbar; showClear allat 2+ chips (clears filters only, not scope or search); hide the row when emptyPut the result count in the footer next to pagination (
1–25 of 120, or25 events loadedwithout pagination), never in the toolbarWhen rows are selected, a bulk actions bar replaces the toolbar: count and
Select allon the left, actions on the right with destructive ones last and confirmedOn narrow screens collapse in order: secondary actions, toolbar filters (into
Filters · 2), view toggles and utility icons (refresh stays); scope and search never collapseIcon buttons always have a
Tooltipand anaria-labelUse one date format across tables (
28 Oct 2026, 04:29 UTC) and always show the time zone
import { Button, IconButton, ListingTable, TextField, Tooltip, useListingTableRequired } from '@wso2/oxygen-ui';
import { ChevronDown, RefreshCw } from '@wso2/oxygen-ui-icons-react';
// Render inside ListingTable.Provider so search reaches the table
function UsersToolbar() {
const { searchValue, onSearchChange } = useListingTableRequired();
return (
<ListingTable.Toolbar
actions={
<>
<Tooltip title="Refresh">
<IconButton size="small" aria-label="Refresh"><Refre
Установить oxygen-component в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл oxygen-component?
Generate Oxygen UI React components following best practices. Use when creating new components, data tables, cards, or UI elements with the Oxygen UI library.
Как установить скилл oxygen-component?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл oxygen-component запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic