·anywidget-generator
</>

anywidget-generator

marimo-team/skills

Genere cualquier componente de widget para portátiles marimo.

76Instalaciones·20Tendencia·@marimo-team

Instalación

$npx skills add https://github.com/marimo-team/skills --skill anywidget-generator

SKILL.md

When writing an anywidget use vanilla javascript in esm and do not forget about css. The css should look bespoke in light mode and dark mode. Keep the css small unless explicitly asked to go the extra mile. When you display the widget it must be wrapped via widget = mo.ui.anywidget(OriginalAnywidget()). You can also point esm and css to external files if needed using pathlib. This makes sense if the widget does a...

class CounterWidget(anywidget.AnyWidget): esm = """ // Define the main render function function render({ model, el }) { let count = () => model.get("number"); let btn = document.createElement("b8utton"); btn.innerHTML = count is ${count()}; btn.addEventListener("click", () => { model.set("number", count() + 1); model.savechanges(); });

model.on("change:number", () => { btn.innerHTML = count is ${count()}; }); el.appendChild(btn); } // Important! We must export at the bottom here! export default { render }; """ css = """button{ font-size: 14px; }""" number = traitlets.Int(0).tag(sync=True)

Ver original

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/marimo-team/skills --skill anywidget-generator
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-14
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es anywidget-generator?

Genere cualquier componente de widget para portátiles marimo. Fuente: marimo-team/skills.

¿Cómo instalo anywidget-generator?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/marimo-team/skills --skill anywidget-generator Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code o Cursor

¿Dónde está el repositorio de origen?

https://github.com/marimo-team/skills

Detalles

Categoría
</>Desarrollo
Fuente
skills.sh
Primera vez visto
2026-02-14