Le SKILL.md ci-dessous est reproduit depuis
revolover00/Claude-clone (commit
1e465ee) sous licence
MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 Author. Licence :
skills/builtin/pdf-documents/LICENSE.txt. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.
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"]] }
]
}
}
Voir le texte intégral de la licence (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.