Logo di Generate Explainer Yaml

Generate Explainer Yaml

Community
hirokita117
generate-explainer-yaml

analyze a document, repository summary, pull request, README, design note, or specification and produce (or refine) the intermediate yaml files that drive the explainer pipeline — core.yaml (the semantic structure / meaning), view.yaml (the presentation strategy for a particular reader), and, by default, quiz.yaml (comprehension-check questions derived from core.yaml; skipped only when the user explicitly declines a quiz). use when the user wants to capture what a target means and how to show it before generating an html explainer, or wants to edit/reshape an existing core.yaml / view.yaml / quiz.yaml. the generate-explainer-html skill then turns these yaml files into a switchable, light/dark html bundle.

Panoramica

Pubblicato dahirokita117
Repositoryyaml-to-html-skill
Nome della skillgenerate-explainer-yaml
Stelle
78
Fork
3
File inclusi
8
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.

  • File inclusi: 8

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

  • Open source

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

Installazione

Installa la skill IA Generate Explainer Yaml 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/hirokita117/yaml-to-html-skill/tree/main/skills/generate-explainer-yaml
  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/hirokita117/yaml-to-html-skill.git /tmp/yaml-to-html-skill
mkdir -p .claude/skills
cp -r /tmp/yaml-to-html-skill/skills/generate-explainer-yaml .claude/skills/generate-explainer-yaml
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Generate Explainer Yaml 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 Generate Explainer Yaml 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 Generate Explainer Yaml 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à.

generate-explainer-yaml

Turn an understanding target — a pasted document, repository summary, PR/diff summary, README, design note, or spec — into the intermediate YAML files that the explainer pipeline runs on:

  1. core.yaml — the semantic structure of the target (meaning, not UI): concepts, relations, importance, difficulty, confidence, questions, risks, source refs.
  2. view.yaml — how to present it to this particular reader: audience, preferred and avoided forms, density, tone, emphasis, generation policy.
  3. quiz.yaml — comprehension-check questions derived from core.yaml (choices, answers, explanations, difficulty). Produced by default; skip it only when the user explicitly declines a quiz.

This skill is the first half of the pipeline. It does not produce HTML. Once the YAML files exist, the generate-explainer-html skill reads them (by absolute path) and builds a switchable, light/dark HTML view bundle.

Input (document / repo summary / PR diff / README / design doc / any technical text)
  ↓ analyze (this skill)
core.yaml   (concepts, relations, importance, difficulty, evidence, source refs)
view.yaml   (audience, preferred/avoided forms, density, emphasis)
quiz.yaml   (comprehension-check questions — default output, opt-out)
  ↓ design + generate (generate-explainer-html skill)
HTML bundle (index.html + switchable iframe views, incl. a quiz tab)

What this skill does

  • Generate core.yaml + view.yaml (+ quiz.yaml by default) from a fresh input.
  • Refine / reshape an existing core.yaml / view.yaml / quiz.yaml (add a concept, fix a relation, re-target view.yaml at a different audience, adjust emphasis, add or fix quiz items, tidy the structure).

Where to write the YAML

Write the files to a stable directory whose path will persist — most naturally the bundle directory the HTML skill will build into (e.g. ./explainer-bundle/core.yaml, ./explainer-bundle/view.yaml, ./explainer-bundle/quiz.yaml), or a project folder the user keeps. The HTML skill copies them into the bundle and embeds their absolute path into the regeneration prompts, so a local-file-reading AI can re-read them later. Do not use a throwaway temp path.

Steps

  1. Read the input. Take whatever the user pasted or pointed at. Identify the target type (document / repository / pull_request / design_note / spec).

  2. Author core.yaml. Capture the meaning: concepts (with importance, difficulty, confidence), relations, questions, risks, and source_refs. Keep it compact — compress to what matters; do not transcribe the source. Lower confidence and add a question when unsure; do not invent facts. Schema: references/core-yaml-schema.md. Example: references/sample-core.yaml.

  3. Author view.yaml. Decide how to present it to this reader: audience role/familiarity, preferred and avoided forms, density, tone, what to emphasize, and the html_generation_policy. If the user did not say, infer a sensible strategy and state the assumption. Schema: references/view-yaml-schema.md. Example: references/sample-view.yaml.

  4. Author quiz.yaml (default — skip only on explicit opt-out). Unless the user has explicitly said they do not want a quiz, derive comprehension-check questions from core.yaml: concepts → single_choice / true_false; relations (depends_on, calls, …) → relation items; sequence_next chains and flows → ordering items; risks and questions → high-value true_false / single_choice. Spread difficulty, link every item via related_concept_ids, and never quiz on a low-confidence invention. Schema: references/quiz-yaml-schema.md. Example: references/sample-quiz.yaml.

  5. Write the files to the stable directory and tell the user their absolute paths, so they can hand those paths to generate-explainer-html.

  6. (Refine mode) When editing existing YAML, read the current file first, make the smallest change that satisfies the request, keep id values stable (relations, questions, and risks point at concept ids; quiz items point back at them too), and preserve the schema version. When refining quiz.yaml, keep item ids stable and cross-check every related_concept_ids / related_relation_ids against the current core.yaml — concept ids may have drifted since the quiz was generated.

Hand-off to the HTML skill

After writing the YAML, the next step is the generate-explainer-html skill:

generate-explainer-html を使って、
  --core /abs/path/core.yaml --view /abs/path/view.yaml --quiz /abs/path/quiz.yaml
からビュー付きの HTML バンドルを作ってください。

(--quiz is omitted only when the user declined a quiz and no quiz.yaml was written.)

Notes

  • core.yaml is reader-independent; view.yaml is reader-dependent. Keeping meaning separate from presentation is what lets the same core.yaml be re-targeted at a new audience just by changing view.yaml.
  • quiz.yaml is fact-bound. Correct answers must trace back to core.yaml; wrong choices may be invented (plausible misreadings) but each explanation must say why they are wrong. Quizzes are generated by default — omit only on explicit user opt-out.
  • Offline safety carries downstream. The final HTML is offline and self-contained and a validator flags any http:// / https:// string. Treat any url in a source_ref as a label, not a live link — prefer path / title / excerpt, and drop the scheme if you must record a URL. See the "URLs" note in references/core-yaml-schema.md.

Reference material

  • references/core-yaml-schema.md — meaning structure schema (core/v1)
  • references/view-yaml-schema.md — presentation strategy schema (view/v1)
  • references/quiz-yaml-schema.md — comprehension-check quiz schema (quiz/v1)
  • references/sample-core.yaml — worked core.yaml (a PR)
  • references/sample-view.yaml — worked view.yaml (engineer reviewing the PR)
  • references/sample-quiz.yaml — worked quiz.yaml (all five item types, same PR)
  • references/examples.md — three worked intents (engineer / PdM / beginner)
  • agents/openai.yaml — portable description of this skill for non-Claude agents

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 Generate Explainer Yaml?

analyze a document, repository summary, pull request, README, design note, or specification and produce (or refine) the intermediate yaml files that drive the explainer pipeline — core.yaml (the semantic structure / meaning), view.yaml (the presentation strategy for a particular reader), and, by default, quiz.yaml (comprehension-check questions derived from core.yaml; skipped only when the user explicitly declines a quiz). use when the user wants to capture what a target means and how to show it before generating an html explainer, or wants to edit/reshape an existing core.yaml / view.yaml...

Perché usare Generate Explainer Yaml su TypingMind?

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

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/hirokita117/yaml-to-html-skill/tree/main/skills/generate-explainer-yaml. 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 Generate Explainer Yaml?

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 Generate Explainer Yaml?

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

La skill IA Generate Explainer Yaml è gratuita?

Sì. È pubblicata su GitHub da hirokita117 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, 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 👇