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

Panoramica

Pubblicato daBandersnatch0x
Repositorydesign-playbook
Nome della skillcomponent-distill
Stelle
3
Fork
0
File inclusi
Solo istruzioni
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.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

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

Installazione

Installa la skill IA Component Distill 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/Bandersnatch0x/design-playbook/tree/main/packages/design-playbook/skills/component-distill
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi 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 della skill nella directory delle skill di quell'agente.

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

Usala in TypingMind

Attiva Component Distill 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 Component Distill 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 Component Distill 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à.

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

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Component Distill su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Component Distill è 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 la skill 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 Component Distill in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Bandersnatch0x/design-playbook/tree/main/packages/design-playbook/skills/component-distill. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Component Distill?

Qualsiasi modello che colleghi a 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 Component Distill?

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

La skill IA Component Distill è gratuita?

È pubblicata su GitHub da Bandersnatch0x. Consulta il repository per i termini di licenza. 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, template 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.

Elenco completo

Crea subito il tuo spazio di lavoro AI

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