Logo von Component Distill

Component Distill

Community
Bandersnatch0x
component-distill

Cross-run component backflow. Derive the reusable components that have recurred across iterated pages and render a propose-only promotion proposal for user adjudication. Use when iterated pages may have produced components worth promoting into DESIGN.md or the same component recurs across runs and scenes. Also use when the user asks what the pages have taught the design system. Report-only, never writes DESIGN.md or any authority.

Übersicht

HerausgeberBandersnatch0x
Repositorydesign-playbook
Skill-Namecomponent-distill
Sterne
3
Forks
0
Mitgelieferte Dateien
Nur Anweisungen
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.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von Bandersnatch0x auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Component Distill 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. Dabei liest die App 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/Bandersnatch0x/design-playbook/tree/main/packages/design-playbook/skills/component-distill
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Ü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 unterstützt, 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/Bandersnatch0x/design-playbook.git /tmp/design-playbook
mkdir -p .claude/skills
cp -r /tmp/design-playbook/packages/design-playbook/skills/component-distill .claude/skills/component-distill
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Component Distill 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 Component Distill 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 Component Distill 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-Schlüsseln.

  • 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.

component-distill

Distill the recurring components out of iterated pages and propose promoting them into the project DESIGN.md. This is the backflow leg of the pipeline: design-baseline reads the baseline into pages once. This skill reads the pages back toward the baseline. It is propose-only and user-gated; it never writes DESIGN.md or any authority. Promotion is a user decision (governance log) executed only by design_baseline.py promote (ADR-0012).

This is a cross-run review, not a step of a single Design I/O run. It reads prior runs' decision-report.md files and emits a proposal artifact for user adjudication.

Authority boundary

This skill ownsDoes not own
Deriving recurring-component candidates across runsDurable write to DESIGN.md (design_baseline.py promote, T-070)
Rendering the propose-only promotion proposalThe user promotion decision (governance log, user-only)
Reporting distance-to-threshold for below-threshold signalsComponent and template selection for a run (ui-picker)

Deep module (SSOT for deterministic work)

Derivation lives in ../../scripts/component_candidates.py:

python
candidate_view(reports_by_run) -> dict   # qualifying + below_threshold + gaps

reports_by_run maps a run id to its decision-report.md text. The module prefers the Fill face in a text code fence. It also accepts legacy reports whose Fill face is unfenced top matter (parsing stops before the first ## DD-* entry). It parses components: and counts only path-shaped reuse <path> or extend <path> targets. A new entry or prose such as “no component” is not a candidate. A candidate qualifies when it recurs across distinct runs ≥ 3 AND distinct scenes ≥ 2. Explanatory suffixes in scene after ( / ( do not create a new scene identity. Every group is returned, qualifying first, then below-threshold signals with their gap list, so distance to qualification is visible, never silent.

Candidate identity is currently the referenced file path. Multiple selectors or domain components implemented in one file therefore remain one candidate. Changing identity to path#selector (and migrating governance targets, provenance, and merge semantics) is a separate schema-level change, not inferred by this skill.

Workflow

  1. Discover runs. Scan the project's .scratch/<run>/ dirs for a decision-report.md. List dirs without one as skipped (they contribute 0 references). If fewer than 2 runs carry a decision report, report that count and stop, backflow needs history to mean anything.
  2. Derive. Build reports_by_run and call candidate_view. Read-only: parse, never mutate.
  3. Render the proposal (markdown, report header component-distill/v1) at the invocation-level output path the caller names (not a single run's design-baseline/ dir; this is a cross-run artifact). Sections:
    • Inclusion manifest, run | status (included / skipped + reason).
    • Qualifying candidates, one block per candidate: component path, recurrence, distinct runs, distinct scenes, the contributing references (run / role / action / scene), and a decision slot for the user (promote | reject | defer).
    • Below threshold, candidates approaching the threshold with their gap list (e.g. distinct_runs 2 < 3), so the distance is visible.
    • Coverage, runs_with_components / total_references, so an empty corpus reads as "no qualifying candidates + why", never silence.
  4. Adjudicate (user). Present the proposal. The user marks each qualifying candidate. Record the decision as a governance event (agent may append promotion_candidate_opened; only the user's promotion_decided carries promote/reject/defer). In this local-file architecture, decided_by: user is an explicit attestation enforced by the read and write protocol, not cryptographic or OS-backed identity authentication. Processes with filesystem write access remain inside the local trust boundary. This skill stops at the proposal; it does not write DESIGN.md.
  5. Promote through the write seam. design_baseline.py promote re-derives the current project candidate view. It refuses components that no longer meet the threshold or lack a project-relative source file, even when an older user decision exists.

Done when: all these conditions hold. The proposal artifact exists at the named output path. Qualifying candidates carry full provenance and a decision slot. Below-threshold signals carry their gaps. Nothing under the project DESIGN.md was touched.

Scope fence

InOut of scope
Derive a proposal from cross-run component recurrenceDurable DESIGN.md merge belongs to design_baseline.py promote (T-070)
Report-only candidate derivationRecord the user decision in the promotion governance log
Token candidates (counted)Token promotion into baseline is tracked in T-072

Häufig gestellte Fragen

Was macht der KI-Skill Component Distill?

Cross-run component backflow. Derive the reusable components that have recurred across iterated pages and render a propose-only promotion proposal for user adjudication. Use when iterated pages may have produced components worth promoting into DESIGN.md or the same component recurs across runs and scenes. Also use when the user asks what the pages have taught the design system. Report-only, never writes DESIGN.md or any authority.

Warum Component Distill in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Component Distill 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 Component Distill in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Bandersnatch0x/design-playbook/tree/main/packages/design-playbook/skills/component-distill ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Component Distill nutzen?

Jedes Modell, das Sie mit 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 Component Distill verwenden?

So viele Sie möchten. In TypingMind können Sie Component Distill mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Component Distill kostenlos?

Der Skill wird von Bandersnatch0x auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. 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: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. 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 kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

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