Logo de Spec To Readable Html

Spec To Readable Html

Comunidade
KeMezz
spec-to-readable-html

Transform Markdown or text specifications into human-readable HTML documents with summaries, reordered structure, visual explanations, diagrams, charts, and traceability to the source. Use when asked to convert a spec, requirements document, API spec, product spec, design doc, or technical document into readable HTML, especially when the user wants summarization, restructuring, diagrams, graphs, images, or visual aids rather than a literal Markdown-to-HTML conversion.

Visão geral

Publicado porKeMezz
Repositóriospec-to-readable-html
Nome da habilidadespec-to-readable-html
Estrelas
43
Forks
3
Arquivos incluídos
2
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 2

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por KeMezz no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Spec To Readable Html no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/KeMezz/spec-to-readable-html/tree/main
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/KeMezz/spec-to-readable-html.git \
  .claude/skills/spec-to-readable-html
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Spec To Readable Html em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Spec To Readable Html automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Spec To Readable Html não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Spec to Readable HTML

This skill turns specifications into polished, human-readable HTML reports. It is not a simple Markdown renderer. It should analyze the source, summarize where helpful, reorganize content for comprehension, and add visual aids when they clarify the document.

When invoked, $lang sets the output language (default: ja). If omitted, Japanese is used.

When to Use This Skill

Use this skill when the user asks to:

  • Convert a specification, requirements document, design doc, API spec, PRD, RFC, or technical document into HTML
  • Make a Markdown spec easier for humans to read
  • Add summaries, diagrams, charts, screenshots, icons, or visual explanations to a document
  • Turn dense requirements into a readable web page or report
  • Produce executive summaries, implementation overviews, API maps, workflows, architecture diagrams, or decision summaries from a spec

Do not treat the task as a literal Markdown-to-HTML conversion unless the user explicitly asks for a faithful conversion.

Core Principles

  1. Improve comprehension, not just formatting

    • Summarize long sections.
    • Group related information.
    • Surface key decisions, risks, dependencies, and open questions.
  2. Preserve traceability

    • Do not silently change meaning.
    • Mark inferred content as Inferred or Assumption.
    • Prefer linking or referencing original section names where possible.
  3. Use visuals only when they help

    • Add diagrams for flows, relationships, architecture, state transitions, timelines, or data models.
    • Add charts only when the source contains comparable quantities, priorities, timelines, statuses, or categories.
    • Do not invent quantitative data.
  4. Make the output portable

    • Prefer a single portable HTML file with embedded CSS.
    • The base template uses the Mermaid CDN by default for Mermaid diagrams.
    • Document the Mermaid CDN dependency in the footer or a comment when Mermaid is used.
    • If the user asks for offline, no-network, or fully self-contained output, replace Mermaid diagrams with inline SVG instead of loading the CDN.
    • Avoid additional external dependencies unless the user allows them.

Input Handling

Accept any of these inputs:

  • Markdown file
  • Plain text specification
  • Multiple related spec files
  • API schema / OpenAPI fragments
  • README-style product or technical notes
  • Existing HTML that needs improvement

Before producing HTML, identify:

  • Document type: PRD, API spec, technical spec, design doc, operations runbook, etc.
  • Target audience: business, engineering, QA, operations, mixed audience
  • Main entities: users, systems, APIs, screens, jobs, data models
  • Main processes: workflows, sequences, state transitions
  • Ambiguities, missing decisions, and risks

If the target audience or desired level of detail is unclear, make a reasonable default:

  • Audience: mixed product + engineering
  • Detail: readable but implementation-aware
  • Output: single portable HTML document with embedded CSS; Mermaid diagrams may use the CDN unless offline/no-network output is requested

Recommended Workflow

  1. Read and map the source

    • Extract title, purpose, scope, background, requirements, flows, APIs, data, constraints, risks, and open questions.
  2. Create a reader-friendly structure

    • Executive summary
    • What this document covers
    • Key concepts / glossary
    • Main workflows or user journeys
    • Functional requirements
    • Non-functional requirements
    • System / API / data overview
    • Visual diagrams
    • Risks, assumptions, open questions
    • Appendix: source-aligned details
  3. Summarize selectively

    • Keep exact details for requirements, API contracts, constraints, and acceptance criteria.
    • Summarize background, motivation, repeated explanations, and long prose.
    • Use callouts for important notes.
  4. Choose visual aids

    • Use the visual decision guide below.
    • Create diagrams as inline SVG, Mermaid source, or image files depending on the environment and user preference.
    • Always add captions and alt text.
  5. Generate polished HTML

    • Use semantic HTML: section, article, nav, table, figure, figcaption.
    • Include a sticky or top table of contents for long docs.
    • Use readable typography, spacing, and contrast.
    • Include print-friendly CSS when useful.
  6. Validate output

    • Check that source meaning is preserved.
    • Ensure assumptions are labeled.
    • Ensure visuals match the source.
    • Ensure the HTML opens standalone unless dependencies were explicitly chosen.

Visual Decision Guide

Choose visuals based on the content:

Source contentBest visual
Step-by-step business or user processFlowchart
API calls between systemsSequence diagram
System components and dependenciesArchitecture diagram
Status lifecycleState diagram
Tables with entities and relationshipsER diagram / relationship map
Milestones or phased rolloutTimeline
Priority, status, category countsBar chart / stacked chart
Decision alternativesComparison matrix
Screen transitionsUser journey / sitemap
Long section structureSummary cards

Preferred formats:

  1. Inline SVG for standalone visual diagrams and charts, especially when fully self-contained or offline output is required.
  2. Mermaid for architecture, flowchart, sequence, state, and ER diagrams when source code readability matters. In the base template, Mermaid uses a CDN dependency.
  3. HTML/CSS cards and tables for summaries and comparisons.
  4. Raster images only if image generation or screenshots are explicitly requested or available.

If using Mermaid, include the Mermaid source in the HTML or appendix so it can be edited later, and document the CDN dependency unless Mermaid has been pre-rendered to inline SVG.

HTML Output Requirements

Use references/template.html as the base HTML template and references/html-output-template.md as the component guide when generating a complete HTML file. Copy the full <style> block and section structure from the template, then replace {{PLACEHOLDER}} tokens with content derived from the source.

The HTML should usually include:

  • Document title and short subtitle
  • Generated date or source version if known
  • Executive summary
  • Table of contents
  • Summary cards for key points
  • Main sections with concise headings
  • Tables for requirements, APIs, data fields, decisions, risks, and open questions
  • Visual diagrams with captions
  • Source traceability notes
  • Print-friendly styling

For dense technical specs, include badges such as:

  • Must, Should, Could
  • Confirmed, Inferred, Assumption, Open Question
  • High Risk, Medium Risk, Low Risk

HTML Safety and Escaping

  • Treat source-derived prose, table cell content, captions, metadata, and placeholder replacements as untrusted text by default.
  • HTML-escape &, <, >, ", and ' before inserting source text into text nodes or attributes, unless deliberately emitting generated, safe markup.
  • Do not pass raw source HTML through by default. If limited HTML is required, use a small allowlist of semantic tags and safe attributes.
  • Keep code blocks and source excerpts as escaped text inside <pre><code> or equivalent containers.
  • When source content is used inside Mermaid labels, quote or escape labels so user-provided HTML, event handlers, and javascript: URLs are not emitted into the page.
  • Inline SVG may be generated by the agent, but SVG or HTML copied from the source must be sanitized or replaced with a safe generated diagram.

Rules for Summarization and Inference

  • Never remove contractual or normative requirements without indicating they were summarized.
  • Preserve keywords such as MUST, SHOULD, SHALL, required, optional, deprecated.
  • Keep IDs, endpoint paths, field names, status names, enum values, error codes, and limits exact.
  • If a diagram requires interpretation, label it as an inferred view.
  • If the source is ambiguous, create an Open Questions section instead of guessing.

Language

Default output language is Japanese (<html lang="ja">). If the user requests a different language, use that language for all headings, badges, labels, and body text. Keep technical terms (API names, field names, paths, code identifiers) in their original language regardless.

Quality Checklist

Before finalizing, verify:

  • The output is more readable than the source, not merely converted.
  • Important requirements and constraints are preserved.
  • Summaries do not change meaning.
  • Visuals are accurate and useful.
  • Inferred content and assumptions are labeled.
  • Tables are used for structured details.
  • The HTML has a table of contents.
  • The file is standalone, or dependencies such as Mermaid CDN are documented.
  • Accessibility basics are covered: headings, contrast, alt text/captions.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Spec To Readable Html faz?

Transform Markdown or text specifications into human-readable HTML documents with summaries, reordered structure, visual explanations, diagrams, charts, and traceability to the source. Use when asked to convert a spec, requirements document, API spec, product spec, design doc, or technical document into readable HTML, especially when the user wants summarization, restructuring, diagrams, graphs, images, or visual aids rather than a literal Markdown-to-HTML conversion.

Por que usar Spec To Readable Html no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Spec To Readable Html é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Spec To Readable Html no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/KeMezz/spec-to-readable-html/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Spec To Readable Html?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Spec To Readable Html?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Spec To Readable Html com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Spec To Readable Html é gratuita?

Sim. A habilidade é publicada no GitHub por KeMezz sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇