Saltar al contenido
Skillpedia
Documentación101 mil · #873

docs-page

Qué hace

Esta herramienta crea una página de documentación completa en un único archivo HTML. Organiza el contenido en tres columnas: un menú de navegación a la izquierda, el cuerpo principal del texto en el centro y un índice a la derecha.

Cuándo usarla

  • ✓Cuando necesitas una página de guía o tutorial.
  • ✓Cuando generas una referencia de API.
  • ✓Para crear documentación técnica detallada.

Link de la skill

https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/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/nexu-io/open-design/blob/main/design-templates/docs-page/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

“Crea una página de documentación para la función de inicio de sesión de usuarios, con ejemplos de código y notas de advertencia.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta lee las instrucciones de diseño, elige un tema relevante y organiza el contenido en tres columnas con CSS Grid. Se asegura de que el texto sea legible y el código tenga el formato correcto.

Contenido técnico (SKILL.md original)

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

Docs Page Skill

Produce a single, three-column documentation page in one HTML file.

Workflow

  1. Read the active DESIGN.md (injected above). Use the body type token for prose; the mono token for code; respect line-height and max-width rules.
  2. Pick a topic from the brief — the page should look like real docs, not a generic wireframe. Concrete API names, command examples, plausible parameters.
  3. Lay out three regions, expressed on the inline axis so the layout flips correctly under dir="rtl":
    • Inline-start nav (240–280px, sticky): grouped link list, current page bolded with an inline-start-edge accent stripe. 3–5 groups of 4–8 links.
    • Article body (max-width ~720px, centered in the middle column): H1, lede paragraph, H2 sections, code blocks, callout boxes (note / warning), inline links, lists.
    • Inline-end TOC (200–240px, sticky): "On this page" with the H2/H3 anchors, current section highlighted as the user scrolls.
  4. Write a single HTML document:
    • <!doctype html> through </html>, all CSS inline.
    • CSS Grid for the three columns; sticky positioning for the rails.
    • Code blocks: monospace token, soft surface fill, copy-button affordance (visual only — no JS needed).
    • Anchor IDs on every H2/H3 so the TOC links work.
    • data-od-id on the nav, article, and TOC.
  5. Prose: write at least 350 words of believable docs. Include at least one shell command, one code snippet (5–15 lines), one callout, one table.
  6. Self-check:
    • Body text wraps at the DS line-length sweet spot (60–75 chars).
    • Code uses the DS mono token, not generic monospace.
    • Accent is restrained — used for active nav item, links, one callout border. Not on body text.
    • Page is readable at 1280w and collapses gracefully below 900w (TOC drops out, nav becomes a top drawer).
    • Use logical CSS (margin-inline-start, border-inline-start, inset-inline-end, text-align: start) on the rails and accent stripe so the layout flips correctly under dir="rtl".

Output contract

Emit between <artifact> tags:

<artifact identifier="docs-slug" type="text/html" title="Docs — Page Title">
<!doctype html>
<html>...</html>
</artifact>

One sentence before the artifact, nothing after.

Preguntas frecuentes

¿Qué son los 'tokens'?

Los tokens son como bloques de construcción predefinidos que la herramienta usa para dar formato al texto y al código, garantizando la coherencia.

¿Qué significa que 'el diseño se invierte correctamente con dir="rtl"'?

Significa que la página se adapta automáticamente a los idiomas que se leen de derecha a izquierda (como el árabe), invirtiendo el orden de las columnas.

¿La página generada necesita JavaScript?

No. El botón para copiar el código es solo visual. La estructura principal de la página está hecha con HTML y CSS.

Detalles

Descripción original del autor

A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".

repo: nexu-io/open-design

Popularidad

Estrellas en GitHub
101 mil
Posición en el ranking
#873
Licencia
Apache-2.0
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas