Logotipo de Prototyping

Prototyping

Comunidad
eliasstravik
prototyping

Triggers when a user asks to prototype a decision, compare visible or behavioral options in throwaway pages, keep prototyping through a consultant, grilling, or wayfinder session, or says /prototyping. It builds one loopback session that grows step by step and also handles a one-off "prototype this" request. Not for durable standalone HTML artifacts, polished product demos, browser QA, or integrating selected prototype code into an application.

Descripción general

Editoreliasstravik
Repositorioskills
Nombre de la habilidadprototyping
Estrellas
22
Forks
1
Archivos incluidos
3
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 3

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por eliasstravik en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Prototyping en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/eliasstravik/skills/tree/main/skills/prototyping
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eliasstravik/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/prototyping .claude/skills/prototyping
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Prototyping en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Prototyping automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Prototyping no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Prototyping

Trigger

Activate on /prototyping, a request to prototype a decision or compare options through a prototype, or a request to keep prototyping through a host session. Keep this stance until the client says to stop. Treat one-off "prototype this" work as a one-step session.

Scope

Own the prototyping session directory, shell, step pages, manifest, and loopback serving. The host owns its questions and plan; the client owns each decision. Leave the discussed repository unchanged and stop before implementing a selected option.

Inputs

  • Host steps as they occur, including Consultant or Autoconsultant questions, each Grilling question, Wayfinder ticket questions, and plain choices.
  • A client-named slug or path to resume. Fresh requests never inspect sibling sessions.
  • A client-supplied state root, or expanded ~/.prototyping by default.

Roles

The agent builds pages, maintains the manifest, and keeps serving alive. The client chooses options. Host skills keep their own output contract unchanged.

Procedure

  1. On activation, resolve one session directory. Resume only an explicitly named slug or path. Otherwise choose a direct lowercase-hyphen slug from the topic without listing or reading siblings. Create steps/ and initialize steps.js with exactly window.STEPS = []; when absent. Copy assets/index.html once when absent and replace its __SESSION_SLUG__ placeholder with the slug. Run this skill's shipping scripts/serve.sh <session-dir> in place; never copy the helper into the session directory.
  2. For every host step, assign the next monotonic integer n across the whole session. Preserve the host's label: Question N, Qn, Qn (ticket: <name>), or an empty string for a plain host.
  3. Enumerate substantive options before applying the gate. Consultant and Autoconsultant use number strings and exclude trailing Other. Grilling, Wayfinder, and plain hosts use A, B, and later letters in presentation order. A prototype has two to five options. A step without enumerable choices uses options: [] and recommended: null.
  4. Build a prototype only when the enumerated options differ in a way the client can see or click. Visible structural choices use the UI shape; behavioral choices use the logic shape. Read the step-page contract before building either. Text-only, naming, numeric, approval, and other non-visible choices use a stub and have no step file.
  5. Append exactly one line per step to steps.js: window.STEPS.push({...});. The object contains n, label, one-line title, host, kind, file, options, recommended, and decision. Use valid compact JSON inside the call. kind is prototype or stub; file is steps/NN-<lowercase-hyphen-step-slug>.html for a prototype and null for a stub. Start decision as null. options is always a JSON array of objects shaped exactly {"key":"1","label":"Option label"}; never use an array of bare keys, even when the page already shows labels.
  6. Run this skill's shipping scripts/serve.sh <session-dir> in place before rendering the host reply. Put exactly one line immediately above the complete host reply. A single-step host gets Prototypes: <URL>#<n>. A multi-question round gets Prototypes: <URL>#<n> #<n> ... with every round entry, including stubs. The host text below that line stays byte-identical, and the line never enters the host's fenced question block. An activation-only turn prints Prototypes: <URL> with no hash.
  7. When the client answers, edit only that entry's line and set decision to the option key or the client's exact free-text answer before adding the next step. Keep the rest of the line's data unchanged.
  8. On stop prototyping, leave the files and server running, report the current URL and the resolved shipping helper command <skill-dir>/scripts/serve.sh <session-dir> stop, then drop this stance. Never copy that helper into the session. Later host steps receive no entry or Prototypes: line.

Outputs

One ~/.prototyping/<slug>/ or redirected session containing the shell, append-shaped manifest, optional self-contained step pages, server.port, server.pid, and server.log, plus the served loopback URL and recorded decisions.

Exceptions

If serving fails after the script's retries, report the session path and its one reason line, keep building the files, and omit an unverified URL. If a named session does not exist, ask only for the intended slug or path without inspecting siblings.

QC

  • Every active host step has one unique monotonic entry, and every answered entry has its decision set before the next step.
  • Each prototype file exists, is self-contained, and has exactly one selector per manifest option with accurate recommended and chosen markers.
  • Each stub has file: null; pagination uses n, while labels preserve host numbering.
  • The exact /index.html URL answers on 127.0.0.1; the recorded PID belongs to http.server serving the canonical session directory.
  • The shell title shows the resolved session slug, never the literal __SESSION_SLUG__ placeholder.
  • The session contains only index.html, steps.js, steps/, and server.port, server.pid, and server.log; no helper script is copied in.
  • No task file was written outside the resolved session directory, and host text below the one added line is byte-identical.

References

Read references/step-page.md whenever the gate calls for a UI or logic prototype page.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Prototyping?

Triggers when a user asks to prototype a decision, compare visible or behavioral options in throwaway pages, keep prototyping through a consultant, grilling, or wayfinder session, or says /prototyping. It builds one loopback session that grows step by step and also handles a one-off "prototype this" request. Not for durable standalone HTML artifacts, polished product demos, browser QA, or integrating selected prototype code into an application.

¿Por qué usar Prototyping en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Prototyping está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Prototyping en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/eliasstravik/skills/tree/main/skills/prototyping. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Prototyping?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Prototyping?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Prototyping con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Prototyping?

Sí. eliasstravik la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇