본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드25k · #10106

nocobase-app-plugin-template-print

하는 일

이 스킬은 NocoBase 3 앱에서 템플릿 인쇄 기능을 구현하는 작업을 안내합니다. 템플릿과 업무 데이터를 바탕으로 문서나 PDF를 만듭니다. 레코드 데이터를 채운 인쇄 가능한 문서가 필요한 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓레코드 데이터가 채워진 Word, Excel, PowerPoint 템플릿을 인쇄하고 싶을 때.
  • ✓NocoBase 앱에서 템플릿으로 PDF를 만들어야 할 때.
  • ✓문서 결과물에 QR 코드나 첨부 파일이 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nocobase/nocobase/blob/v3-develop/packages/plugins/app-plugin-template-print/skills/nocobase-app-plugin-template-print/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“구매 주문의 세부 정보를 채우고 PDF로 내보내는 Word 템플릿을 만들어 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 기능을 계획하고, 선택한 템플릿 렌더러의 공개 인터페이스를 사용하며, 앱에 라우트와 권한 확인을 만듭니다. 그다음 의도한 뷰어에서 결과를 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

일반 웹 페이지용 인쇄 버튼을 추가하나요?

아니요. 일반 브라우저 인쇄용이 아닙니다.

패키지에 렌더러가 포함되어 있나요?

아니요. 패키지는 안내만 제공하며, 기능은 앱이 만듭니다.

어떤 형식을 다루나요?

스킬에 설명된 DOCX, XLSX, PPTX 템플릿을 다룹니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
25k
순위
#10106
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬