Logotipo de Proofreader Api

Proofreader Api

Comunidad
webmaxru
proofreader-api

Implements and debugs browser Proofreader API integrations in JavaScript or TypeScript web apps. Use when adding Proofreader availability checks, monitored model downloads, proofread flows, correction metadata handling, or permissions-policy checks for built-in proofreading. Don't use for generic prompt engineering, server-side LLM SDKs, or cloud AI services.

Add to TypingMind

Descripción general

Editorwebmaxru
Repositorioweb-ai-agent-skills
Nombre de la habilidadproofreader-api
Estrellas
53
Forks
5
Archivos incluidos
6
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: 6

    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 webmaxru en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Proofreader Api 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/webmaxru/web-ai-agent-skills/tree/main/skills/proofreader-api
  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/webmaxru/web-ai-agent-skills.git /tmp/web-ai-agent-skills
mkdir -p .claude/skills
cp -r /tmp/web-ai-agent-skills/skills/proofreader-api .claude/skills/proofreader-api
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Proofreader Api 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 Proofreader Api 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 Proofreader Api 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á.

Proofreader API

Procedures

Step 1: Identify the browser integration surface

  1. Inspect the workspace for browser entry points, editor or form UI handlers, and any existing built-in AI abstraction layer.
  2. Execute node scripts/find-proofreader-targets.mjs . to inventory likely frontend files and existing Proofreader API markers when a Node runtime is available.
  3. If a Node runtime is unavailable, inspect the nearest package.json, HTML entry point, and framework bootstrap files manually to identify the browser app boundary.
  4. If the workspace contains multiple frontend apps, prefer the app that contains the active text-entry route, editor component, or user-requested proofreading surface.
  5. If the inventory still leaves multiple plausible frontend targets, stop and ask which app should receive the Proofreader API integration.
  6. If the project is not a browser web app, stop and explain that this skill does not apply.

Step 2: Confirm API viability and option shape

  1. Read references/proofreader-reference.md before writing code.
  2. Read references/examples.md when the feature needs session creation, download monitoring, result rendering, or quota-aware preflight.
  3. Read references/compatibility.md when preview flags, browser channels, hardware requirements, iframe constraints, or browser-specific option gaps matter.
  4. Read references/troubleshooting.md when feature detection, availability, creation, or proofreading fails.
  5. Verify that the feature runs in a secure Window context and that the current frame is allowed to use the proofreader permissions-policy feature.
  6. Match availability() and create() option shapes exactly, especially for expectedInputLanguages, includeCorrectionTypes, includeCorrectionExplanations, and correctionExplanationLanguage when the target browser supports them.
  7. If the feature must run in a worker, on the server, or through a generic text-generation interface, stop and explain the platform mismatch.
  8. If the project uses TypeScript, add or preserve typings that cover only the Proofreader API surface actually used by the feature.

Step 3: Implement a guarded proofreader wrapper

  1. Read assets/proofreader-session.template.ts and adapt it to the framework, state model, and file layout in the workspace.
  2. Gate session creation behind Proofreader.availability() using the same non-transient create options that the runtime session will use.
  3. Treat availability() as a capability check, not a guarantee that creation will succeed without user activation, download time, or policy approval.
  4. Create sessions only after user activation when the target browser may need to start a model download.
  5. Use the monitor option during create() when the UI needs download progress.
  6. Use AbortController for cancelable create or proofread calls, and call destroy() when the proofreading UI no longer needs the session.
  7. Recreate the session instead of mutating option-dependent behavior after creation; session options are fixed per instance.
  8. If the task requires correction labels or explanations, keep browser-specific fallbacks explicit instead of assuming every preview implements the full specification option set.

Step 4: Wire UX and result handling

  1. Surface distinct states for missing APIs, unavailable devices, downloadable or downloading models, ready sessions, in-flight proofreading, canceled work, and hard failures.
  2. Keep a non-AI fallback for unsupported browsers, blocked frames, or devices that do not meet the current preview requirements.
  3. Render both correctedInput and the structured corrections array when the product needs visible diffs or selective acceptance.
  4. Use measureInputUsage() before expensive proofreading only when the feature needs quota-aware behavior or large-input preflight.
  5. Keep expected input languages explicit when the feature depends on supported language routing.
  6. Do not use Proofreader as a general chat, summarization, or rewriting surface; switch to the correct built-in API when the task is not proofreading.

Step 5: Validate behavior

  1. Execute node scripts/find-proofreader-targets.mjs . to confirm that the intended app boundary and Proofreader markers still resolve to the edited integration surface.
  2. Verify feature detection, secure-context checks, permissions-policy access, and availability() behavior before debugging deeper runtime failures.
  3. Test session creation with the exact options used in production, including download progress handling when the environment needs an initial model download.
  4. Confirm that proofread() returns the expected correctedInput and correction ranges for representative user text.
  5. If the integration uses measureInputUsage(), confirm that large inputs are rejected or trimmed before the browser throws quota-related failures.
  6. Confirm that cancellation stops work cleanly and that destroyed sessions are not reused.
  7. If the target environment depends on preview flags, origin trials, or channel-specific behavior, confirm the required browser state from references/compatibility.md before treating failures as application bugs.
  8. Run the workspace build, typecheck, or tests after editing.

Error Handling

  • If Proofreader is missing, keep a non-AI fallback and confirm that the environment satisfies the secure-context, browser, and preview requirements before changing product logic.
  • If availability() returns downloadable or downloading, require user-driven session creation before promising that proofreading is ready.
  • If create() or proofread() throws NotAllowedError, check permissions-policy constraints, missing user activation for downloads, browser policy restrictions, or user rejection.
  • If create() or proofread() throws NotSupportedError, align the requested languages and option set with the browser's supported combinations and remove unsupported preview-only assumptions.
  • If creation fails with OperationError, UnknownError, or another runtime exception, retry once only after confirming that device eligibility, storage, and browser flags still match references/compatibility.md.
  • If the feature must run in a worker or server context, stop and explain that the Proofreader API is a window-only browser API.

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 Proofreader Api?

Implements and debugs browser Proofreader API integrations in JavaScript or TypeScript web apps. Use when adding Proofreader availability checks, monitored model downloads, proofread flows, correction metadata handling, or permissions-policy checks for built-in proofreading. Don't use for generic prompt engineering, server-side LLM SDKs, or cloud AI services.

¿Por qué usar Proofreader Api en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Proofreader Api 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 Proofreader Api en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/webmaxru/web-ai-agent-skills/tree/main/skills/proofreader-api. 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 Proofreader Api?

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 Proofreader Api?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Proofreader Api 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 Proofreader Api?

Sí. webmaxru 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 👇