Die folgende SKILL.md ist aus
revolover00/Claude-clone (Commit
1e465ee) unter der Lizenz
MIT wiedergegeben. Der Text ist unverändert; lediglich die Metadaten im Dateikopf sind weggelassen, Bilder werden als Links angezeigt und sehr lange Dateien werden gekürzt. Copyright 2026 Author. Lizenz:
skills/builtin/pdf-documents/LICENSE.txt. Es wird nur die Anleitungsdatei angezeigt; etwaige Skripte finden Sie im Original-Repository.
PDF Documents Creation (.pdf)
Use the server function create_document({ format: "pdf", title, spec }) to generate a standalone PDF document.
How to fill the spec
Structure First: Organize pages cleanly:
- Clear Title
- Section headings (
level: 1 | 2 | 3)
- Paragraphs with
bold: true or regular text
- Bullet lists (
items: string[])
- Tables (
headers: string[], rows: string[][])
- Page numbers (
pageNumbers: true)
- Explicit page breaks (
{ "type": "page_break" })
Concise Text: Keep text scannable and well-spaced.
Arabic & RTL Handling:
- For Arabic text, set
rtl: true.
- The PDF generator automatically applies Arabic font embedding (Kacst) and right-to-left layout alignment.
Example Call
{
"format": "pdf",
"title": "Business Proposal Summary",
"spec": {
"rtl": false,
"pageNumbers": true,
"elements": [
{ "type": "heading", "level": 1, "text": "Project Overview" },
{ "type": "paragraph", "text": "This proposal provides an end-to-end roadmap for modernization." },
{ "type": "bullet_list", "items": ["Phase 1: Architecture audit", "Phase 2: Cloud migration"] },
{ "type": "table", "headers": ["Phase", "Duration", "Cost"], "rows": [["Phase 1", "2 weeks", "$8,000"], ["Phase 2", "6 weeks", "$24,000"]] }
]
}
}
Vollständigen Lizenztext ansehen (MIT)
MIT License
Copyright (c) 2026 Author
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.