Logotipo de Naming Gate

Naming Gate

Comunidad
kirillgreen
naming-gate

Enforce a filename convention for notes, docs, research, plans and transcripts at the moment a file is created, instead of documenting it and hoping. Ships a write-time PreToolUse hook that denies a non-conforming Write, a lint that is the single negative list both the hook and any periodic sweep call, and a per-folder config so the policy is data rather than code. Use when naming or renaming an artefact file, when a write was blocked by the naming gate, when auditing an existing folder for drift ("check the names in notes/"), when adding a folder to the gate, or when setting the convention up for a project. Do NOT use for source-code identifiers, repo/branch names, or anything the language's own convention already governs.

Descripción general

Editorkirillgreen
Repositorioskills
Nombre de la habilidadnaming-gate
Estrellas
25
Forks
2
Archivos incluidos
5
LicenciaCC0-1.0
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: 5

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

Instalación

Instala la habilidad de IA Naming Gate 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/kirillgreen/skills/tree/main/naming-gate
  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/kirillgreen/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/naming-gate .claude/skills/naming-gate
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Naming Gate 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 Naming Gate 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 Naming Gate 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á.

naming-gate — a filename convention with teeth

Two artefacts and one config:

FileWhat it is
references/grammar.mdthe convention itself — an example, meant to be replaced
naming-lint.shthe negative list: the enumerated ways a name breaks the grammar
naming-gate.sha PreToolUse hook that denies a Write whose name trips the list
naming.confwhich folder implies which genre, which roots are gated, what a deny says

The grammar is the replaceable part. The machinery is the point.

Naming a file

Read the grammar document — references/grammar.md, or whatever the doc row of naming.conf points at, which is what a deny message names. The example convention is:

⟨key⟩ ⟨Scope⟩ · ⟨Type⟩ — ⟨title⟩ (⟨qualifier⟩).ext
2026-09-05 Payments — reconciliation gaps in the nightly job.md

Two things trip agents up more than the formula does:

  1. A folder's default genre is implicit. In a folder that only holds plans, writing · Plan into the name is noise, and the lint reports it as redundant-type. Check the default-genre table before adding a Type.
  2. The parse regex is not a validator. Its title slot is a catch-all, so it happily accepts 2026-09-05-quarterly-review. Matching it proves nothing. If you want to know whether a name is legal, run the lint.

Check a name before writing it — no file needs to exist:

bash
bash naming-lint.sh -n "$HOME/notes/plans/2026-09-05 Payments — nightly job.md"

Silence and exit 0 mean it is fine. Otherwise you get one path<TAB>code line per problem.

When the gate blocks a write

The deny message names the codes it found and the canonical form for that exact folder. Rename and write again. That is the whole remedy in almost every case.

Do not reach for the escape hatch. touch /tmp/.naming-gate-allow is a one-shot the human creates when a name is a deliberate exception; an agent that creates its own escape hatch has disabled its own gate, and nothing in the code can stop it — only this instruction can. If you believe the name is right and the gate is wrong, say so and let the human decide.

Same for /tmp/.naming-gate-paused (a 4-hour pause) — the human's switch, not yours.

Sweeping a folder

bash
bash naming-lint.sh ~/notes            # every *.md, recursive
bash naming-lint.sh -a -q ~/notes      # every file; summary line only

Exit 1 means findings. Hidden files, ALLCAPS singletons (README.md, INDEX.md, *_META.md …), templates/, *-baseline/ bundles and .claude/ are skipped by design — they are named by their role, not by the grammar.

Adding a folder to the gate

The invariant, and it is not negotiable:

A root may only be governed once its existing files already lint clean.

Govern a root whose neighbours are non-conforming and the gate starts denying names that match every file around them. That is how a gate gets switched off on its second day. So:

  1. bash naming-lint.sh <root> → must print 0 finding(s).
  2. Not clean? Either rename the stragglers first, or exclude the sub-folder that is legitimately different — tool exports, frozen versions — with a governed … no row above the catch-all. First match wins.
  3. Add governed <glob> yes, then re-run tests/run.sh: the suite drives every yes root from the config, so the new one is covered without writing a test.

Editing the config

naming.conf is TAB-separated, four record types (genre, governed, form, doc), first match wins inside each type. Its header documents the format; two traps are worth repeating:

  • A glob is matched with bash case. ~/ means $HOME, but | is not alternation — inside a variable expansion it is a literal, so a row written with | matches nothing and reports no error. Write two rows.
  • A genre row and the table in the grammar document are one fact in two places. Change both. tests/run.sh fails if they disagree in either direction, including when the folder still matches but the genre no longer does.

After any config change:

bash
bash tests/run.sh

What this deliberately does not check

A Type that is missing where the folder has no default genre. Telling a Type word from a title word needs the closed vocabulary and still guesses, and this list feeds a blocking hook where a false positive costs real work. A human reading a sweep catches those.

A file created through Bash (cat > x.md, mv, a script) is also invisible to the hook — the gate sees Write, not shell. The periodic sweep is what covers that gap.

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 Naming Gate?

Enforce a filename convention for notes, docs, research, plans and transcripts at the moment a file is created, instead of documenting it and hoping. Ships a write-time PreToolUse hook that denies a non-conforming Write, a lint that is the single negative list both the hook and any periodic sweep call, and a per-folder config so the policy is data rather than code. Use when naming or renaming an artefact file, when a write was blocked by the naming gate, when auditing an existing folder for drift ("check the names in notes/"), when adding a folder to the gate, or when setting the convention...

¿Por qué usar Naming Gate en TypingMind?

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

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/kirillgreen/skills/tree/main/naming-gate. 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 Naming Gate?

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 Naming Gate?

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

Sí. kirillgreen la ha publicado en GitHub bajo la licencia CC0-1.0. 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 👇