analyze_pragnanz_law
Analyze UI code for simplicity using the Law of Prägnanz to identify and reduce cognitive load across web, mobile, desktop, voice, and AR/VR platforms.
Instructions
🔍 Ley de Prägnanz (Law of Prägnanz)
Las personas percibirán e interpretarán imágenes ambiguas o complejas de la forma más simple posible, porque es la interpretación que requiere menor esfuerzo cognitivo.
Analiza código o componentes UI según esta ley para CUALQUIER PLATAFORMA: Web, iOS, Android, Flutter, Desktop, CLI, Voice UI, Games, AR/VR.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Código del componente UI a analizar (HTML, JSX, Swift, Kotlin, Dart, C#, etc.) | |
| component_description | No | Descripción del componente o interfaz a analizar | |
| platform | No | Plataforma objetivo: web-react, ios-swiftui, android-compose, flutter, cli, voice-alexa, game-unity, ar-vr, etc. Usa "auto" para detectar automáticamente. | |
| context | No | Contexto adicional sobre el uso del componente |