Logotipo de Writing Reports

Writing Reports

Organización
zenobi-us
writing-reports

Writes a self-contained HTML evidence report with screenshots, captions, result badges and a clickable summary table. Use when work must be proved rather than claimed - manual test results, acceptance evidence, an audit, a migration check, a bug reproduction, or any hand-off that needs "here is the screenshot that shows it". Results in one portable directory that renders anywhere, with gaps and leftover test data named.

Descripción general

Editorzenobi-us
Repositoriodotfiles
Nombre de la habilidadwriting-reports
Estrellas
67
Forks
6
Archivos incluidos
10
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: 10

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

Instalación

Instala la habilidad de IA Writing Reports 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/zenobi-us/dotfiles/tree/master/files/devtools/agent/bundles/developer/skills/devtools/writing-reports
  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/zenobi-us/dotfiles.git /tmp/dotfiles
mkdir -p .claude/skills
cp -r /tmp/dotfiles/files/devtools/agent/bundles/developer/skills/devtools/writing-reports .claude/skills/writing-reports
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Writing Reports 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 Writing Reports 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 Writing Reports 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á.

writing-reports

A report is evidence. It states what was checked, shows the screenshot that proves each result, and names what was not covered.

A wall of terminal output is not a report. A Markdown file with no screenshots is not a report. This skill produces a directory that renders in any browser, survives being moved or zipped, and can be attached to a ticket.

When to use

  • Someone asks for a test report, acceptance evidence, QA results, or proof.
  • You finished manual testing and the result must outlive the chat session.
  • An audit, migration, or reproduction needs a durable record.
  • Another skill hands you evidence and a destination. The browser-acceptance-evidence skill does exactly this.

Do not use for a running commentary, a plan, or a design document. A report records what happened, in the past tense, with proof.

Core shape

<destination>/
  index.html              the report
  assets/theme/v1/        tokens.css, base.css     <- never edit
  assets/report/v1/       report.css               <- never edit
  assets/lightbox/v1/     lightbox.js              <- never edit
  shots/                  NN-slug.png
  files/                  companion artifacts the report links to

Every report carries its own copy of the four asset files, linked sibling-relative. That is deliberate: a report gets moved, zipped, downloaded and reopened from somewhere else. A report that only renders inside one directory tree is a report that dies on first contact with a reviewer.

files/ holds the same idea for everything else the report links to: the test plan it ran, the evidence file behind the verdicts, a script or a workflow a reader would re-run. Those artifacts usually live in a sibling directory. A copy goes in files/ so the link survives the move.

Rules

  • You MUST create the report with scripts/new-report.ts. Do not write a report page from scratch, and do not copy the template by hand.
  • You MUST NOT put a <style> block, a style="" attribute, or inline lightbox JavaScript into the page. Every rule lives in the linked CSS.
  • You MUST NOT write a colour into the page. Every colour is a theme token. A raw hex value outside <pre> and <code> fails validation.
  • You MUST NOT edit any file under assets/theme/v1/, assets/report/v1/, or assets/lightbox/v1/ — in a report or in this skill's template. Published reports link those files forever. A breaking change goes in a new v2 directory.
  • You MUST NOT change an asset path to ../ or ../../. The report is self-contained.
  • You MUST copy any companion artifact the report links to — a test plan, an evidence file, a script, a workflow — into <destination>/files/, and link it sibling-relative as files/<name>. You MUST NOT reach a sibling directory with ../, even for a link that is not an asset. A report is handed over on its own; a ../ link dies the first time it moves. Leave the original where it is and treat the copy as the reader's copy.
  • You MUST give every <img> a class, src, alt, width, and height. Without the size the page shifts while screenshots load and every jump link lands on the wrong section.
  • You MUST read each image's real pixel size with scripts/imgsize.ts. You MUST NOT guess a size, reuse the size of another shot, copy the template's placeholder numbers, or trust what a screenshot tool said it produced. The validator reads the file itself and fails on a mismatch. imgsize.ts reads PNG and JPEG headers directly, so it needs no external tool. You MUST NOT write your own size reader, wrapper or shim — if imgsize.ts cannot read a file, save that screenshot as PNG or tell the user, and do not type a number it did not give you.
  • You MUST class every styled node. Strict BEM. A node with no class gets no style.
  • You MUST use the vocabulary in references/markup.md. Do not invent a class. A layout the vocabulary cannot express is a reason to ask the user, not a reason to add a <style> block.
  • You MUST write a "Not covered" section, with an id="notdone", even when it is short. A report that hides its gaps is worth less than one that names them. State the risk each gap leaves.
  • You MUST pass scripts/validate-report.ts before you call the report done.
  • The scripts are TypeScript run by Bun through a mise x -- bun --install=fallback shebang. Run them directly. Do not invoke them with bash, sh, node or python.

CLI

Run scripts/report-cli.ts --help for the Crust router. Use new, validate, imgsize, and doctor. The individual script paths remain direct compatibility entry points.

Procedure

  1. MUST create the report directory:

    sh
    scripts/new-report.ts "<destination-dir>" "<TICKET> &mdash; what this proves"

    The destination must not exist. When another skill supplies a destination, use it verbatim.

  2. MUST save every screenshot into <destination>/shots/, named NN-slug.png. NN orders the shots as the reader meets them, and leaves gaps for later inserts: 10-login.png, 20-banner.png, 31-missing.png.

2b. MUST copy every companion artifact the report will link to into <destination>/files/:

sh
mkdir -p <destination>/files
cp <plan> <evidence> <workflows> <destination>/files/

Link them from the page as files/<name>. A report that points at a sibling directory stops working the moment someone zips it and sends it on.

  1. MUST read the real pixel sizes:

    sh
    scripts/imgsize.ts <destination>/shots/*.png

    It prints <name> <width> <height> per file, read from the file header.

  2. MUST write the result summary first, before any section. One row per check. Every cell of a row carries the same <a class="summary__link" href="#section">, which makes the whole row clickable with no JavaScript. Drop one anchor and that cell stops working.

  3. MUST give every section an id that a summary row targets. A summary row with no target is a broken promise.

  4. MUST pick the badge that tells the truth:

    BadgeUse for
    badge--passThe check passed.
    badge--failThe check failed. Say who owns the failure.
    badge--infoNot testable, not reached, or a neutral finding.
    badge--warnA bug found on the side, unrelated to the change.

    A check you could not run is badge--info, never badge--pass. "The code looks right" is not a pass. A pass needs a screenshot.

  5. SHOULD write a "Test data left behind" section when the work changed shared state: accounts, records, config overrides, running servers. Say what to delete and how.

  6. MUST validate:

    sh
    scripts/validate-report.ts <destination>/index.html

    Fix every line it prints. The script is the gate, not a suggestion.

  7. SHOULD open the page and click one screenshot, to confirm the lightbox opens and the caption reads correctly.

Common mistakes

MistakeWhy it breaksFix
Guessing width/heightThe page reflows on load; jump links land wrongRun scripts/imgsize.ts
A <style> block "just for this one bit"The report stops matching every other reportUse a vocabulary class
badge--pass on an unproven checkThe report lies, and lies are worse than gapsbadge--info plus a "Not covered" row
Caption repeats the alt textalt describes the picture; the caption says what it provesWrite two different sentences
No "Not covered" sectionThe reader assumes full coverageAlways write it
../plan.md in a linkThe report dies when moved or zipped on its ownCopy into files/, link files/plan.md
Editing report.css to fix one pageRestyles every past reportNew v2 directory, or ask

Reference

  • scripts/imgsize.ts — real pixel sizes from the file header.
  • references/markup.md — the class vocabulary, with an example of each block.
  • assets/report-template/index.html — the skeleton, with slot comments.
  • assets/report-template/assets/theme/v1/tokens.css — every colour, size and radius available.
  • assets/report-template/assets/lightbox/v1/lightbox.js — the header comment lists every data-* option the script tag accepts.

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 Writing Reports?

Writes a self-contained HTML evidence report with screenshots, captions, result badges and a clickable summary table. Use when work must be proved rather than claimed - manual test results, acceptance evidence, an audit, a migration check, a bug reproduction, or any hand-off that needs "here is the screenshot that shows it". Results in one portable directory that renders anywhere, with gaps and leftover test data named.

¿Por qué usar Writing Reports en TypingMind?

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

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/zenobi-us/dotfiles/tree/master/files/devtools/agent/bundles/developer/skills/devtools/writing-reports. 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 Writing Reports?

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 Writing Reports?

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

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