Saltar al contenido
Skillpedia
Sitios e interfaces (frontend)75 mil · #3079

viewport

Qué hace

Esta skill comprueba que una página tenga la metaetiqueta viewport necesaria para los diseños móviles. Es para desarrolladores que crean sitios web adaptables.

Cuándo usarla

  • ✓Cuando una página se ve muy pequeña en los teléfonos y hay que hacer zoom para leerla.
  • ✓Cuando a una plantilla nueva le falta su metaetiqueta viewport.
  • ✓Cuando se revisan componentes compartidos que generan el marcado del head de la página.

Link de la skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/viewport/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/thedaviddias/Front-End-Checklist/blob/main/skills/viewport/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

“En mi teléfono mi sitio se ve como una página de escritorio diminuta. ¿Qué etiqueta necesito para arreglarlo?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente revisa la sección head en busca de la etiqueta viewport y la añade si falta. También se asegura de que ninguna configuración bloquee el zoom.

Contenido técnico (SKILL.md original)

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

Set the responsive viewport meta tag

Without the viewport meta tag, mobile browsers render pages at desktop width (typically 980px) then shrink them, making text unreadable without zooming.

Quick Reference

  • Add <meta name="viewport" content="width=device-width, initial-scale=1.0">
  • Never use maximum-scale=1 or user-scalable=no (breaks accessibility)
  • Essential for mobile-responsive layouts

Check

Verify that this HTML document includes a proper viewport meta tag for responsive design that controls how the page is displayed on mobile devices.

Fix

Add the viewport meta tag: <meta name="viewport" content="width=device-width, initial-scale=1.0"> in the head section.

Explain

Explain how the viewport meta tag enables responsive design and why it's essential for mobile-first web development.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Set the responsive viewport meta tag. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/viewport

Preguntas frecuentes

¿Qué hace la etiqueta viewport?

Indica a los navegadores móviles que usen el ancho del dispositivo, en lugar de mostrar la página con un ancho de escritorio y reducirla.

¿Qué configuraciones deben evitarse?

La skill indica que no hay que usar maximum-scale=1 ni user-scalable=no, porque rompen la accesibilidad.

¿Esto es necesario para el diseño adaptable?

Sí. La skill lo considera esencial para los diseños responsivos en móviles.

Detalles

Descripción original del autor

Use when reviewing templates, rendered HTML, or shared components related to Set the responsive viewport meta tag. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#3079
Licencia
MIT
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas