Quickly access HuskarUI documentation and implementation examples for your UI projects.
Install
mkdir -p .claude/skills/huskarui && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3604" && unzip -o skill.zip -d .claude/skills/huskarui && rm skill.zipInstalls to .claude/skills/huskarui
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Queries HuskarUI metadata with Python and guides HuskarUI-first QML/C++ code. Invoke when choosing components, checking examples, or generating HuskarUI UI.Key capabilities
- →Query HuskarUI component metadata
- →Generate HuskarUI-first QML/C++ code
- →Search components by UI role or keyword
- →Provide component documentation and usage examples
How it works
The skill queries internal metadata files using a Python helper to identify and document HuskarUI components for code generation.
Inputs & outputs
When to use huskarui
- →Look up component props and usage
- →Find UI implementation examples
- →Get help with HuskarUI syntax
- →Search HuskarUI documentation
About this skill
HuskarUI
Use this skill when the agent needs HuskarUI component knowledge or must generate HuskarUI-first UI. Treat Python query results as the primary source of truth. Use source files only for verification. The skill always works from query_metainfo.py and guide.metainfo.json in <SKILL_DIR>.
When To Use
Invoke this skill proactively when any of the following is true:
- The agent needs to identify which HuskarUI component matches a requested control, pattern, or interaction.
- The agent needs examples, documentation, or usage guidance for a HuskarUI component.
- The user asks for HuskarUI-first QML code such as a page, dialog, toolbar, form, navigation area, or card.
- The agent needs to decide whether a visible control should use HuskarUI or native QtQuick.
- The agent needs to search the HuskarUI component set before proposing an implementation.
Capabilities
- List: Return component titles for discovery.
- Lookup: Return documentation and embedded examples for an exact component name.
- Search: Return candidate components for a keyword or UI role.
- Component Mapping: Map generic UI requests to HuskarUI components before code generation.
- HuskarUI-first Guidance: Choose HuskarUI controls over native QtQuick when a suitable component exists.
Critical Rules
These rules always apply. Follow them in this order.
Metadata
- Always use Python first. Query metadata before answering from memory.
- Never read the full
guide.metainfo.jsondirectly. Usequery_metainfo.py. - Use exact lookup for known component names. Do not guess APIs or examples.
- Use keyword search for generic UI needs. Search by role such as
button,dialog,avatar,table,navigation.
Component Selection
- Prefer HuskarUI for visible controls. Buttons, inputs, avatars, dialogs, tables, navigation, and common widgets should map to HuskarUI first.
- Use native QtQuick only when HuskarUI has no suitable component or when the need is clearly low-level layout, animation, or primitives.
- Do not mix HuskarUI and native controls for the same role without a clear reason.
- Say explicitly when no HuskarUI component fits before falling back to native QtQuick.
Code Generation
- Base generated code on metadata results, not assumptions.
- Use Python-returned examples as the primary usage reference.
- For generic UI requests, map each requested role to a HuskarUI component before writing code.
- Prefer composition from existing HuskarUI components over custom controls.
Query Workflow
- Work from
<SKILL_DIR>and usequery_metainfo.pywithguide.metainfo.json. - Select the query mode that matches the request:
listwhen you need discovery or want to browse the component set.<ComponentName> --exactwhen the component name is already known.<keyword>when the request describes a generic UI role or interaction.
- Run the Python query before answering from memory.
- Use the returned title, documentation, and examples as the primary basis for the answer.
- For UI generation, map the requested UI roles to HuskarUI components first.
- Compose the code from those components.
- If the results are empty or insufficient, say that explicitly and fall back to the minimum native QtQuick needed.
Verification Workflow
Use source verification only when at least one of these is true:
- The Python output is ambiguous.
- The examples do not cover the requested usage.
- The user asks for implementation-level behavior.
- The metadata appears stale or incomplete.
When verification is needed:
- Identify the target component through Python first.
- Read only the source file or section that is needed to verify the specific point in question.
- Confirm the exact behavior, API detail, or implementation constraint being discussed.
- Answer from the verified implementation.
- State explicitly that source verification was required.
Coding Guidelines
QML
- Import order:
QtQuick->QtQuick.*->HuskarUI.Basic. - Use
QtQuick.Templates as Twhen inheriting from templates. - Names: Components in PascalCase; properties, functions, and ids in camelCase.
- Private members: Prefix with double underscore.
- Indentation: 4 spaces.
- Structure:
id, properties, implicit size, visual properties, child objects. - Prefer
letandconstovervar. - Use strict equality with
===and!==. - Avoid binding loops.
- Use
Loaderfor conditional heavy subtrees when appropriate.
Response Policy
When answering with this skill:
- Start from Python query results, not from memory.
- Name the HuskarUI component or candidate components that best match the request.
- Summarize the most relevant documentation and examples returned by the query.
- When implementation is requested, generate HuskarUI-first code based on those results.
- State explicitly when the answer depends on source verification.
- State explicitly when no suitable HuskarUI component was found and native QtQuick is used as the fallback.
Quick Reference
# List all components
python <SKILL_DIR>/query_metainfo.py <SKILL_DIR>/guide.metainfo.json list
# Exact lookup
python <SKILL_DIR>/query_metainfo.py <SKILL_DIR>/guide.metainfo.json HusAvatar --exact
# Search by keyword or UI role
python <SKILL_DIR>/query_metainfo.py <SKILL_DIR>/guide.metainfo.json button
python <SKILL_DIR>/query_metainfo.py <SKILL_DIR>/guide.metainfo.json navigation
python <SKILL_DIR>/query_metainfo.py <SKILL_DIR>/guide.metainfo.json table
Skill Inputs
The skill always works from these files in <SKILL_DIR>:
<SKILL_DIR>/query_metainfo.py
<SKILL_DIR>/guide.metainfo.json
The Python helper supports:
- Listing all component titles.
- Exact component lookup by title.
- Keyword search across component titles and documentation.
- Returning documentation and embedded QML examples.
Detailed References
query_metainfo.py- metadata query entrypointguide.metainfo.json- metadata database, accessed through Python only- Repository source files - selective verification only when Python output is ambiguous or insufficient
When not to use it
- →When implementing low-level layout or animations
- →When no suitable HuskarUI component exists
Prerequisites
Limitations
- →Metadata may be stale or incomplete
- →Requires fallback to native QtQuick if no component fits
How it compares
It prioritizes HuskarUI components over native QtQuick controls based on metadata-driven mapping rather than manual selection.
Compared to similar skills
huskarui side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| huskarui (this skill) | 1 | 1mo | Review | Intermediate |
| threejs-shaders | 4 | 6mo | No flags | Advanced |
| webf-native-ui | 1 | 7mo | Review | Intermediate |
| new-windows-forms-component | 0 | 8mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
threejs-shaders
CloudAI-X
Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.
webf-native-ui
openwebf
Setup and use WebF's Cupertino UI library to build native iOS-style UIs with pre-built components instead of crafting everything with HTML/CSS. Use when building iOS apps, adding native UI components, or improving UI performance.
new-windows-forms-component
ntaksh42
Windows Forms風のAstroコンポーネントとデモページを一貫性を持って自動生成します。コンポーネント名を指定すると、.astroファイル、デモページ、ナビゲーションリンクを自動作成します。
scroll-experience
davila7
Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not just pages. Use when: scroll animation, parallax, scroll storytelling, interactive story, cinematic website.
anthropic-frontend-design
chaibuilder
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
threejs-postprocessing
CloudAI-X
Three.js post-processing - EffectComposer, bloom, DOF, screen effects. Use when adding visual effects, color grading, blur, glow, or creating custom screen-space shaders.