json-schema-manual
Qué hace
Esta herramienta crea un 'contrato' (llamado JSON Schema) para los datos. Se asegura de que los datos tengan el formato correcto, como una lista de campos que ya están definidos, sin inventar reglas.
Cuándo usarla
- ✓Cuando necesitas definir cómo deben ser los datos de un sistema.
- ✓Para validar si los datos que llegan a un sistema son correctos.
- ✓Para crear documentación de un archivo que se va a importar.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/json-schema-manual/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea un contrato de datos para la lista de campos de cliente que ya definimos.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La herramienta toma una lista de campos que ya has confirmado y construye un esquema de validación. Usa las reglas ya establecidas (por ejemplo, qué campos son obligatorios) y no añade otras nuevas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
JSON Schema Manual
What it is: a draft 2020-12 schema over a field list someone already confirmed - validating structure, never inventing business rules.
Overview
Produces JSON Schema from a confirmed canonical field list, for validation, API contracts, import and export structures, form generation, and schema documentation.
JSON Schema validates structure. It does not compute, decide or imply. This is a helper: it defines no table of its own and renders whatever field list the active module already confirmed, so the property names here are the names that module uses in its CSV, SQL, spreadsheet and Notion mapping.
Layer: n/a. Fits: every stage. Table code: n/a - it renders the active module's table.
When to Use This Skill
- I need a JSON Schema
- validate this payload before it goes in
- make an API contract for this table
- document the shape of this import file
- generate a form from this schema
- turn the agreed fields into a schema
Also use it when a module has confirmed a field list and the user wants the contract for the system that will read it, rather than the table itself.
Do not use it to add validation the business has not asked for. A schema is a promise about what a payload may contain, and every restriction in it rejects real data.
How It Works
Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.
Step 1 - Identify intent
Read the request and pick the intent before asking anything.
- "I need a schema" -> a strict or permissive schema, per Step 5.
- "something rejected my payload" -> review or fix: only the rule that caused it.
- "which fields are required" -> advice: answer from the confirmed field list, and offer the schema rather than emitting one.
Build only what was requested. A fix does not become a rewrite, and advice does not become a file.
Step 2 - Ask only what is missing
Reuse everything already confirmed, including by the module that owns the field list: the property names and types, the select options, the date and currency fields, the calculated fields, the statuses and the IDs. Never ask again for information the user has already supplied.
Ask one short question per message, and only when the answer changes the schema:
Q: Should the schema reject unknown fields, or allow them?
Nothing else is worth a question. Requiredness, options and formats come from the confirmed field list, not from a new round of asking.
Step 3 - Hold the internal context
Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.
module: json-schema-manual
intent: null # set in Step 1, one of: schema, review, fix, advice
source_module: null # the module whose field list this renders
draft: "https://json-schema.org/draft/2020-12/schema"
additional_properties: null # false | true - asked once, then held
example_instances: false
confirmed_facts: [] # only what the user actually said
open_questions: [] # the unanswered ones, in the order worth asking
source_module is the one field this skill needs that a module skill does not have. If it
is unknown, ask which table the contract is for, because a schema built from a guess
rejects the real data.
Step 4 - Recommend the smallest workflow
Build an already requested artifact without asking again. For advice-only requests, give a short recommendation and offer the relevant artifact.
Recommended approach: one object schema, one property per confirmed field, no
required entry the field list does not mark as required, and no enum the field list
does not define. Strictness only where the contract is closed.
Why this one: a schema's damage is asymmetric. A property it omits passes data nobody
reviewed; a property it marks required, or an enum it invents, rejects data that was
perfectly valid. Confirm the closed rules and stay silent on the rest.
Workflow: Field list confirmed -> Properties typed -> Requiredness applied from the source -> (validated) -> Published as the contract
Step 5 - Build only on request
Once the user asks, emit the schema as data only. Keep prose outside machine-readable data; provide file links and material limitations separately. Property names come from the confirmed field list, identical to the CSV, SQL,
…
Preguntas frecuentes
¿Qué es JSON Schema?
Es un formato que describe la estructura y los tipos de datos esperados, como un plano o una plantilla para datos JSON.
¿Para qué sirve un 'contrato de datos'?
Para asegurar que los sistemas que intercambian datos se entiendan entre sí y que los datos sean correctos, evitando errores.
¿Esta herramienta inventa reglas de validación?
No, solo usa las reglas (campos, tipos y obligatoriedad) que ya se han confirmado y definido de antemano.
Detalles
Descripción original del autor
JSON Schema Manual: draft 2020-12 validation schema from a confirmed field list, with required and enum values only where confirmed. Use for an API or import contract.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #4998
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
technical-documentation
394 milAyuda a tu agente a escribir y revisar documentación técnica clara y archivos de instrucciones para agentes, para que personas y herramientas de IA puedan seguirlos fácilmente.
architecture-decision-records
280 milHace que tu agente registre las decisiones importantes sobre la estructura del proyecto. Así se entiende el motivo de cada elección y se mantiene un historial claro.
code-tour
280 milPermite que tu agente cree recorridos paso a paso por el código, con referencias exactas a archivos y líneas. Útil para introducciones, explicaciones y revisiones.