Logo di 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.

Panoramica

Autoremengps
RepositoryHuskarUI
Nome della skillHuskarUI
Stelle
591
Fork
75
File inclusi
2
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 2 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da mengps su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA HuskarUI in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/mengps/HuskarUI/tree/master/agent/skills/huskarui
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva HuskarUI in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente HuskarUI non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi HuskarUI non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA HuskarUI?

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

Perché usare HuskarUI su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. HuskarUI è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo HuskarUI in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/mengps/HuskarUI/tree/master/agent/skills/huskarui. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare HuskarUI?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con HuskarUI?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con HuskarUI: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA HuskarUI è gratuita?

Sì. È pubblicata su GitHub da mengps con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇