원클릭으로
generate-docx
Generate a Word document from ingested source documents using the agnostic Document tree (CommonMark/Pandoc-aligned)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate a Word document from ingested source documents using the agnostic Document tree (CommonMark/Pandoc-aligned)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate a single Document (Word/PowerPoint) from all source documents in a collection, with attributions back to each source
Generate a PDF from ingested source documents using the agnostic Document tree
Generate a PowerPoint deck from ingested source documents using the agnostic Document tree (parametrised by slide_count, style, audience, tone)
Generate an Excel workbook (.xlsx) from ingested source documents — tabular with charts, formulas, KPI cells
Find PII (emails, phones, SSN, credit cards, IBANs, names, addresses, DOB) in an ingested document; return redaction plan
Extract tabular data from one or more source documents and populate a saved xlsx template — composes extract-tabular-data + xlsx-template-apply
| name | generate-docx |
| description | Generate a Word document from ingested source documents using the agnostic Document tree (CommonMark/Pandoc-aligned) |
| model | deepseek/deepseek-v4-pro |
| tier | pro |
| inputs | [{"name":"source_document_ids","type":"list[str]","required":true,"description":"Prisma Document.id values to ground generation in"},{"name":"brief","type":"str","required":true,"description":"What the user wants generated"},{"name":"style","type":"str","required":false,"description":"Tone/style hint (e.g. \"clinical\", \"casual\", \"technical\")"},{"name":"audience","type":"str","required":false,"description":"Target reader description"},{"name":"target_length","type":"str","required":false,"description":"short | medium | long (default: medium)"}] |
| outputs | [{"name":"file_path","type":"str"},{"name":"file_url","type":"str"},{"name":"title","type":"str"},{"name":"node_count","type":"int"},{"name":"model","type":"str"},{"name":"source_document_ids","type":"list[str]"}] |
Generates a Microsoft Word (.docx) document from one or more ingested
source documents stored in the OfficePlane database.
modules → lessons → blocks schema.Document dataclass tree via parse_document..docx bytes via render_docx./data/workspaces/<job_id>/output.docx.The LLM must return a strict JSON object conforming to the agnostic Document schema:
{
"type": "document",
"schema_version": "1.0",
"meta": {"title": "My Document", "language": "en"},
"children": [
{
"type": "section",
"id": "s1",
"level": 1,
"heading": "Introduction",
"children": [
{"type": "paragraph", "text": "Opening prose here."},
{
"type": "list",
"ordered": false,
"items": [
{"type": "paragraph", "text": "First bullet"},
{"type": "paragraph", "text": "Second bullet"}
]
}
]
}
],
"attributions": [
{
"node_id": "s1",
"document_id": "<source-doc-uuid>",
"section_id": "<source-section-id>"
}
]
}
Key rules:
level 1..6 to indicate depth.heading, paragraph, list, table, figure, code,
callout, quote, divider."modules" or "lessons" — use nested sections instead.id (short string).document_id.{
"type": "document",
"meta": {"title": "BP Primer"},
"children": [
{
"type": "section",
"id": "intro",
"level": 1,
"heading": "Why Measure Blood Pressure",
"children": [
{"type": "paragraph", "text": "Early detection of hypertension saves lives."}
]
}
],
"attributions": [
{"node_id": "intro", "document_id": "doc-abc123"}
]
}