Saltar al contenido
Skillpedia
PDF, Word y diapositivas25 mil · #10106

nocobase-app-plugin-template-print

Qué hace

Esta skill guía la implementación de la impresión con plantillas en una aplicación NocoBase 3, generando un documento o un PDF a partir de una plantilla y de datos de negocio. Es para desarrolladores que necesitan documentos imprimibles rellenados con datos de registros.

Cuándo usarla

  • ✓Cuando quieres imprimir una plantilla de Word, Excel o PowerPoint rellenada con datos de un registro.
  • ✓Cuando necesitas un PDF creado a partir de una plantilla en una aplicación NocoBase.
  • ✓Cuando la salida del documento necesita códigos QR o adjuntos.

Link de la skill

https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-template-print/skills/nocobase-app-plugin-template-print/SKILL.md

Có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

Usa esta skill para ayudarme: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-template-print/skills/nocobase-app-plugin-template-print/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes hacer una plantilla de Word para las órdenes de compra que rellene los datos de cada pedido y exporte un PDF?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA planifica la función, usa la interfaz pública del motor de plantillas elegido y construye la ruta y las comprobaciones de permisos en la aplicación. Después verifica el resultado en el visor previsto.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Goal

Implement or debug an App-owned NocoBase 3 template-printing workflow that produces an authorized document or PDF from a DOCX, XLSX, or PPTX template and business data, with the selected feature branches verified in the intended viewer and deployment.

Scope

This package provides implementation guidance only. It exports no rendering service, route, database collection, or Client/Server plugin. The App or business plugin owns the feature you implement. There is no pre-existing template-print API to call after installing this package.

Non-Goals

  • Do not implement ordinary browser page printing or silent physical-printer access.
  • Do not assume this package installs a renderer, creates a route or collection, or supplies Client/Server runtime registration.
  • Use only the installed App's v3 contracts and the selected renderer's documented public APIs.
  • Do not add an undocumented renderer adapter or claim format support that has not been verified.

Input Contract

Input Required Default Validation Clarification Question
action yes implement for a new feature; debug when a concrete failure is reported enum: implement, debug "Should I implement the workflow or diagnose an existing one?"
format yes use the supplied template extension; otherwise start with docx enum: docx, xlsx, pptx; must match the actual template "Which template format must be supported?"
output no same-format document download; add pdf only when requested enum: document, pdf, printable-pdf "Should the result be the source format, a PDF download, or a printable PDF?"
data-scope yes when business data is rendered one record for a record request; otherwise ask before selecting a broader scope enum: record, selected, current-page, all-filtered; explicit maximum "Which records may be printed?"
template-ownership no fixed App-owned asset unless managed uploads are requested enum: fixed-asset, managed-upload; separate manage/use permissions "Is the template fixed by the App or managed by users?"
locale-timezone no the App's current locale and timezone validate against the App contract before querying or formatting "Which locale and timezone should labels and dates use?"

The supplied template, App instructions, installed package versions, and existing business code are authoritative for details not listed here. If the user says "you decide", use a fixed DOCX asset, one representative record with its required child data, same-format document output, and one authorized download. Do not add XLSX, PPTX, PDF conversion, or managed template uploads in the same first slice unless requested.

Mandatory Clarification Gate

Resolve the target App, actual template format, output mode, data scope, template ownership, authorization boundary, and converter prerequisites before adding or changing an endpoint, data query, schema, dependency, or file-processing path. If a required input is missing or ambiguous, stop and ask; do not mutate code or storage before the answer. Max clarification rounds: 2. Max questions per round: 3.

Inspect the target App's instructions, installed versions, server composition, business data access, file storage, and action UI. Use its available nocobase-app-development Skill for v3 composition; use the installed auth

Preguntas frecuentes

¿Esto añade un botón de impresión para páginas web normales?

No. No sirve para la impresión normal del navegador.

¿El paquete incluye un motor de renderizado?

No. El paquete solo da orientación, y la aplicación construye la función.

¿Qué formatos cubre?

Plantillas DOCX, XLSX y PPTX, tal como describe la skill.

Detalles

Descripción original del autor

Use when implementing or debugging NocoBase 3 template printing with DOCX, XLSX, or PPTX templates and business data, including record/list output, attachments, QR codes, or PDF conversion; ordinary browser page printing is outside this workflow.

repo: nocobase/nocobase

Popularidad

Estrellas en GitHub
25 mil
Posición en el ranking
#10106
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas