Logo von HuskarUI

HuskarUI

Community
mengps
HuskarUI

Queries HuskarUI metadata with Python and guides HuskarUI-first QML/C++ code. Invoke when choosing components, checking examples, or generating HuskarUI UI.

Übersicht

Herausgebermengps
RepositoryHuskarUI
Skill-NameHuskarUI
Sterne
591
Forks
75
Mitgelieferte Dateien
2
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 2 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von mengps auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill HuskarUI in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/mengps/HuskarUI/tree/master/agent/skills/huskarui
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mengps/HuskarUI.git /tmp/HuskarUI
mkdir -p .claude/skills
cp -r /tmp/HuskarUI/agent/skills/huskarui .claude/skills/HuskarUI
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie HuskarUI in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt HuskarUI automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist HuskarUI nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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:

  1. The agent needs to identify which HuskarUI component matches a requested control, pattern, or interaction.
  2. The agent needs examples, documentation, or usage guidance for a HuskarUI component.
  3. The user asks for HuskarUI-first QML code such as a page, dialog, toolbar, form, navigation area, or card.
  4. The agent needs to decide whether a visible control should use HuskarUI or native QtQuick.
  5. The agent needs to search the HuskarUI component set before proposing an implementation.

Capabilities

  1. List: Return component titles for discovery.
  2. Lookup: Return documentation and embedded examples for an exact component name.
  3. Search: Return candidate components for a keyword or UI role.
  4. Component Mapping: Map generic UI requests to HuskarUI components before code generation.
  5. 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.json directly. Use query_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

  1. Work from <SKILL_DIR> and use query_metainfo.py with guide.metainfo.json.
  2. Select the query mode that matches the request:
    • list when you need discovery or want to browse the component set.
    • <ComponentName> --exact when the component name is already known.
    • <keyword> when the request describes a generic UI role or interaction.
  3. Run the Python query before answering from memory.
  4. Use the returned title, documentation, and examples as the primary basis for the answer.
  5. For UI generation, map the requested UI roles to HuskarUI components first.
  6. Compose the code from those components.
  7. 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:

  1. The Python output is ambiguous.
  2. The examples do not cover the requested usage.
  3. The user asks for implementation-level behavior.
  4. The metadata appears stale or incomplete.

When verification is needed:

  1. Identify the target component through Python first.
  2. Read only the source file or section that is needed to verify the specific point in question.
  3. Confirm the exact behavior, API detail, or implementation constraint being discussed.
  4. Answer from the verified implementation.
  5. State explicitly that source verification was required.

Coding Guidelines

QML

  • Import order: QtQuick -> QtQuick.* -> HuskarUI.Basic.
  • Use QtQuick.Templates as T when 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 let and const over var.
  • Use strict equality with === and !==.
  • Avoid binding loops.
  • Use Loader for conditional heavy subtrees when appropriate.

Response Policy

When answering with this skill:

  1. Start from Python query results, not from memory.
  2. Name the HuskarUI component or candidate components that best match the request.
  3. Summarize the most relevant documentation and examples returned by the query.
  4. When implementation is requested, generate HuskarUI-first code based on those results.
  5. State explicitly when the answer depends on source verification.
  6. State explicitly when no suitable HuskarUI component was found and native QtQuick is used as the fallback.

Quick Reference

powershell
# 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>:

text
<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 entrypoint
  • guide.metainfo.json - metadata database, accessed through Python only
  • Repository source files - selective verification only when Python output is ambiguous or insufficient

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill HuskarUI?

Queries HuskarUI metadata with Python and guides HuskarUI-first QML/C++ code. Invoke when choosing components, checking examples, or generating HuskarUI UI.

Warum HuskarUI in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. HuskarUI besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich HuskarUI in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/mengps/HuskarUI/tree/master/agent/skills/huskarui ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können HuskarUI nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit HuskarUI verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie HuskarUI damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill HuskarUI kostenlos?

Ja. Der Skill wird von mengps auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇