Notre avis
Cette compétence guide la création de widgets et interfaces QML de qualité production pour l'environnement de bureau Quickshell, en suivant le thème Obelisk et les principes de conception.
Points forts
- Impose l'utilisation cohérente des tokens de thème et des composants existants pour un aspect natif.
- Inclut des pistes de réflexion conceptuelle pour éviter les esthétiques génériques d'IA.
- Fournit des conseils détaillés sur les animations, ombres et finitions visuelles.
- Standardise la structure des fichiers et les imports pour la maintenabilité.
Limites
- Applicable uniquement dans l'écosystème Quickshell/Obelisk.
- Nécessite une familiarité avec les API Quickshell (Config, Components, Services).
- Peut nécessiter des ajustements manuels pour des interactions complexes non couvertes par les modèles.
Utilisez-la lorsque vous devez créer un nouveau widget ou interface personnalisé pour un environnement de bureau basé sur Quickshell, qui doit s'intégrer parfaitement au shell Obelisk existant.
Ne l'utilisez pas pour le développement d'interfaces web, mobiles ou autres en dehors du framework Quickshell.
Analyse de sécurité
SûrThe skill solely concerns the design of QML user interfaces for Quickshell, with no use of shell commands, file system access, or network operations. It only provides styling and layout guidance.
Aucun point d'attention détecté
Exemples
Create a system monitor widget showing CPU, memory, and network usage for my Quickshell bar. Use Theme tokens for colors and fonts, and include smooth transitions for value changes.Design a power menu widget with shutdown, restart, and sleep options using the Obelisk theme. Use OPanel for the dropdown and IconButton for the action items.Make a weather widget that uses the Theme singleton and shows current temperature, condition, and an icon. Bind to a service for live data and add a subtle shadow effect.<!-- markdownlint-disable MD041 -->
name: frontend-design description: Create distinctive, production-grade Quickshell (QML) widgets and interfaces for the user's desktop environment. Specialized for the @quickshell configuration, using existing components, theme tokens, and services. Generates creative, polished code and UI design that avoids generic AI aesthetics. license: Complete terms in LICENSE.txt
Frontend Design Skill
This skill guides the creation of high-quality QML interfaces for Quickshell, specifically tailored to the @quickshell/.config/quickshell/ configuration. It combines technical Quickshell expertise with high-end aesthetic design thinking.
Design Thinking
Before coding, commit to a BOLD aesthetic direction that fits the "Obelisk" shell but pushes it further:
- Tone: Pick a flavor: brutally minimal, retro-futuristic, refined luxury, industrial/utilitarian, or organic.
- Differentiation: What is the one thing that makes this widget UNFORGETTABLE?
- Intentionality: Bold maximalism and refined minimalism both work; the key is executing with precision.
Quickshell Design Principles
- Native Integration: Widgets must look and feel like part of the existing "Obelisk" shell.
- Theming: Rigorously use the
Themesingleton (qs.Config) for all colors, sizes, radii, and fonts. - Reusability: Use existing components from
qs.Components(OText,OButton,IconButton,OPanel) whenever possible. - Reactive: Bind properties to Services (
qs.Services) for live data.
Technical Foundation
Always include necessary imports:
import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Wayland
import qs.Config // Theme, Settings
import qs.Components // OText, OButton, OPanel, etc.
import qs.Services // Core, SystemInfo, WM
Theming Guidelines (Theme.qml)
- Backgrounds:
Theme.bgColor,Theme.bgElevated,Theme.bgElevatedAlt - Accents:
Theme.activeColor,Theme.onHoverColor,Theme.critical(red),Theme.warning(orange) - Text:
Theme.textActiveColor,Theme.textInactiveColor - Spacing:
Theme.spacingXstoTheme.spacingXl - Radii:
Theme.itemRadius,Theme.radiusMd,Theme.radiusLg
Aesthetics & Polish
- Typography: Stick to
Theme.fontFamily(CaskaydiaCove) andTheme.iconFontFamily. UseOTextvariants for hierarchy. - Motion: Use
Behavior on <property>withTheme.animationDurationandEasing.InOutQuadfor all transitions. Focus on staggered reveals and smooth width/opacity changes. - Visual Details: Create depth. Use
RectangularShadoworMultiEffectfor subtle shadows. UseCanvasfor custom gradient borders (seeCardStyling.qml). - Avoid "AI Slop": No predictable layouts or generic "purple on white" color schemes. Stay true to the project's Catppuccin/Dracula/Obelisk color palettes.
Component Usage
- OText:
OText { text: "Label"; bold: true; muted: true } - IconButton: For circular icon-only buttons.
- OPanel: For dropdowns/menus. Always provide a unique
panelNamespace. - ExpandingPill: Use for collapsible groups of buttons (like PowerMenu or Workspaces).
New Modules
When creating a new widget:
- Place it in
Modules/<Category>/<Name>.qml. - Use
pragma ComponentBehavior: Bound. - Example Pattern:
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Layouts
import qs.Config
import qs.Components
Rectangle {
color: Theme.bgElevated
radius: Theme.itemRadius
border.color: Theme.borderLight
border.width: 1
ColumnLayout {
anchors.fill: parent
anchors.margins: Theme.spacingMd
spacing: Theme.spacingSm
OText {
text: "Widget Title"
bold: true
size: "lg"
}
// ... content
}
}
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.