/plasmoid-design:plasmoid-designfrom plasmoid-design
Use when building, restyling or reviewing a KDE Plasma 6 widget (plasmoid) or a Kirigami/QML app window, or when its sizing, scaling, spacing or layout looks off.
Ships in plasmoid-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Rules for Plasma 6 panel widgets, their popups, and Kirigami/QML windows, drawn from the KDE Human Interface Guidelines, the Kirigami and Plasma widget docs and Qt Quick Layouts. Worked before/after pairs are in references/examples.md; every rule's source is in references/sources.md. For generic QML correctness, also apply Qt's qt-qml skill when it is installed.
Kirigami.Units.gridUnit multiples. It follows the user's font size, so the UI scales with it. A literal pixel width is a bug unless it is a 1px hairline.smallSpacing between items that belong together, largeSpacing between groups and between a window edge and framed content, mediumSpacing between toolbar items. A frameless scroll view or list touches the window edge with zero margin.Kirigami.Units.iconSizes: small in menus and raised buttons, smallMedium in toolbars and single-line list items, medium for list items with a subtitle, sizeForLabels to match text height.Kirigami.Units.cornerRadius; durations use shortDuration and longDuration, so a user who disables animations gets none. Treat a duration of 0 as "no motion" and show a static state instead.devicePixelRatio or Screen.devicePixelRatio, and never compensate for 125% or 150% by hand.sourceSize near their displayed size and asynchronous: true; icons are theme icon names or SVG, not bitmaps.PlasmaCore.Units no longer exists in Plasma 6. Import org.kde.kirigami as Kirigami and use Kirigami.Units.RowLayout, ColumnLayout or GridLayout is sized only with Layout.*: fillWidth, preferredWidth, minimumWidth, maximumWidth, and the height equivalents. Setting width or height on it is ignored or fights the layout.anchors and Layout.* on the same item. Only the outermost layout may use anchors.fill: parent.implicitWidth and implicitHeight, usually from its inner layout. A zero implicit size makes the layout guess.spacing explicitly on every layout; the Qt default of 5px ignores the user's scale.RowLayout and ColumnLayout for anything that resizes. Row and Column are for fixed arrangements only.wrapMode) or elides (elide: Text.ElideRight) with Layout.fillWidth: true. Text that can push its container wider is a bug.Kirigami.GlobalDrawer. Disable actions that do not apply; do not hide them.Kirigami.OverlaySheet is for read-only content. Anything that takes input uses Kirigami.Dialog or an inline panel.Kirigami.ActionToolBar move overflow into a menu rather than squeezing buttons.Kirigami.FormLayout.PlasmoidItem. compactRepresentation, fullRepresentation, preferredRepresentation, switchWidth and switchHeight are properties of the root.Layout.preferredWidth, Layout.preferredHeight and the minimums on the full representation, in grid units.Kirigami.Units.iconSizes, never from fixed numbers.plasmawindowed <plugin-id>. That instance has Plasmoid.formFactor === PlasmaCore.Types.Planar. Keep timers and side effects in the panel instance only, so two instances never both act.textColor, disabledTextColor, highlightColor, highlightedTextColor, backgroundColor, alternateBackgroundColor, linkColor, visitedLinkColor, activeTextColor, positiveTextColor, neutralTextColor, negativeTextColor, and the matching *BackgroundColor variants. An unknown property silently becomes undefined.Kirigami.Theme, picked with the right colorSet (View for content, Window for chrome, Header for headers). No hex literals, so light and dark both work.Kirigami.Heading with a level; body text uses QQC2.Label or PlasmaComponents.Label.Before reporting a Plasma or Kirigami UI as finished, check each point and fix what fails:
anchors on layout children, no width/height on layout children, every custom item has an implicit size.spacing; long text wraps or elides.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aethryl/plasmoid-design --plugin plasmoid-design