Saltar al contenido
Skillpedia
Sitios e interfaces (frontend)48 mil · #5174

markstream-vue

Qué hace

Esta herramienta te ayuda a mostrar texto con formato en una web hecha con Vue 3. Permite que el texto aparezca como si se estuviera escribiendo, con distintos estilos de visualización y optimizaciones para textos largos.

Cuándo usarla

  • ✓Cuando quieras mostrar un texto que parezca que se está escribiendo en un chat.
  • ✓Para mostrar documentos con formato especial en una web de Vue 3.
  • ✓Cuando necesites optimizar la visualización de textos muy largos para que la web no se ralentice.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markstream-vue/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Muestra este texto como si se estuviera escribiendo en un chat, con formato seguro:”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta inserta en tu código de Vue 3 un componente que interpreta el texto y lo muestra según la configuración. Puedes elegir cómo aparece el texto (modo chat, documento, etc.) y cómo se renderiza (código, texto plano).

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Markstream Vue 3

Overview

Configure the Vue 3 renderer beyond generic installation: surface modes, streaming lifecycle, code rendering, long-message virtualization, and scoped overrides.

When to Use

Use for a plain Vue 3 application after the package has been selected. Use markstream-nuxt when SSR-specific Nuxt boundaries matter.

Workflow

Inspect the existing package manager, installed package version and project conventions. A requested scoped integration already authorizes routine source/dependency edits; seek approval only for a material scope expansion or unresolved beta/alpha adoption decision.

  1. Confirm Vue 3 and not Nuxt. Install only requested peers and import markstream-vue/index.css after resets.
  2. Start with content. Use mode="chat" for AI streams, docs for rich documents, and minimal for lightweight non-chat surfaces.
  3. Choose fenced-code rendering explicitly: pre without a peer, shiki with stream-markdown, or compatibility-named monaco backed by stream-diffs.
  4. For live chat use smooth streaming auto, no fade, and an optional cursor. On completion keep the same mode, set final, and disable pacing/cursor.
  5. Use nodes only for worker parsing or structural AST ownership.
  6. For long transcripts, keep an existing outer message virtualizer in charge. Use Markstream logical height rather than mounted DOM height.
  7. Use scoped component registration and preserve safe HTML and Mermaid strict mode.
  8. Validate the smallest build/typecheck plus one incremental stream and one long-message case.

Example

<script setup lang="ts">
import MarkdownRender from 'markstream-vue'
import 'markstream-vue/index.css'

defineProps<{ content: string; isDone: boolean }>()
</script>

<template>
  <MarkdownRender
    mode="chat"
    :content="content"
    :final="isDone"
    :fade="isDone"
    :typewriter="!isDone"
    :smooth-streaming="isDone ? false : 'auto'"
    html-policy="safe"
  />
</template>

Limitations

  • Optional peers add bundle and browser-runtime cost.
  • DOM-minimal mode disables wrapper-dependent features.
  • Virtualization integration requires stable content and measurement keys.

Security & Safety Notes

Review dependency changes. Never enable trusted HTML or loose Mermaid rendering for untrusted model output.

Verify props, export paths and peer ranges against the installed package, not a mutable upstream main. Test partial and completed streams, malformed/untrusted Markdown, links and image URLs, cancellation and reduced motion. Safe HTML and strict diagrams reduce exposure but do not alone enforce URL/network privacy or application component permissions.

Preguntas frecuentes

¿Necesito Nuxt o basta con Vue 3?

Esta herramienta es para Vue 3 puro. Si usas Nuxt, existe una versión específica para ese caso.

¿Cómo hago que el texto aparezca más rápido?

Puedes ajustar las opciones de 'streaming' para controlar la velocidad y la suavidad con las que se muestra el texto.

¿Es seguro mostrar cualquier texto?

Sí, si lo configuras con 'html-policy="safe"' y el modo estricto de Mermaid. Nunca muestres contenido no confiable sin estas protecciones.

Detalles

Descripción original del autor

Integrate markstream-vue into plain Vue 3 with renderer modes, code and DOM choices, streaming state, virtualization, optional peers, and scoped components.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#5174
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas