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

markdown-rendering

Qué hace

Esta herramienta te ayuda a mostrar archivos de texto con formato (llamados Markdown) en una zona concreta de tu programa llamada cmux. Asegura que el texto se vea correctamente, incluso cuando el programa normalmente da problemas.

Cuándo usarla

  • ✓Cuando un archivo Markdown aparece en blanco o con un formato incorrecto en cmux.
  • ✓Cuando necesitas mostrar un archivo Markdown en una zona fija de cmux.
  • ✓Cuando al abrir un archivo Markdown aparece un error o se muestra mal.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/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/markdown-rendering/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

“Abre el archivo 'document.md' en el panel derecho de cmux, asegurándote de que el formato sea correcto.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta evita un error habitual en el que mover la zona de visualización de Markdown hace que quede en blanco. Lo consigue abriendo el archivo directamente en la zona correcta o cerrando los paneles en conflicto antes de volver a abrirlo.

Contenido técnico (SKILL.md original)

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

Markdown Rendering in cmux

When to Use

  • Use when opening Markdown in cmux shows a blank pane or wrong layout.
  • Use when you need to display a Markdown file in a stable cmux right pane.

The Problem

cmux markdown open defaults to spawning a brand-new pane every time, even with --direction right. The common "fix" — moving the new markdown surface into the existing right pane with move-surface — bugs out: the moved viewer renders BLANK. The surface keeps type=markdown and looks healthy, but shows nothing.

So you get stuck: either a stray extra pane, or a blank viewer after moving it.

The Rule

The contributor observed two workarounds for a particular cmux version. Verify the installed command/version; the blank-render issue may have changed. Prefer reopening an owned viewer without altering unrelated panes.

Option A — Open it right on the first try

If there is no usable right pane yet, just let cmux create one and leave it where it lands:

cmux markdown open /abs/path/file.md --direction right --focus false

Do NOT then move it. If it spawned where you want it, you're done.

Option B — Close existing right pane(s), then open fresh

If there are other right panes in the way (and they're unused or irrelevant), close them first, then open the markdown fresh as a new right pane:

# 1. find panes in THIS workspace
cmux list-panes --workspace "$CMUX_WORKSPACE_ID"

# 2. close the unused/irrelevant right pane(s) by closing their surfaces
cmux list-pane-surfaces --pane pane:NN
cmux close-surface --surface surface:XX     # repeat per surface in that pane

# 3. THEN open the markdown fresh — it creates its own clean right pane
cmux markdown open /abs/path/file.md --direction right --focus false

Hard Rules

  • Never move-surface a markdown viewer. It renders blank afterward. This is the core bug this skill exists for.
  • Open it correctly the first time (Option A), OR close the conflicting right pane(s) and open a fresh right pane from scratch (Option B).
  • Close only surfaces created for this task or explicitly authorized for closure; apparent irrelevance does not prove they contain no unsaved work.
  • Always anchor to $CMUX_WORKSPACE_ID; never assume the visually focused workspace.
  • Pass --focus false so you don't steal the user's focus.
  • Use any supported readback/rendered inspection available on the actual host. If it cannot inspect the viewer, report that limit instead of claiming success.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
Preguntas frecuentes

¿Por qué mi archivo Markdown aparece en blanco en cmux?

Suele pasar porque el programa intenta crear un panel nuevo para el archivo y, al moverlo, el visor falla y se queda en blanco. Esta herramienta está diseñada para evitar ese problema.

¿Qué es 'cmux'?

cmux es un programa que te permite organizar y gestionar varias ventanas o espacios de trabajo de tu ordenador, como si fueran paneles.

¿Qué es 'Markdown'?

Markdown es una forma sencilla de escribir texto que se puede convertir fácilmente en páginas web u otros documentos con formato, usando símbolos sencillos como asteriscos para la negrita.

Detalles

Descripción original del autor

Open Markdown reliably in cmux panes and recover from blank rendered surfaces.

repo: sickn33/agentic-awesome-skills

Popularidad

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

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas