Add skill: generate custom styles from app design system
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- css, typescript
Línea de trabajo
Start with the existing style definitions in renderer.ts and widget-renderer.tsx, then inspect apps/mcp/skills/, server.ts, assemble_document, and the README. Trace how MCP prompts and theme data are registered and applied. Done means the new skill and prompt are available, overrides can be applied by assemble_document, and the README includes a usage example.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Create a new agent skill that analyzes the host application's existing styles (colors, typography, spacing, borders, etc.) and generates matching CSS/design tokens for UI component generation. This would allow the assemble_document tool to produce widgets that visually match the consuming application rather than using the default OpenGenerativeUI theme.
Motivation
Currently, renderer.ts ships a hardcoded design system (forked from widget-renderer.tsx). When users integrate the MCP server into their own apps, the generated widgets look like OpenGenerativeUI — not like their app. A style-extraction skill would close this gap by letting the agent adapt generated UI to the host app's look and feel.
Proposed approach
- Add a new skill file (
skills/custom-styles-skill.txt) with instructions for:- Extracting CSS custom properties, Tailwind config, or design tokens from the host app
- Mapping extracted values to the OpenGenerativeUI CSS variable schema (
--color-*,--font-*,--border-radius-*) - Generating a theme override block that
assemble_documentcan merge with the base styles
- Expose the skill via a new MCP prompt (e.g.
customize_theme) - Optionally extend the
assemble_documenttool to accept athemeOverridesparameter
Acceptance criteria
- New skill file in
apps/mcp/skills/ - Registered as an MCP prompt in
server.ts - Agent can read a target app's styles and produce a compatible CSS override
-
assemble_documentsupports applying the override - README updated with usage example
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.9k
- Forks
- 414
- Merge medio
- 4 h
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CopilotKit/OpenIntelligentUI
-
Script dedup key truncation may cause collisionsPosiblemente ocupada @saschabuehrle la tomó hace 216 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CopilotKit/OpenIntelligentUI#37 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CopilotKit/OpenIntelligentUI#29 ·
Los mantenedores suelen responder en 1 día
-
Self-host with Docker Compose and optional server-held keysPosiblemente ocupada @kannan983 la tomó hace 17 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
CopilotKit/OpenIntelligentUI#98 ·
Los mantenedores suelen responder en 1 día
-
Support OpenAI-compatible gateways (OpenRouter) via vendor/model namesPosiblemente ocupada @kannan983 la tomó hace 17 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
CopilotKit/OpenIntelligentUI#97 ·
Los mantenedores suelen responder en 1 día
-
UIAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
CopilotKit/OpenIntelligentUI#96 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CopilotKit/OpenIntelligentUI
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
galaxyproject/loom#616 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
eknowledger/toolbench#266 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
devdotfast/whiteboard#1415 · 1 comentario ·
Los mantenedores suelen responder en 1 día