nocobase-app-plugin-template-print
Was er macht
Dieser Skill führt bei der Umsetzung des Vorlagendrucks in einer NocoBase-3-App und erzeugt aus einer Vorlage und Geschäftsdaten ein Dokument oder PDF. Er ist für Entwickler, die druckbare Dokumente mit Datensatzdaten brauchen.
Wann du ihn nutzt
- ✓Wenn du eine Word-, Excel- oder PowerPoint-Vorlage mit Datensatzdaten drucken willst.
- ✓Wenn du in einer NocoBase-App ein PDF aus einer Vorlage brauchst.
- ✓Wenn die Dokumentausgabe QR-Codes oder Anhänge braucht.
Link zum Skill
https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-template-print/skills/nocobase-app-plugin-template-print/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du eine Word-Vorlage für Bestellungen erstellen, die die Details jeder Bestellung einfügt und ein PDF exportiert?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Die KI plant die Funktion, nutzt die öffentliche Schnittstelle des gewählten Vorlagen-Renderers und baut Route und Berechtigungsprüfungen in der App. Danach prüft sie die Ausgabe im vorgesehenen Viewer.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Fügt das einen Druckbutton für normale Webseiten hinzu?
Nein. Es ist nicht für das normale Drucken im Browser gedacht.
Enthält das Paket einen Renderer?
Nein. Das Paket liefert nur Anleitung, die App baut die Funktion selbst.
Welche Formate werden unterstützt?
DOCX-, XLSX- und PPTX-Vorlagen, wie im Skill beschrieben.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 25k
- Platz im Ranking
- #10106
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
nocobase-app-development
25kHilft deinem Agenten, Seiten, Routen, Daten, Berechtigungen und Tests für eine vollständige NocoBase-3-Geschäftsanwendung zu bauen.
shadcn
25kHilft deinem Agenten, shadcn/ui-Komponenten in einem Webprojekt zu finden, hinzuzufügen, zu reparieren und zu gestalten, mit den offiziellen Dokumenten und Registern.
nocobase-app-plugin-development
25kHilft deinem Agenten, NocoBase-3-Plugins in einer bestehenden App zu erstellen und zu pflegen, einschließlich Server-, Client-, Datenbank- und Registrierungsteilen.
nocobase-app-upgrade
25kHilft deinem Agenten, eine NocoBase-App auf eine neuere Vorlagenversion zu aktualisieren, Vorlagenänderungen zu übernehmen und deine eigenen Arbeiten zu behalten.
Ähnliche Skills
feishu-doc
394kHilft deinem Agenten, Feishu-Cloud-Dokumente zu lesen, zu erstellen und zu bearbeiten, einschließlich Text, Bildern und Tabellen, über das Dokument-Werkzeug.
feishu-drive
394kLässt deinen Agenten Dateien in einem Feishu-Cloud-Ordner durchsehen, ordnen und kommentieren, der mit dem Bot geteilt wurde.
feishu-perm
394kHilft deinem Agenten zu prüfen und zu ändern, wer auf eine Feishu-Datei zugreifen darf, und wählt dabei die kleinste Berechtigung, die deine Anfrage erfüllt.