SkillsGrove
SkillsGrove/Office documents/revolover00/Claude-clone/pdf-documents

pdf-documents

Installation

$npx skills add https://github.com/revolover00/Claude-clone --skill pdf-documents
$git clone --depth 1 https://github.com/revolover00/Claude-clone.git /tmp/Claude-clone && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-clone/skills/builtin/pdf-documents ~/.claude/skills/pdf-documents
Please install this Agent Skill for me: https://github.com/revolover00/Claude-clone/tree/1e465ee963ae98afa83b11bb6e2d3e8c912b2613/skills/builtin/pdf-documents — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MITGenerates publication-quality PDF documents with headings, paragraphs, bullet lists, tables, images, and page numbers. Use when users ask to create PDF files, printable summaries, invoices, brochures, or whitepapers. Features built-in RTL and Arabic font support. Triggers: create pdf, generate pdf, pdf document, export to pdf, make a pdf, إنشاء ملف pdf, مستند بي دي إف, تقرير pdf, وثيقة pdf.
The SKILL.md below is reproduced from revolover00/Claude-clone (commit 1e465ee) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026 Author. License: skills/builtin/pdf-documents/LICENSE.txt. Only the instructions file is shown; see the original repository for any 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

  1. 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" })
  2. Concise Text: Keep text scannable and well-spaced.

  3. 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"]] }
    ]
  }
}
View full license text (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.