Logotipo de Library Wiki

Library Wiki

Comunidad
llopresto87
library-wiki

Maintain a project-local, version-pinned wiki of every external dependency. Use whenever a new library is being added, an existing one is being upgraded, an idiom for using a library is being adopted, a pitfall is being discovered, or a wiki page is missing for code that already uses a library. The wiki is the source of truth this project consults before writing code that touches a library; agent memory of library APIs is unreliable across versions, so always check or build the wiki first.

Add to TypingMind

Descripción general

Editorllopresto87
RepositorioCypress
Nombre de la habilidadlibrary-wiki
Estrellas
113
Forks
6
Archivos incluidos
Solo instrucciones
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.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

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

Instalación

Instala la habilidad de IA Library Wiki 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/llopresto87/Cypress/tree/main/skills/library-wiki
  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/llopresto87/Cypress.git /tmp/Cypress
mkdir -p .claude/skills
cp -r /tmp/Cypress/skills/library-wiki .claude/skills/library-wiki
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Library Wiki 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 Library Wiki 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 Library Wiki 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á.

library-wiki

The wiki at docs/graph/libraries/ is this project's source of truth for every external dependency. Each library used directly by the project has a page; each page is local, version-pinned, sourced, and compounding.

This skill is the discipline of building and maintaining those pages. It is invoked from the ingest-library protocol and any time an agent uses a library and realizes the page is missing or stale.

When to apply this skill

  • A new dependency is being added → create a page.
  • A research-scout draft is staged → file and finalize it (Workflow below), at the close-out of the pass that drafted it.
  • A pinned version is bumped → refresh the page.
  • A new idiom for using a library was just adopted → record it.
  • An agent ran into a behavior the page doesn't cover → add a pitfall entry, dated.
  • A security advisory affects a wikified library → update §7 and notify grill.md §11.
  • The page is older than the project's review cadence → refresh.

The discipline

1. The wiki is the project's distillation

A wiki page is the narrow slice of the library that this project uses, plus the project-local idioms, pitfalls, and history. The whole upstream goes in docs/graph/sources/raw/ and docs/graph/sources/normalized/; the page in docs/graph/libraries/ is the project's distillation.

If a wiki page reads like a tutorial for someone who has never used the library, it has drifted from the discipline: tutorials belong upstream.

2. Pin to a version

Every page pins the exact version the project depends on. "Latest" is not a version. When the project upgrades, the page updates the pin and adds an §8 (Upgrade path) entry summarizing what changed between the previous and current pin.

A pin is not by itself a currency claim. Where the page says the dependency is current, it names the version and the support phase of the line that version belongs to. "On the latest release" and "supported" are two claims: a line that has left active support satisfies the first while failing the second, and a pin recorded without its phase reads as currency to every later reader. Nor is a pin what runs: it is what the project declares. Where the project deploys to more than one environment, a bump the page records stays intended until the running version is measured in each one, and the page says which environments it measured; a declared pin, and even a version endpoint the platform exposes, can disagree with what is deployed. When two measurements disagree, both stay on the page with their dates (protocol.verify-disagreement, mutable subjects).

3. Cite every claim

Every claim on the page has a citation in §10 (References): a URL, a retrieval date, and (when the source is paywalled or transient) a local snapshot path in docs/graph/sources/raw/.

Use upstream text as a short quote, in quotes, with its citation, or rewrite the idea in the project's own words; close paraphrase is neither: it copies upstream text without attribution. Most pages need very little upstream text.

4. Compound

§3 (Used API surface) lists the names the codebase actually uses, one line added when a new file starts using a new name. §4 records idioms once they are adopted, and §5 records pitfalls once they are hit, each dated. Each section grows when the project meets the thing.

The page grows with the project. A bare page that says only "we use library X for Y, install with Z" is a perfectly acceptable starting point. A page left static diverges from the code within weeks: the docs-librarian keeps each page current at close-out, and the implementer and reviewer name wiki drift in their handback.

5. Validate before publishing

A wiki page becomes authoritative once a smoke test confirms the pinned version works. The smoke test:

  • Imports the library at the pin.
  • Calls one or two of the names in §3.
  • Runs in the project's normal test harness.

If the smoke test fails, the page is wrong (or the install is wrong); fix one of them before promoting the page.

Workflow

Creating and refreshing a page (which phase, which owner, which spawn waits for which) are ingest-library.flow and ingest-library.refresh in docs/graph/protocols/ingest-library.md. What this skill adds to the scout's draft, section by section: §0 (Pin) and §1 (Role) from the lockfile and the architect's brief; §2 (Install) from a command actually run in a clean environment, recorded exactly as it worked; §3 (Used API surface) from the current code that uses the library, or, when the page precedes the code, the names from the brief marked "planned"; §10 (References) from the sources research-scout staged in docs/graph/sources/. The smoke test that makes the page authoritative is the tester's phase of the same pass.

Depth when adopting an existing project

Index every direct dependency from manifests. Create a detailed library page during initialization when the dependency is architecturally significant, security/operations critical, unusual, or used across several subsystems. Each page answers how this project uses it, where configuration lives, relevant constraints, sharp edges, and verification status.

Installed versions come from manifests/locks. Upstream lifecycle, compatibility, or current guidance requires a primary upstream source; otherwise mark it pending rather than guessing. Record consulted sources in docs/graph/sources/.

When to also create a best-practices/ page

The library wiki is per-dependency. When a concern spans multiple libraries and needs a cohesive guidance (e.g. "how this project handles HTTP errors across our two HTTP clients"), that's a docs/graph/best-practices/<concern>.md. It links to the relevant wiki pages.

Reference files

  • docs/graph/templates/library-page.template.md: the page template.
  • docs/graph/protocols/ingest-library.md: the ingest workflow.
  • docs/graph/agents/09-docs-librarian.md: the agent that owns the wiki.
  • docs/graph/agents/10-research-scout.md: the agent that fetches sources.

Preguntas frecuentes

¿Qué hace la habilidad de IA Library Wiki?

Maintain a project-local, version-pinned wiki of every external dependency. Use whenever a new library is being added, an existing one is being upgraded, an idiom for using a library is being adopted, a pitfall is being discovered, or a wiki page is missing for code that already uses a library. The wiki is the source of truth this project consults before writing code that touches a library; agent memory of library APIs is unreliable across versions, so always check or build the wiki first.

¿Por qué usar Library Wiki en TypingMind?

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

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/llopresto87/Cypress/tree/main/skills/library-wiki. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Library Wiki?

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 Library Wiki?

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

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