nocobase-app-plugin-template-print
What it does
This skill guides implementing template printing in a NocoBase 3 app, producing a document or PDF from a template and business data. It is for developers who need printable documents filled with record data.
When to use it
- ✓When you want to print a Word, Excel, or PowerPoint template filled with record data.
- ✓When you need a PDF made from a template in a NocoBase app.
- ✓When the document output needs QR codes or attachments.
Skill link
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-template-print/skills/nocobase-app-plugin-template-print/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you make a Word template for purchase orders that fills in each order's details and exports a PDF?”
5 new skills a week. 1 minute to read.
How it works
The AI plans the feature, uses the chosen template renderer's public interface, and builds the route and permission checks in the app. It then verifies the output in the intended viewer.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does this add a print button for ordinary web pages?
No. It is not for ordinary browser printing.
Does the package include a renderer?
No. The package gives guidance only, and the app builds the feature.
Which formats are covered?
DOCX, XLSX, and PPTX templates, as described in the skill.
Details
Original description by the author
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
Popularity
- GitHub stars
- 25k
- Ranking position
- #10106
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
nocobase-app-development
25kHelps your agent build pages, routes, data, permissions, and tests for a complete NocoBase 3 business application.
shadcn
25kHelps your agent find, add, fix, and style shadcn/ui components in a web project, using their official docs and registries.
nocobase-app-plugin-development
25kHelps your agent create and maintain NocoBase 3 plugins inside an existing app, including server, client, database, and registration parts.
nocobase-app-upgrade
25kHelps your agent upgrade a NocoBase app to a newer template release, bringing in template changes while keeping your own work.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.